[openamq-dev] client application link problem
Pieter Hintjens
ph at imatix.com
Tue Dec 18 10:58:47 CET 2007
On Dec 10, 2007 10:03 AM, blog <blog at yankeeboysoftware.com> wrote:
> Any idea why -lgsl.a is being magically converted to /usr/lib/libgsl.so
> (which does not exist) ? Is this a known issue, if so do I work around
> it ?
I suspect some voodoo in gcc, the problem occurs in other projects -
e.g. http://sourceware.org/ml/gsl-discuss/2002-q3/msg00125.html.
It obviously only affects certain versions of gcc and/or certain
operating system configurations, since we've never had this problem
reported before.
A simple but not very elegant fix is to delete the libgsl.a file from
$IBASE/lib. The 'c' compile script will list all libraries it finds
in that directory; if libgsl.a is missing, it won't include it, and
the problem won't happen. We don't generally need GSL functions in
AMQP client applications. GSL is the code generation engine we use.
-Pieter
More information about the openamq-dev
mailing list