Menu

#196 make problems while installing Gnuplot 5.0.1 on Ubuntu 14.04

None
closed
nobody
None
None
2024-09-26
2015-10-26
Anonymous
No

Hi,

I am struggling with the installation of Gnuplot 5.0.1 on my Ubuntu 14.04 LTS machine. The configure, make and make install run smoothly, as long as I don't want to include pdfcairo. As soon as I have installed pdfcairo, the configure still runs, but during the make I get the following error message:

c++ -g -O2 -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -o gnuplot alloc.o axis.o breaders.o boundary.o color.o command.o contour.o datablock.o datafile.o dynarray.o eval.o external.o fit.o gadgets.o getcolor.o graph3d.o graphics.o help.o hidden3d.o history.o internal.o interpol.o libcerf.o matrix.o misc.o mouse.o multiplot.o parse.o plot.o plot2d.o plot3d.o pm3d.o readline.o save.o scanner.o set.o show.o specfun.o standard.o stats.o stdfn.o tables.o tabulate.o term.o time.o unset.o util.o util3d.o variable.o version.o wxterminal/wxt_gui.o wxterminal/gp_cairo.o wxterminal/gp_cairo_helpers.o -lreadline -ltermcap -lz -L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -ldl -lm -lz -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0
/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

The only way of getting rid of this that I could figure out until now was to remove the libx11-dev completely and ro reinstall it afterwards without installing pdfcairo.

Any suggestions would be highly appreciated.

Thanks!

Discussion

  • Karl Ratzsch

    Karl Ratzsch - 2015-10-26

    pdfcairo should not make that problem, it's the cairo-based interactive wxt terminal. You can follow the advice from the release notes and run

     TERMLIBS="-lX11" ./configure && make && ...
    

    or

    configure --with-X11
    

    or

    configure --with-wx-single-threaded
    

    or switch off building the wxt terminal and use qt for interactive work. It's in my experience substancially faster, too.

    . The second option above should help, but to me sometime didn't. The problem lies somewhere in the multithreading of libwxt3.

     
  • Ethan Merritt

    Ethan Merritt - 2016-01-11

    Ticket moved from /p/gnuplot/bugs/1694/

    Can't be converted:

    • _milestone:
    • _priority:
     
  • Ethan Merritt

    Ethan Merritt - 2024-09-26
    • Status: open --> closed
     

Log in to post a comment.