[GRASSLIST:6045] PNG driver

Dear GRASSusers,
I'm having a problem with PNG driver.
With:
d.mon start=PNG
I obtain the following message:
/usr/local/grass5/driver/PNG: error while loading shared library:
libgd.so.2: cannot open shared object file; No such file or directory
No socket to connect to for monitor <PNG>

I checked for libgd2.so.2
and it's in:
/home/local/lib/libgd2.so.2

What 's wrong?

Many thanks.
Aldo Clerici
Dip. Scienze della Terra
Università di Parma
Italy

Aldo Clerici wrote:

I'm having a problem with PNG driver.
With:
d.mon start=PNG
I obtain the following message:
/usr/local/grass5/driver/PNG: error while loading shared library:
libgd.so.2: cannot open shared object file; No such file or directory
No socket to connect to for monitor <PNG>

I checked for libgd2.so.2
and it's in:
/home/local/lib/libgd2.so.2

What 's wrong?

The problem is that the PNGdriver binary requires "libgd.so.2", but
your library is called "libgd2.so.2" (the "2" is part of the base
name).

Creating a symlink may work, e.g.

  ln -s libgd2.so.2 /home/local/lib/libgd.so.2

--
Glynn Clements <glynn.clements@virgin.net>