Subject: ld: cannot find -lXfixes
To: None <>
From: None <>
List: tech-pkg
Date: 11/30/2004 01:21:55
System: Slackware Linux 10.0, gcc 3.4.2

Attempting to compile x11/xcursor fails when attempting to
link to -lXfixes. 'Xfixes' is correctly installed from pkgsrc, and all
libraries are certainly present. The ld lookup cache has been updated, and
by all means ld should know where these libraries are at - 'ldconfig -p'
even lists the* files.

I even checked all of libXfixes' dependancies with 'ldd' and all
dependancies are met.

This is driving me nuts. I'm not a software developer in any sense of the
word. Any help?

Here's the output:

/bin/sh ./libtool --mode=link gcc -DXTHREADS -I/usr/pkg/include
-I/usr/X11R6/include -DXTHREADS -I/usr/pkg/include -I/usr/X11R6/include
-I/usr/X11R6/include -DXTHREADS -O2 -march=athlon-xp -I/usr/pkg/include
-I/usr/include   -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib
-Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -o
-rpath /usr/pkg/lib -version-info 1:2:0 cursor.lo display.lo file.lo
library.lo  xlib.lo -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R6/lib
-lXrender -lX11 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R6/lib
-lXfixes -lX11 -L/usr/X11R6/lib -lX11
gcc -shared  .libs/cursor.o .libs/display.o .libs/file.o .libs/library.o
.libs/xlib.o  -Wl,--rpath -Wl,/usr/pkgsrc/x11/xcursor/work/.buildlink/lib
-Wl,--rpath -Wl,/usr/pkgsrc/x11/xcursor/work/.buildlink/lib
/usr/pkgsrc/x11/xcursor/work/.buildlink/lib/ -lXfixes -lX11
-march=athlon-xp -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -Wl,-soname
-Wl, -o .libs/
/usr/bin/ld: cannot find -lXfixes
collect2: ld returned 1 exit statusA