EMNU v1.0.0, undefined reference in libplplot

Johann Visagie johann at egenetics.com
Tue Jan 23 16:10:22 UTC 2001


Gary Williams, Tel 01223 494522 on 2001-01-23 (Tue) at 15:14:03 +0000:
> 
> The quick and dirty fix that I'll commit soon is to add an explicit link
> to libX11 in configure.in (this will propagate to configure and
> Makefile).
> 
> EMNU-1.0.2 should appear sometime this afternoon.

OK, I'm starting to nit-pick now since I can already get EMNU compiled on my
system...  but in the interests of having it build OOTB for everyone:

If I do a straight ./configure and gmake for EMNU 1.0.2, I get:

  [ ... ]
  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.

-- Johann






More information about the EMBOSS mailing list