php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7087 error opening libclntsh.so.8.0
Submitted: 2000-10-08 12:16 UTC Modified: 2001-02-20 07:42 UTC
From: lpc2 at stal dot ru Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.2 OS: SCO UnixWare7.1.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lpc2 at stal dot ru
New email:
PHP Version: OS:

 

 [2000-10-08 12:16 UTC] lpc2 at stal dot ru
I use --with-oci8:
 get attention.
 See attach file debug.log:
CONFIGURE:   './configure' '--prefix=/u/wwww/php' '--with-apxs=/u/wwww/bin/apxs' '--with-mod_charset' '--with-oci8' '--enable-tracks-vars' '--enable-ftp' '--enable-sysvsem' '--enable-sysvshm' '--enable-sigchild'
CC:         cc
CFLAGS:     -g
CPPFLAGS:   
CXX:        
CXXFLAGS:   
INCLUDES:    -I/u/wwww/include  -I$(top_builddir)/Zend -I$(top_srcdir) -I/u/source/php/ext/mysql/libmysql -I/oracle8/app/oracle/product/8.1.5/rdbms/demo -I/oracle8/app/oracle/product/8.1.5/network/public -I/oracle8/app/oracle/product/8.1.5/plsql/public
LDFLAGS:     -L/usr/ucblib -L/usr/ucblib -L/oracle8/app/oracle/product/8.1.5/lib -L/oracle8/app/oracle/product/8.1.5/lib
LIBS:       -lclntsh -lthread -ldshm -lgen -lm -lelf -ldl -lgen -lnsl -lsocket -lresolv -lresolv -lm -ldl -lcrypt -lsocket  -lsocket
DLIBS:      
SAPI:       apache
PHP_RPATHS:  /usr/ucblib /oracle8/app/oracle/product/8.1.5/lib
uname -a:   UnixWare adm 5 7.1.0 i386 x86at SCO UNIX_SVR5

cc -o conftest -g   -L/usr/ucblib -L/usr/ucblib -L/oracle8/app/oracle/product/8.1.5/lib -L/oracle8/app/oracle/product/8.1.5/lib conftest.c -lclntsh -lthread -ldshm -lgen -lm -lelf -ldl -lgen -lnsl -lsocket -lresolv -lresolv -lm -ldl -lcrypt -lsocket  -lsocket 1>&5
UX:cc: WARNING: Use -Kthread instead of -lthread when linking with threads
	library; using -lthread directly may cause incorrect execution behavior.
dynamic linker : ./conftest : error opening libclntsh.so.8.0

-----------------
if use --with-mysql:
./configure  --prefix=/u/wwww/php \
--with-mysql \
--with-apxs=/u/wwww/bin/apxs \
--with-mod_charset \
--enable-tracks-vars \
--enable-ftp \
--enable-sysvsem \
--enable-sysvshm \
--enable-sigchild

make
make install

# ./apachectl start
Syntax error on line 1325 of /u/wwww/conf/httpd.conf:
Cannot load /u/wwww/libexec/libphp4.so into server: dynamic linker:
/u/wwww/bin/
httpd: relocation error: symbol not found: pow; referenced from:
/u/wwww/libexec/libphp4.so
./apachectl start: httpd could not be started
???????













Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-18 10:36 UTC] sniper@php.net
Does this happen with latest snapshot from http://snaps.php.net/ ?

--Jani


 [2000-12-19 19:04 UTC] sniper@php.net
User feedback:
---------------------------
Hi.
get  php4-latest.tar.gz 18.12.2000

#./configure  --prefix=/u/wwww/php \
--with-apxs=/u/wwww/bin/apxs \
--with-mod_charset \
--with-oci8 \
--enable-tracks-vars \
--enable-ftp \
--enable-sysvsem \
--enable-sysvshm \
--enable-sigchild \

UX:acomp: ERROR: "mail.c", line 28: cannot find include file: <sysexits.h>
UX:acomp: ERROR: "mail.c", line 155: undefined symbol: EX_TEMPFAIL
UX:acomp: WARNING: "mail.c", line 165: statement not reached
make[3]: *** [mail.lo] Error 1
make[3]: Leaving directory `/u/source/php4/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/u/source/php4/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/u/source/php4/ext'
make: *** [all-recursive] Error 1

Has replaced #include <sysexits.h> to
#include "usr/ucbinclude/sysexits.h"

#configure ....

UX:cc: WARNING: Use -Kthread instead of -lthread when linking with threads
        library; using -lthread directly may cause incorrect execution
behavior.

UX:cc: WARNING: Avoid specifying -lc; cc will ensure that libc is linked in
        the proper order. Linking libc in the wrong order may cause
incorrect
        execution behavior. If you do specify -lc, make sure that no dynamic
        libraries are specified after it.
make[1]: Leaving directory `/u/source/php4'
Making all in pear

#make install
# ./apachectl start
Syntax error on line 238 of /u/wwww/conf/httpd.conf:
Cannot load /u/wwww/libexec/libphp4.so into server: dynamic linker :
/u/wwww/bin/httpd : error opening libclntsh.so.8.0
./apachectl start: httpd could not be started
----------------------------------------------

 [2001-01-07 04:11 UTC] sniper@php.net
Have you tried PHP 4.0.4 ? And what if you leave --with-oci8 out?
Does it compile/work then?

--Jani
 [2001-02-20 07:42 UTC] sniper@php.net
No feedback, considered fixed.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 03:01:35 2025 UTC