|
From: Bastian M. <bma...@we...> - 2016-06-01 09:56:43
|
> -----Original Message----- > From: rytis [mailto:bu...@gm...] > Sent: Mittwoch, 1. Juni 2016 10:28 > To: gnu...@li... > Subject: X11 compilation errors gnuplot 5 > > Hello > At some point during the compilation of Gnuplot 5, the compilation fails. > > In this case, making the target called binonly that is located in gnuplot/src, > the -lX11 is missing (although it is checked for successfully in configuration). I > managed to fix this by adding the -lX11 flag at the end. What am I missing > here? This is a known bug - although I do not seem to find the relevant bug tracker item just now. The wxGTK configuration script fails to include the X11 library although it is required. Work-around is to prepend TERMLIBS="-lX11" to your ./configure call. Bastian > > /usr/bin/ld: wxterminal/wxt_gui.o: undefined reference to symbol > 'XInitThreads' > //usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO missing > from command line > collect2: error: ld returned 1 exit status > Makefile:787: recipe for target 'gnuplot' failed > > Here is my configuration: > ./configure --with-readline=gnu --with-qt --with-pdf --with-linux-vga --with- > ggi --with-gpic --with-mif --with-tutorial --with-cwdrc --with-kpsexpand -- > with-lua > |