Click to See Complete Forum and Search --> : INSTALL PROBLEM ON SOLARIS 8


Anon
08-03-2000, 10:26 AM
Hi,

My OS is Solaris 8 / SPARC
My web server is APACHE 1.3.12
I install mysql-3_22_32-sun-solaris2_7-sparc_tar ( I didn't find mySQL
for Solaris 8 )
I use PHP4

I followed the procedure of installation of php4.

I compiled PHP4 with option
./configure --with-apxs=/usr/local/apache/bin/apxs
--with-mysql=/path/to/mysql
Install was successfull

When I wanted to start my Apache server, the following error occurred
./apachectl start

Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/libphp4.so: symbol mysql_free_result: referenced symbol not found

Thank you for your reply.

Chrystel

Anon
08-20-2000, 03:21 PM
Chrystel..
Still having problems??

Are you using GNU C complier and libriaries if so
add

-enable-libgcc in your php4 configure..

That worked for me with the same configuration.

Anon
11-20-2000, 08:33 AM
I have the same problem on Solaris 8 / Intel plateform. It can't solve the problem after I use Gnu C compiler and -enable-libgcc in my php4 or php3 configure..
Anybody can help me?

Anon
05-16-2001, 03:12 PM
I have the same problem. It never seems to create the libphp4.so lib. I have libphp4.a and libphp4.la in my libs dir, but no libphp4.so. It's not in my <apache-root>/libexec dir either. I compiled fine with:
./configure --with-imap=/usr/local/src/imap-4.7c \
--with-mysql=/usr/local/mysql \
--with-axps=/usr/local/apache/bin/axps

`make` and `make install` generate no errors.

--Dave