comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: GNAColl SQLite Binding Installation Problem (Mac, Snow Leopard)
Date: Wed, 10 Aug 2011 22:52:02 +0100
Date: 2011-08-10T22:52:02+01:00	[thread overview]
Message-ID: <m2aabh2av1.fsf@pushface.org> (raw)
In-Reply-To: bcf419e4-00af-424d-912d-2dd8608c45a7@e20g2000prf.googlegroups.com

Alexander Korolev <antonovkablog@gmail.com> 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!



  reply	other threads:[~2011-08-10 21:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-10 18:48 GNAColl SQLite Binding Installation Problem (Mac, Snow Leopard) Alexander Korolev
2011-08-10 21:52 ` Simon Wright [this message]
2011-08-11  7:20   ` Alexander Korolev
2011-08-11 12:04     ` Simon Wright
2011-08-11 12:52       ` Dmitry A. Kazakov
2011-08-13 16:51         ` Alexander Korolev
2011-08-13 19:09           ` Dmitry A. Kazakov
2011-08-13 17:05         ` Simon Wright
2011-08-13 19:16           ` Dmitry A. Kazakov
2011-08-13 23:10             ` Simon Wright
2011-08-13 16:50       ` Alexander Korolev
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox