Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OCI8 Install fail

pans_soulMay 18 2017 — edited Jun 7 2017

Hello,

OS = Solaris 11.3 SRU 19

PHP = 5.6.22 (latest available on repository)

Solaris Studio = 12.4

Apache = 2.2

Attempting to follow instructions at:

http://www.oracle.com/technetwork/database/database-technologies/php/201212-ug-php-oracle-1884760.pdf

I have tried 3 different oracle clients:

ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped

ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required, dynamically linked, not stripped

as well as OIC version that came with Solarisstudio12.4

All with the same end result:

ld: fatal: file /opt/solarisstudio12.4/OIC/libclntsh.so: wrong ELF class: ELFCLASS64

collect2: error: ld returned 1 exit status

*** Error code 1

make: Fatal error: Command failed for target `oci8.la'

ERROR: `make' failed

Any suggestions greatly appreciated.

This post has been answered by C.Mohrman-Oracle on May 22 2017
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 5 2017
Added on May 18 2017
4 comments
7,213 views