From: Tony G. <Ton...@Su...> - 2003-11-14 11:07:40
|
I have got my PangoPDF setup into a state where I can't compile all of PangoPDF on a system that doesn't already have PangoPDF installed. Compiling pangogp-to-pdf andd pangopdf-querymodules fails because the linker can't find an installed libpango-1.0.la: ------------------------------------------------------------ make[3]: Entering directory `/usr/local/src/xslfo/pangopdf/examples' /bin/sh ../libtool --mode=link gcc -g -O2 -Wall -o pangogp-to-pdf pangogp-to-pdf.o ../pango/libpango-1.0.la ../pango/libpangogp-1.0.la ../pango/libpangox-1.0.la -Wl,--export-dynamic -L/usr/local/lib -lgnomeprint-2-2 -lart_lgpl_2 -lxml2 -lz -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 libtool: link: cannot find the library `/usr/local/lib/pangopdf/libpango-1.0.la' make[3]: *** [pangogp-to-pdf] Error 1 ------------------------------------------------------------ FWIW, here's the libpango-1.0.la file: ------------------------------------------------------------ # libpango-1.0.la - a libtool library file # Generated by ltmain.sh - GNU libtool 1.4.3 (1.922.2.111 2002/10/23 02:54:36) # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='libpango-1.0.so.0' # Names of this library. library_names='libpango-1.0.so.0.230.2 libpango-1.0.so.0 libpango-1.0.so' # The name of the static archive. old_library='' # Libraries that this one depends upon. dependency_libs=' -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 ' # Version information for libpango-1.0. current=230 age=230 revision=2 # Is this an already installed library? installed=no # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/local/lib/pangopdf' ------------------------------------------------------------ However, this differs very little from the original Pango libpango-1.0.la file, so the problem probably lies elsewhere. I am going back over previous PangoPDF releases to see where the problem is, but in the meantime does anyone have any ideas? Regards, Tony Graham ------------------------------------------------------------------------ XML Technology Center - Dublin Sun Microsystems Ireland Ltd Phone: +353 1 8199708 Hamilton House, East Point Business Park, Dublin 3 x(70)19708 |