From: nullpass at gmail dot com Operating system: Solaris 10 SPARC PHP version: 5.2.8 PHP Bug Type: Compile Failure Bug description: PHP is not finding 32-bit libnetsnmp.so in /usr/sfw/lib/
Description: ------------ I am unable to convince PHP to use the 32-bit version of libnetsnmp.so. Compiling PHP with --with-snmp=/usr/sfw to use Sun's distro of net-snmp crle is: crle -c /var/ld/ld.config -l /usr/lib:/lib:/usr/local/lib:/usr/sfw/lib PHP needs to use the 32-bit library in /usr/sfw/lib/libnetsnmp.so (ELF 32-bit MSB dynamic lib SPARC32PLUS Version 1, V8+ Required, dynamically linked, not stripped) but instead it is going for the 64-bit library in: /usr/sfw/lib/sparcv9/libnetsnmp.so (ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped) This results in the error: ld: fatal: file /usr/sfw/lib/sparcv9/libnetsnmp.so: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to .libs/libphp5.so collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `libphp5.la' -- Edit bug report at http://bugs.php.net/?id=47041&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47041&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47041&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47041&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47041&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47041&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47041&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47041&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47041&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47041&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47041&r=support Expected behavior: http://bugs.php.net/fix.php?id=47041&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47041&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47041&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47041&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47041&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47041&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47041&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47041&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47041&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47041&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47041&r=mysqlcfg