[GRASSLIST:3948] Re: error while loading shared libraries
Ulrich Leopold
uleopold at science.uva.nl
Tue Jun 25 13:34:02 EDT 2002
this is the result:
-------------------------------------------------------------------
Mapset <nl500> in Location <Netherlands>
GRASS 5.0.0pre3 > ldd /usr/local/grass5/driver/PNG
libz.so.1 => /usr/lib/libz.so.1 (0x4002c000)
libgd.so => not found
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4003a000)
libpng.so.2 => /usr/lib/libpng.so.2 (0x40059000)
libm.so.6 => /lib/libm.so.6 (0x4007b000)
libc.so.6 => /lib/libc.so.6 (0x4009d000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
-------------------------------------------------------------------
Mapset <nl500> in Location <Netherlands>
GRASS 5.0.0pre3 > echo $LD_LIBRARY_PATH
/usr/local/matlab_r12/extern/lib/glnx86:/usr/local/matlab_r12/sys/os/glnx86:/usr/local/arch/mozilla-0.9.6:/usr/local/arch/mozilla-1.0.0:/usr/local/arch/grass5/lib
-------------------------------------------------------------------
libgd cannot be found and is not included in the path. How can I set the
path to libgd? It is in /usr/lib/.
Regards, Ulrich
Markus Neteler wrote:
> On Tue, Jun 25, 2002 at 07:16:13PM +0200, Ulrich Leopold wrote:
>
>>the libraries are installed. Is this a path problem? Can I set a path
>>for the libraries?
>
>
> what does
>
> ldd /usr/local/grass5/driver/PNG
>
> tell you (assuming that GRASS is installed in /usr/local/grass5).
> Check also
> echo $LD_LIBRARY_PATH
>
> if this includes the path to libgd.
>
> Markus
>
>
>>Ulrich
>>
>>Markus Neteler wrote:
>>
>>>Hi Ulrich,
>>>
>>>On Tue, Jun 25, 2002 at 04:59:19PM +0200, Ulrich Leopold wrote:
>>>
>>>
>>>>Dear list,
>>>>
>>>>Is the following error message a bug in GRASS5.0.0pre3 or a problem in
>>>>my system?
>>>>
>>>>----------------------------------------------------------------------
>>>>/usr/local/arch/grass5/driver/PNG: error while loading shared libraries:
>>>>libgd.so: cannot open shared object file: No such file or directory
>>>
>>>
>>>^^^^^^^^^^
>>>this library must be installed on your system. Please have a look at the
>>>manual page:
>>>
>>>g.manual pngdriver
>>>
>>>where to acquire it.
>>>
>>>Regards,
>>>
>>> Markus Neteler
>>>
>>
>>
>>--
>>__________________________________________________
>>
>>Ulrich Leopold MSc.
>>
>>Department of Physical Geography
>>Institute for Biodiversity and Ecosystem Dynamics
>>Faculty of Science
>>University of Amsterdam
>>Nieuwe Achtergracht 166
>>NL-1018WV Amsterdam
>>
>>Phone: +31-(0)20-525-7456 (7451 Secretary)
>>Fax: +31-(0)20-525-7431
>>Email: uleopold at science.uva.nl
>>http://www.frw.uva.nl/soil/Welcome.html
>>
>>Check us also out at:
>>Netherlands Centre for Geo-ecological Research
>>http://www.frw.uva.nl/icg
>>
>
>
--
__________________________________________________
Ulrich Leopold MSc.
Department of Physical Geography
Institute for Biodiversity and Ecosystem Dynamics
Faculty of Science
University of Amsterdam
Nieuwe Achtergracht 166
NL-1018WV Amsterdam
Phone: +31-(0)20-525-7456 (7451 Secretary)
Fax: +31-(0)20-525-7431
Email: uleopold at science.uva.nl
http://www.frw.uva.nl/soil/Welcome.html
Check us also out at:
Netherlands Centre for Geo-ecological Research
http://www.frw.uva.nl/icg
More information about the grass-user
mailing list