I have compiled PHP 4.04pl1 with the following options

./configure --with-sybase-ct=/opt/sybase/current --with-nsapi=/opt/ns-test --with-config-file-path=/opt/php/lib --prefix=/opt/php

The make and make install went fine but when I try to bounce the webserver I get the error below. The Netscape obj.conf and mime records have been updated for PHP. I had a few different errors but they all seemed to do with not being able to find libraries, which I have fixed by adding to the LD_LIBRARY_PATH. This error however, seems to be different and I can't figure it out.
We're running Sybase 11.9.2 and I'm trying to avoid compiling this as a CGI!

./start
conf_init: Error running init function load-modules: dlopen of /opt/ns-test/bin/libphp4.so failed (ld.so.1: ns-httpd: fatal: relocation error: file /opt/sybase/current/lib/libtcl.so: symbol comn_free: referenced symbol not found)

Any help is appreciated.

    a year later

    Hi,

    Did you every get this fixed, as I am having a much the same problem.

    Cheers,

    J

      Write a Reply...