Indeed. Turns out that was the problem. Ldd now reports that all libs are 
found. But when restarting apache I get in php.error.log:

[16-Aug-2013 11:01:59 UTC] PHP Warning:  PHP Startup: Unable to load dynamic 
library '/usr/local/php5/lib/php/extensions/no-debug-non-zts-20121212/oci8.so' 
- ld.so.1: httpd: fatal: libnnz11.so: open failed: No such file or directory in 
Unknown on line 0

File is there:

# file /usr/local/php5/lib/php/extensions/no-debug-non-zts-20121212/oci8.so
/usr/local/php5/lib/php/extensions/no-debug-non-zts-20121212/oci8.so:   ELF 
64-bit LSB dynamic lib AMD64 Version 1, dynamically linked, not stripped, no 
debugging information available

The user running apache is able to access all libs (so no rights issue I 
think). Any more ideas? 

Phpmyadmin also complains about gzip not installed. phpinfo() shows me this 
though:

zlibZLib SupportenabledStream Wrappercompress.zlib://Stream Filterzlib.inflate, 
zlib.deflateCompiled Version1.2.8Linked Version1.2.8DirectiveLocal ValueMaster 
Valuezlib.output_compressionOffOffzlib.output_compression_level-1-1zlib.output_handlerno
 valueno value
Is this the right module for gzip? Should I continue with my questions on the 
other mailinglist (configuration questions instead of installation)?

Kas



Date: Fri, 16 Aug 2013 14:57:51 +0600
From: eug...@zhegan.in
To: php-install@lists.php.net
Subject: Re: [PHP-INSTALL] installing php 5.5.1 on to solaris 10 results in 
error during make


  
    
  
  
    Hi.

      

      On 16.08.2013 14:42, KAs Coenen wrote:

    
    
      
      Hello,

        

        Oci still not finding all libs. ldd reports: 

        

        libnnz11.so =>   (file not found)

        

        crle:

        

        Configuration file [version 4]: /var/ld/ld.config

          Default Library Path (ELF):   /usr/local/lib:/lib:/usr/lib

          Trusted Directories (ELF):    /lib/secure:/usr/lib/secure 
        (system default)

        

        Command line:

          crle -c /var/ld/ld.config -l /usr/local/lib:/lib:/usr/lib

        

        Location of libnnz:

        

        /usr/local/lib/libnnz12.so

        /opt/oracle/product/11.2.0/client/libnnz11.so

        

        # file /usr/local/lib/libnnz12.so

        /usr/local/lib/libnnz12.so:     ELF 64-bit LSB dynamic lib AMD64
        Version 1 [SSE2 SSE MMX CMOV], dynamically linked, not stripped

        

        # file /opt/oracle/product/11.2.0/client/libnnz11.so

        /opt/oracle/product/11.2.0/client/libnnz11.so:  ELF 64-bit LSB
        dynamic lib AMD64 Version 1 [SSE2 SSE CMOV], dynamically linked,
        not stripped

        

        I have no clue why it is not picking up the lib dirs.

        

      
    
    You just showed the 32-bit linker config, try adding this path to a
    crle -64 -l ... .

    

    Eugene.
                                          

Reply via email to