From: Ludovic Brenta <ludovic.brenta@skynet.be>
Subject: Re: gnatlink error on Debian Woody
Date: 11 Nov 2003 13:25:13 +0100
Date: 2003-11-11T13:25:13+01:00 [thread overview]
Message-ID: <m3n0b3drdi.fsf@insalien.org> (raw)
In-Reply-To: opryg04juoz12uz9@news.onlinehome.de
Frank Piron <nospam@konad.net> writes:
> Hi,
> if i try to link my ocitest.adb with
> oracle's oci shared library on a debian
> system, i get:
>
> > gnatmake -L$ORACLE_HOME/lib ocitest.adb -largs -lclntsh
> ld: cannot find -laddr2line
> gnatlink: cannot call /usr/bin/gnatgcc
> gnatmake: *** link failed.
>
> On windows (with -loci of course) all works fine.
> Is it a debian issue?
> Frank Piron
Is clntsh a shared library? If so, could you run ldd on it and report
the results? Perhaps it is linked against libaddr2line, which is not
part of Debian because it came from a very old binutils.
If libclntsh.so is indeed linked against libaddr2line, you need to
either relink libclntsh.so without libaddr2line, or use the binary
gnat distribution from ACT; it does include libaddr2line. Then, of
course, you resulting executable will require libaddr2line and you
will need to consider any distribution issues that may arise.
--
Ludovic Brenta.
next prev parent reply other threads:[~2003-11-11 12:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-11 11:34 gnatlink error on Debian Woody Frank Piron
2003-11-11 12:16 ` Dmitriy Anisimkov
2003-11-11 13:44 ` Frank Piron
2003-11-11 16:00 ` Frank Piron
2003-11-11 16:10 ` Preben Randhol
2003-11-11 22:41 ` Ludovic Brenta
2003-11-11 12:25 ` Ludovic Brenta [this message]
2003-11-11 12:48 ` Frank Piron
2003-11-11 13:34 ` Preben Randhol
2003-11-11 13:48 ` Frank Piron
2003-11-11 16:07 ` Frank Piron
2003-11-11 22:56 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox