Jump to content

PLease help!! cannot make install php with oci8 instant client


dmitriyzh

Recommended Posts

./configure and make is good but

make install ....:

 

Installing PHP SAPI module: cgi

Installing PHP CGI into: /usr/local/bin/

Installing PEAR environment: /usr/local/lib/php/

ld.so.1: php: fatal: libnnz10.so: open failed: No such file or directory

*** Error code 137

The following command caused the error:

/home/dmitriy/install/php-4.4.4/sapi/cli/php -n -dshort_open_tag=0 -dopen_basedir= -dsafe_mode=0 -dmemory_limit=-1 /home/dmitriy/install/php-4.4.4/pear/install-pear.php -d "/usr/local/lib/php" -b "/usr/local/bin" /home/dmitriy/install/php-4.4.4/pear/packages/*.tar

make: Fatal error: Command failed for target `install-pear-packages'

Current working directory /home/dmitriy/install/php-4.4.4

*** Error code 1

The following command caused the error:

if /home/dmitriy/install/php-4.4.4/build/shtool mkdir -p /usr/local/lib/php; then \

make -s install-pear-packages; \

else \

cat /home/dmitriy/install/php-4.4.4/pear/install-pear.txt; \

exit 5; \

fi

make: Fatal error: Command failed for target `install-pear'

 

im googling this problem ...but still nothing new

 

ive listed below my debug.log

LD_LIBRARY_PATH is set where i unziped oracle instantclient and sdk headers

 

debug.log

CONFIGURE: './configure' '-with-oci8-instant-client=/home/dmitriy/instantclient_10_2'

CC: gcc

CFLAGS: -g -O2

CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS

CXX:

CXXFLAGS:

INCLUDES: -I/home/dmitriy/instantclient_10_2/sdk/include

LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -L/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -R/home/dmitriy/instantclient_10_2 -L/home/dmitr

iy/instantclient_10_2

LIBS: -lresolv -lm -lnsl -lsocket -lgcc -lclntsh

DLIBS:

SAPI: cgi

PHP_RPATHS: /usr/ucblib /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 /home/dmitriy/instantclient_10_2

uname -a: SunOS solaris 5.10 Generic_118855-33 i86pc i386 i86pc

 

gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -L/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -R/home/d

mitriy/instantclient_10_2 -L/home/dmitriy/instantclient_10_2 conftest.c -lresolv -lm -lnsl -lsocket -lgcc -lclntsh 1>&5

ld.so.1: conftest: fatal: libnnz10.so: open failed: No such file or directory

 

i can provide more info ....

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.