PHP 4.0 Bug #4775 Updated: nsapi with NES, libstdc++ file not found on server startup
| From: | Bug Database | Date: | Fri, 02 Jun 2000 13:01:55 +0000 |
| Subject: | PHP 4.0 Bug #4775 Updated: nsapi with NES, libstdc++ file not found on server startup | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-20044@lists.php.net to get a copy of this message | ||
ID: 4775
User Update by: mark.faine@msfc.nasa.gov
Status: Open
Bug Type: Dynamic loading related
Description: nsapi with NES, libstdc++ file not found on server startup
PHP4.0 cvs build from 6-01-00
Is the following line from the naspi_readme.txt a mistake:
#note place following two lines after mime types init!
> Init fn="load-modules"
funcs="php4_init,php4_close,php4_execute,php4_auth_trans"
shlib="/php4/nsapiPHP4.dll"
This looks like windows? What do you put here for unix.
I have done all of this, but I am still getting the following error:
dlopen of /home/web_server/netscape/suitespot/bin/libphp4.so failed
(ld.so.1: ns-httpd: fatal: libstdc++.so.2.10.0: open failed: No such file
or directory)
My configuration information follows:
PHP4.0 cvs build from 6-01-00
Solaris 2.6
Netscape Enterprise Server 3.6
I used the following flags in the configure:
--enable-sigchild
--enable-libgcc
--enable-discard-path
--enable-magic-quotes
--enable-track-vars
--with-openssl
--with-oracle
--enable-trans-sid
--enable-memory-limit
--enable-versioning
--enable-sysvshm
--with-nsapi=path/to/my/netscape/server/root
--enable-experimental-zts
$LD_LIBRARY as reported by env:
LD_LIBRARY_PATH=/usr/openwin/lib:/usr/dt/lib:/usr/local/lib:/usr/lib:/lib
$LD_LIBRARY in NES start script:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/web_server/netscape/suitespot/bin/https:/home/web_server/netscape/suitespot/plugins/java/bin:/usr/local/lib;
export LD_LIBRARY_PATH
libstdc++.so.2.10.0 is located in /usr/local/lib
Thanks
Full Bug description available at: http://bugs.php.net/version4/?id=4775