Hi, Is there any reasons to set -Wl,-R/usr/pkg/lib in LDFLAGS, but not -L/usr/pkg/lib ? Without -L/usr/pkg/lib gcc can't find statically-linked libraries in /usr/pkg/lib, at last on a 1.3.3 system (I didn't check -current). I guess the same applies to /usr/X11R6/lib. -- Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr --