From: Dave M. <da...@da...> - 2003-07-29 13:53:54
|
On Tue, 2003-07-29 at 10:31, Tony Graham wrote: > Dave Malcolm wrote at 26 Jul 2003 17:19:37 +0000: > > Hope the above makes sense! Is there a simple fix I've missed? Is it > > possible to statically link PangoPDF inside xmlroff without exporting > > its symbols to fix the problem? (I don't know enough about "so" files to > > implement this myself). > > I was about to suggest statically linking PangoPDF to libfo. > > Add '--enable-static --disable-shared' to the PangoPDF 'configure' > command line. You may also need to add > '--with-included-modules=basic-gp'. OK - I just tried that. My "patched to link with libfo" version of gnome-hello still dies deep inside GTK+, in the same way as before. I ran ldd on the executable and grepped for pango, and couldn't see any direct pangopdf references. However, running nm of the libfo library shows up lots of undefined "pango" symbols, so somehow I suppose the libfo linkage is pulling in a load of pango symbols from pangopdf which clash with the pango symbols from the "real" pango. > > You may also need to add '--enable-static --disable-shared' to the > xmlroff 'configure' command line, but I suggest trying it without > first. OK - am now doing a full rebuild of xmlroff with those options (having cleaned out my /usr/local/lib). I'll post the results... Dave Malcolm |