Author Topic: gnuplot and missing libpng.so.2  (Read 4311 times)

billy_other

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • http://
gnuplot and missing libpng.so.2
« on: April 18, 2004, 11:16:59 am »
hello,

trying to get gnuplot to run, but it seems i\'m missing a library \"libpng.so.2 i tried symlink to libqte.so.2.3.2, but no luck! Any pointers

thks
 
billy

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
gnuplot and missing libpng.so.2
« Reply #1 on: April 18, 2004, 11:22:28 am »
Do you have any libpng* libs in /usr/lib ?

You could symlink it to libpng12.so.x (something like that), or to libpng.so.3 if you have that.

I think that libpng is built into one of the base libs but I don\'t know which (check the exact name which it was looking for - was it libpng.so.2 or libpng.so, make sure your symlink is to the correct file). Search might find it, otherwise libpng is doubtless available on killefiz.de.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

billy_other

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • http://
gnuplot and missing libpng.so.2
« Reply #2 on: April 18, 2004, 12:05:57 pm »
found libpng.so.2 in /home/root/usr/lib. i   symlinked it to /usr/lib , but still no luck



billy

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
gnuplot and missing libpng.so.2
« Reply #3 on: April 18, 2004, 01:27:18 pm »
/home/root/usr/lib is a funny place to find a lib.

What exactly does the error message say?

Are you sure the symlink worked? Did you:

# cd /usr/lib
# ln -s /home/root/usr/lib/libpng.so.2 .

Or something like that?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

billy_other

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • http://
gnuplot and missing libpng.so.2
« Reply #4 on: April 18, 2004, 02:02:21 pm »
Hello Si,

Yeah symlink is there, created just as you\'ve  shown. I agree an odd place to have lib.



billy

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
gnuplot and missing libpng.so.2
« Reply #5 on: April 18, 2004, 04:10:47 pm »
Did you install libpng? I can\'t think of any other reason for it to be there.

Check the filesize (that it isn\'t 0 bytes), permissions (don\'t know whether they matter to tell the truth).


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

datajerk

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • http://
gnuplot and missing libpng.so.2
« Reply #6 on: April 18, 2004, 08:49:49 pm »
I just compiled gnuplot 4.0 and tested it with Cacko/Qt 1.21 with X/qt.  Perhaps it will help.

http://sense.net/zc/gnuplot/gnuplot_4.0.0_arm.ipk

billy_other

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • http://
gnuplot and missing libpng.so.2
« Reply #7 on: April 19, 2004, 03:38:05 am »
Si,

No, came preinstalled. Odd really, installed ipk version and it runs fine.all i need to do is install x11

thanks for you time and help

billy

datajerk,

Thanks installed with no problems



billy