[lug] Re: [SLE] Where is libgd.so.1?

Rogier Maas icarus at guldennet.nl
Thu Jul 6 16:57:28 MDT 2000


I've had this error too, this time with Zope. It had something to do
with ld.so not finding /var/lib or /lib something. Add it to your
/etc/ls.so.conf and run ldconfig.

Worked for me!

Rogier

Andrew Diederich wrote:
> 
> I've been trying to run a product that uses php3 (rightnow web 3.2, if that
> matters) and every time I hit the php pages I get a "Premature end of script
> headers: /usr/local/httpd/cgi-bin/ndts.cfg/php
> php: error in loading shared libraries
> libgd.so.1: cannot open shared object file: No such file or directory"
> 
> Now, the php file in the message is an executable, and most likely compiled
> on a Red Hat 6.1/6.2 box.  I was able to find the referenced libgd.so.1 file
> on a Red Hat 6.1 box I have lying about, and it is part of either gd-1.3 or
> gd-devel 1.3.  I believe the 1.3 version of gd is still back in the gif
> days, not the current png style.  On my SuSE 6.1 box I have libgd-1.2 (gif
> style), and on my 6.4 box I have libgd-1.7.3 (png style).
> 
> So, I guess what I need is whatever package that installs the
> /usr/lib/libgd.so.1 stuff, the way to turn /usr/lib/libgd.a into an so file,
> or where I can get the tarball for the current (or possibly old) libgd
> sources so I can compile and install the so stuff.  Any ideas?
> 
> --
> Andrew Diederich
> andrew at netdelivery.com





More information about the LUG mailing list