ID:               24950
 Comment by:       Joerg dot Dieter dot Friedrich at uni-konstanz dot de
 Reported By:      fschulze at more-radio dot de
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Solaris8
 PHP Version:      4.3.2
 New Comment:

maybe someone could add a test to ext/oci/config.m4 to check if
ORACLE_HOME/lib and ORACLE_HOME/lib32 is in place. 
if both are there, check what type of binary is 'produced' 32-bit or
64-bit, similar to the irix-checks in aclocal.m4 and then decide which
lib-directory to use.


Previous Comments:
------------------------------------------------------------------------

[2003-08-12 06:49:13] fschulze at more-radio dot de

note:
i figured out that using oracle for solaris 32(!) bit 
version runs without any problem. this version is available at
oracle.com for download. install "client" and select "custom". select
management tools, c/c++ librarys and programmers tools. use
--with-oracle.

------------------------------------------------------------------------

[2003-08-06 09:54:08] [EMAIL PROTECTED]

http://www.phpbuilder.com/mail/php-install/2003011/0231.php

There are other 64bit issues that need to be solved and this falls in
the same category. I'll add a note about this in the bug #21973
(currently I have no access to such machine so there isn't much I can
do about these.)


------------------------------------------------------------------------

[2003-08-06 09:40:48] fschulze at more-radio dot de

thanks for the answers. CVS brings the same error.

after install c++ OCI interface from oracle CD make brings up this
error:

ight.lo Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo
Zend/zend
ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo
Zend/zend_A
I.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo
Zend/zend_inde
t.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo
Zend/zend_ini.lo Zend/
end_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo
sapi/apache2handler/sa
i_apache2.lo sapi/apache2handler/apache_config.lo
sapi/apache2handler/php_funct
ons.lo main/internal_functions.lo -lmysqlclient -lresolv -lm -ldl -lnsl
-lsocke
 -lgcc -lnsl -lsocket -lgen -ldl -lclntsh  -o libphp4.la
ld: fatal: file /www/bin/oracle/produkt/9.2.0/lib/libclntsh.so: wrong
ELF class
 ELFCLASS64
ld: fatal: File processing errors. No output written to
.libs/libphp4.so
*** Error code 1
make: Fatal error: Command failed for target `libphp4.la'

------------------------------------------------------------------------

[2003-08-05 18:27:12] cunha17 at uol dot com dot br

This is caused by configure not locating oci.h. Verify that you
installed the C/C++ OCI interface (wich must be selected manually with
the Installer).

I guess that the oci.h file after installation is located inside the
demo directory.

Hope it helps.

------------------------------------------------------------------------

[2003-08-05 10:52:09] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/24950

-- 
Edit this bug report at http://bugs.php.net/?id=24950&edit=1

Reply via email to