Re: "X*X*/libz.so: shared object not open" error still

From: Date: Tue, 22 Jan 2002 04:03:04 +0000
Subject: Re: "X*X*/libz.so: shared object not open" error still
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-5671@lists.php.net to get a copy of this message
Okay, a work around: I left out the --with-gd option from PHP, and this error went away. It was replaced by this error: Cannot load /usr/local/apache/libexec/libphp4.so into server: undefined symbol: sk_new_null I grepped sk_new_null and found it came from the openssl modules, so I left out the --with-openssl, recompiled, and now it works. (I have openssl version 0.9.6-9 on the system by the way.) This is good, at least it's useable, but if anyone has suggestions for how I can get gd and openssl into this build without breaking it I would be pleased to hear from you. Thanks. -Steve On 2002.01.21 19:30:00 -0600 Steven Cayford wrote:
Hello again. It seems that no-one has run into this problem directly. So, if anyone has any suggestion what direction to start looking I'd appreciate it. I'm pondering if I need to pull out the zlib rpm and compile that from source as well, but I'm afraid then I'll simply break libtiff, gd, ImageMagick, etc... All the RPM's that depend on zlib. The problem again, came after I pulled out the apache and php rpms and tried to compile from source. When I run "apachectl start" I get this: Syntax error on line 236 of /usr/local/apache/etc/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: X*X*/libz.so: shared object not open Line 236 of httpd.conf is this:
LoadModule php4_module        libexec/libphp4.so
libz.so is in /usr/lib command I used to configure apache 1.3.22: ./configure \
        --prefix=/usr/local/apache \
        --with-layout=GNU \
        --enable-module=most \
        --enable-shared=max \
        --with-perl=/usr/local/bin/perl \
        --with-port=80 \
        --logfiledir=/var/log/httpd
command I used to configure pdflib 4.0.1: ./configure \
        --enable-shared \
        --enable-static \
        --with-java=no \
        --with-perl=/usr/local/bin/perl \
        --with-py=/usr/bin/python \
        --with-tcl=/usr/bin/tcl \
        --enable-php
command I used to configure php 4.0.6: ./configure \
        --with-xml \
        --with-apxs=/usr/local/apache/sbin/apxs \
        --with-openssl \
        --enable-trans-sid \
        --with-zlib=/usr \
        --with-pdflib=/usr/local \
        --enable-shared=pdflib \
        --with-mysql=/usr \
        --with-pgsql=/usr \
        --with-gd \
        --with-jpeg-dir=/usr \
        --with-png-dir=/usr \
        --with-tiff-dir=/usr
Thanks again for any suggestions. -Steve -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net For additional commands, e-mail: php-install-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.install (#5671) next »