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@netdelivery.com -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Find with yast, option change-install / Package information Bye Jose Calderon On Thu, 6 Jul 2000, 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@netdelivery.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
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@netdelivery.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Andrew Diederich wrote:
... 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).
In case all else fails have a look at the libgd homepage at http://www.boutell.com/gd/ Henning -- H. Henning Vossieck http://hhv.de [currently inactive] SuSE Linux 6.4 Kernel 2.4.0-test3-267 glibc 2.1.3 egcs 2.95.2 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (4)
-
andrew@NETdelivery.com
-
hhv@hhv.de
-
icarus@guldennet.nl
-
jcald@unired.net.pe