From: [EMAIL PROTECTED] Operating system: Red Hat Linux 7.2 PHP version: 4.2.2 PHP Bug Type: Compile Failure Bug description: cannot find -lclntsh -- alternate solution
** THIS ENTRY MAY BE CLOSED AND LOGGED AS AN ALTERNATE SOLUTION ** I, too, was receiving this error message, though none of the other solutions in this database helped me. One solution is similar, but still didn't work for me. It is related to the symbolic links that Oracle 9.2 set for the libclntsh.so file. In my case, the actual file was libclntsh.so.9.0 and libclntsh.so was a link to this file. To make PHP 4.2.2 compile, I: (1) deleted the libclntsh.so link, (2) renamed libclntsh.so.9.0 to libclntsh.so, and (3) made a link from libclntsh.so to libclntsh.so -- Having a real file for both names, and a hard link to both names didn't work for me. I'm no C programmer by any stretch of the imagination, so I don't know why this worked for me. Hopefully this will help someone else. Good luck. -- Edit bug report at http://bugs.php.net/?id=20376&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20376&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20376&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20376&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20376&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20376&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20376&r=support Expected behavior: http://bugs.php.net/fix.php?id=20376&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20376&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20376&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20376&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20376&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20376&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20376&r=isapi