php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20376 cannot find -lclntsh -- alternate solution
Submitted: 2002-11-11 19:15 UTC Modified: 2002-11-11 19:35 UTC
From: michael dot skurka at lcra dot org Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.2.2 OS: Red Hat Linux 7.2
Private report: No CVE-ID: None
 [2002-11-11 19:15 UTC] michael dot skurka at lcra dot org
** 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-11 19:35 UTC] sniper@php.net
It's just a matter of configuring your system correctly.
And definately not any bug within PHP.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 22 20:00:03 2025 UTC