Re: Build problem with linc->ORBit2->libbonoboui. I'm stuck :(



On Sat, Apr 26, 2003 at 09:19:18AM +0200, jeroen wrote:
> For some reason libbonboui's .la file points to /usr/lib/liblinc.so and
> /usr/lib/libxml2.so instead of your own custom prefix. Manually editing
> the .la files helps. I have no idea why the .la files are wrong though.

Oh, wow. Excellent debugging, sir. :-)

I have seen this before, too, so fixing it is not too hard -- it is a
problem with the order of libraries in the variables passed to libtool.
Of course, the solution is far from elegant.

Michael: Can the attached tiny patch be applied, please. It fixes this
problem (yes, I know libtool is horrible, but we'll take that as read).

Cheers,
Malcolm

-- 
He who laughs last thinks slowest.
? changes.diff
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/libbonoboui/bonobo/Makefile.am,v
retrieving revision 1.205
diff -u -r1.205 Makefile.am
--- Makefile.am	17 Apr 2003 17:54:26 -0000	1.205
+++ Makefile.am	26 Apr 2003 09:08:30 -0000
@@ -79,7 +79,7 @@
 	-no-undefined
 
 libbonoboui_2_la_LIBADD = \
-	-lpopt $(BONOBOUI_LIBS)
+	$(BONOBOUI_LIBS) -lpopt
 
 libbonoboui_2_la_SOURCES = \
 	bonobo-a11y.c				\


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]