From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f8dc8a429208e220 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!aioe.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GNAColl SQLite Binding Installation Problem (Mac, Snow Leopard) Date: Wed, 10 Aug 2011 22:52:02 +0100 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: SptRn4/nB6/EZ1vi/h8RlA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:ZPgY9p7H8cKyB/RUACo+wvGhtKE= Xref: g2news2.google.com comp.lang.ada:21487 Date: 2011-08-10T22:52:02+01:00 List-Id: Alexander Korolev writes: > I've installed GNATColl as a part of GNAT GPL 5 up until "make test" > step. What is GNAT GPL 5? I guess you mean GNAT GPL 2011? Which version of Mac OS X are you running? > There is no single error on steps > "configure" > ./configure --prefix=/usr/local/gnatcoll --with-sqlite > > and "make" > > make > > Tried to make a test > > make test > > got errors related to libgnatcoll_sqlite.dylib > > ----- > ! dyld: Library not loaded: @rpath/libgnatcoll_sqlite.dylib > ! Referenced from: /Developer/adacore/AdaCore/GNATcoll/gnatcoll- > gpl-2011-src/testsuite/../local_install/bin/gnatcoll_db2ada > ! Reason: image not found > > ---- > I wasn't able to find the file libgnatcoll_sqlite.dylib. Did anybody > experience the same or similar or have any guess. It's in gnatcoll-gpl-2011-src/src/lib/sqlite/relocatable/. I don't see why dyld didn't find it at runtime, unless perhaps it's confused because the .dylib is a symlink (because gnatcoll isn't fully up to speed with shared libraries on the Mac). But then why would it work if calling gnatcoll_db2ada in its original built location? I'd recommend that you configure for static libraries only (--disable-shared). NB, all, this is only for Mac users!