I used to run
gnuplot on my slackware box which does not have x11 installed. It's a remote service system and doesn't need a graphic server.
Following recent packages upgrades, gnuplot comes out with the following error:
Code:
prj@opel:~$ gnuplot
gnuplot: error while loading shared libraries: libXpm.so.4: cannot open shared object file: No such file or directory
prj@opel:~$ ldd /usr/bin/gnuplot
libz.so.1 => /usr/lib/libz.so.1 (0x4001d000)
libgd.so.2 => /usr/lib/libgd.so.2 (0x4002f000)
libXpm.so.4 => not found
libX11.so.6 => not found
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40080000)
libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x4009d000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x400c4000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x4012f000)
libm.so.6 => /lib/libm.so.6 (0x40168000)
libc.so.6 => /lib/libc.so.6 (0x4018b000)
libXpm.so.4 => not found
libX11.so.6 => not found
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x402ba000)
/lib/ld-linux.so.2 (0x40000000)
I have upgraded gnuplot and glibc packages and now it looks like gnuplot is linked with libgd.so.2 which in turn links some X11 shared libraries, namely:
Is this correct and the intended behaviour?
Note that gnuplot did work correctly without these libraries (and without X11 installed) before the last package update.
Thank you