I figured it out. In tcsh I needed to use:

setenv LD_LIBRARY_PATH /usr/local/lib:/usr/lib:/usr/openwin/lib:
/usr/local/postgres/lib:/usr/local/ssl/lib:/usr/local/etc/mm/lib:/lib

instead of

set LD_LIBRARY_PATH= ( /usr/local/lib /usr/lib /usr/openwin/lib
/usr/local/postgres/lib /usr/local/ssl/lib /usr/local/etc/mm/lib /lib )


-----Original Message-----
From: Anthony Pelaez [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 19, 2001 11:53 PM
To: [EMAIL PROTECTED]
Subject: Problems starting Apache after installing PHP4.04pl1


Howdy,

I recently installed apache 1.3.17 with modperl and modssl and some other
modules onto Solaris 8 x86 and it works fine upon startup. I am having a
problem though, starting Apache after I compiled and installed PHP 4.04pl1.

I am getting the following error:

Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: libpq.so: open failed: No such file or
directory /usr/local/apache/bin/apachectl startssl: httpd could not be
started.

Here is my configure input:

./configure \
        --with-apxs=/usr/local/apache/bin/apxs \
        --enable-versioning \
        --includedir=/usr/local/include \
        --libdir=/usr/local/lib \
        --with-pgsql=/usr/local/postgres \
        --enable-track-vars \
        --with-imap=/usr/src/imap-2000b \
        --with-openssl=/usr/local/ssl \
        --with-gd \
        --with-ldap=/usr/local/openldap \
        --with-xpm-dir=/usr/local \
        --with-mm=/usr/local/etc/mm \
        --enable-ftp \
        --with-gdbm=/usr/local \
        --with-jpeg-dir=/usr/local \
        --with-tiff-dir=/usr/local

This is my LD_LIBRARY_PATH variable setting in .cshrc
set LD_LIBRARY_PATH= ( /usr/local/lib /usr/lib /usr/openwin/lib
/usr/local/postgres/lib /usr/local/ssl/lib /usr/local/etc/mm/lib /lib )

I copied the php.ini-dist file to /usr/local/lib and /usr/local/lib/php
because I wasn't for sure where it goes.

It configured fine after looking at the config.log.
When I look at the debug.log it shows that it is using:
-I/usr/local/postgres/include and -L/usr/local/postgres/lib directories
when compiling Postgresql.

Can anyone tell me what I am missing?

Thanks,
Tony


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to