[GRASSLIST:6051] Re: PNG driver

Glynn Clements glynn.clements at virgin.net
Mon Apr 14 11:12:15 EDT 2003


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 at virgin.net>




More information about the grass-user mailing list