Linker woes on AIX
Andrea Campi <[email protected]> Thu, 9 Jan 2003 17:12:54 +0100
| Newsgroups | gmane.network.beep.roadrunner.general |
|---|---|
| Organization | I.NET S.p.A. |
| Message-ID | <[email protected]> |
Hi Jonas and all,
this has been a very lousy day; I've battling with linker trouble
all day...
What's happening is that on AIX (but maybe also on other platforms),
linking -lglib-2.0 doesn't automatically bring in -lgobject-2.0 -
but the linker won't warn you. As a result tls, sasl etc libraries
will have unresolved symbols, and any app which links them will die
at startup.
I know this is not a general problem, and possibly very few people
will see this issue. However, there IS a general solution which won't
hurt anybody:
--- roadrunner.pc.in.orig Thu Jan 9 17:10:50 2003
+++ roadrunner.pc.in Thu Jan 9 17:11:03 2003
@@ -5,7 +5,7 @@
Name: librr
Description: a BEEP implementation
-Requires: glib-2.0 libxml-2.0
+Requires: glib-2.0 gobject-2.0 libxml-2.0
Version: @VERSION@
Libs: -L${libdir} -lrr-0.9
Cflags: -I${includedir}/roadrunner-1.0
What's your opinion?
Bye,
Andrea
--
Andrea Campi mailto:[email protected]
I.NET S.p.A. - BT Ignite http://www.inet.it
Technical Dept. - R&D phone: +39 02 32863 ext 1
v. Darwin, 85 - I-20019 fax: +39 02 32863 ext 7705
Settimo Milanese (MI), Italy