EMNU v1.0.0, undefined reference in libplplot
David Bauer
bauer at genprofile.com
Tue Jan 23 16:30:20 UTC 2001
> [ ... ]
> gcc -O -o .libs/emnu emnu.o ../../../plplot/.libs/libplplot.so -L/usr/lib
> -lm -L/usr/local/lib -lz -lgd -lpng ../../../ajax/.libs/libajax.so -lm -lz
> -lgd -lpng ../../../nucleus/.libs/libnucleus.so -lm -lz -lgd -lpng -lmenu
> -lform -lX11 -lm -lncurses -Wl,--rpath -Wl,/usr/local/lib
> /usr/libexec/elf/ld: cannot find -lX11
> gmake: *** [emnu] Error 1
>
> Specifying --x-libraries to ./configure doesn't seem to propagate to the
> Makefile either. Adding -L/usr/X11R6/lib manually to (say) CFLAGS in the
> Makefile works, though.
I had to do the same hack to get 1.0.2 working.
David.
More information about the EMBOSS
mailing list