Problem linking Pango-1.2.1



First, I'm doing this install on a linux from scratch system, where I have installed Xfree86 from the xfree86.org packages.  I have installed the X development package.

Here are the warnings and then errors I get:

make[3]: Leaving directory `/tmp/pango-1.2.1/pango/mini-fribidi'
make[3]: Entering directory `/tmp/pango-1.2.1/pango'
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall  -o pango-querymodules  querymo
dules.o libpangoft2-1.0.la libpangox-1.0.la libpangoxft-1.0.la -Wl,--export-dyna
mic -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    -L/usr/X11R6/lib -lXft -lfree
type -lXrender -lfontconfig   -lfontconfig   
gcc -g -O2 -Wall -o .libs/pango-querymodules querymodules.o -Wl,--export-dynamic
  ./.libs/libpangoft2-1.0.so ./.libs/libpangox-1.0.so -L/usr/X11R6/lib -lX11 ./.
libs/libpangoxft-1.0.so /tmp/pango-1.2.1/pango/.libs/libpango-1.0.so /usr/lib/li
bgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lXft /u
sr/lib/libfreetype.so -lXrender -lfontconfig
/usr/bin/ld: warning: libXft.so.2, needed by ./.libs/libpangoxft-1.0.so, may con
flict with libXft.so.1
/usr/bin/ld: warning: libXext.so.6, needed by /usr/X11R6/lib/libXft.so, not foun
d (try using -rpath or -rpath-link)
/usr/X11R6/lib/libXrender.so: undefined reference to `XextAddDisplay'
/usr/X11R6/lib/libXrender.so: undefined reference to `XextFindDisplay'
/usr/X11R6/lib/libXrender.so: undefined reference to `XextRemoveDisplay'
/usr/X11R6/lib/libXrender.so: undefined reference to `XMissingExtension'
collect2: ld returned 1 exit status
make[3]: *** [pango-querymodules] Error 1
make[3]: Leaving directory `/tmp/pango-1.2.1/pango'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/pango-1.2.1/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pango-1.2.1'
make: *** [all-recursive-am] Error 2


As far as libXft.so.2, I do not find that file on my system.  Do I really need it, or can I ignore that warning?  If I do need it, where do I get it?

As far as libXext.so.6, that file exists in /usr/X11R6/lib and that directory is in the path of the linker.  Do I need to do something with -rpath or what is actually wrong?

Then as far as the undefined references, well I can grep for those in /usr/X11R6/lib and find that many are in /usr/X11R6/lib/libXrender.so*

Are they just not the correct references?  What should I try next?  My goal is to get Gnome 2.2 installed.

Thanks,

Mark





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