Operating System - HP-UX
1754359 Members
4763 Online
108813 Solutions
New Discussion юеВ

PHP 5.0.3 - Apache 1.3.33 - HP-UX 11.11

 
SOLVED
Go to solution
Mauro Scarlata
Frequent Advisor

Re: PHP 5.0.3 - Apache 1.3.33 - HP-UX 11.11

hi alex,

I've tried only oci8

but I've the same problem:

...................
/usr/ccs/bin/ld: /oracle/ora92/lib/libclntsh.sl: Mismatched ABI. 64-bit PA shared library found in 32-bit link.
...................

see config.log

THANKS

Mauro
Alex Lavrov.
Honored Contributor

Re: PHP 5.0.3 - Apache 1.3.33 - HP-UX 11.11

As it was said before you are compiling 32bit application.
in the directory "/oracle/ora92/lib/libclntsh.sl" oracle has 64bit libraries and there should be "/oracle/ora92/lib32/libclntsh.sl" with 32bit libraries ("lib32" instead of "lib").

What do you have in SHLIB_PATH variable?

echo $SHLIB_PATH
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Ermin Borovac
Honored Contributor
Solution

Re: PHP 5.0.3 - Apache 1.3.33 - HP-UX 11.11

Modify PHP 'configure' file and replace all references to ORACLE_DIR/lib and OCI_DIR/lib (or OCI8_DIR/lib) with ORACLE_DIR/lib32 and OCI_DIR/lib32 respectively. Then do a 'make clean' and re-run configure.
Mauro Scarlata
Frequent Advisor

Re: PHP 5.0.3 - Apache 1.3.33 - HP-UX 11.11

Hi,

webport-/: echo $SHLIB_PATH
/usr/lib:/oracle/ora92/lib32/


I've changed the path in configure file. Infact in the older installation I had oracle 8, with lib (32 bit library) and lib64. Now I've got oracle 9 with lib32 and lib (64 bit library). So the configure file was wrong, like Ermin said. The problem about the oracle library there isn't anymore in the config.log.

thanks!

:)

Do I have to ignore the other error in the config.log -->in attchment

Now I've try to run make, and it's finished to work.

Ciao
Mauro



Alex Lavrov.
Honored Contributor

Re: PHP 5.0.3 - Apache 1.3.33 - HP-UX 11.11

I generally ignore Warnings .....
Didn't have any problems because of them.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Mauro Scarlata
Frequent Advisor

Re: PHP 5.0.3 - Apache 1.3.33 - HP-UX 11.11

I've seen many errors, not only warnings in the config.log.

bye
Mauro


Alex Lavrov.
Honored Contributor

Re: PHP 5.0.3 - Apache 1.3.33 - HP-UX 11.11

Can you paste here the output of confgure itself, not the log?

I don't give a damn for a man that can only spell a word one way. (M. Twain)
Mauro Scarlata
Frequent Advisor

Re: PHP 5.0.3 - Apache 1.3.33 - HP-UX 11.11

I've run

./configure --with-apache=../apache_1.3.33 --with-oracle=/oracle/ora92 --with-oci8=/oracle/ora92 --with-config-file-path=/web/apache/conf

in attchment the output_configure.txt

thanks


Mauro
Alex Lavrov.
Honored Contributor

Re: PHP 5.0.3 - Apache 1.3.33 - HP-UX 11.11

I don't see any errors. I think you can "make" now.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Mauro Scarlata
Frequent Advisor

Re: PHP 5.0.3 - Apache 1.3.33 - HP-UX 11.11

thanks all so much.

I've finshed.

:)
Mauro