Re: problem with shared object file
| From: | Colin Guthrie | Date: | Thu, 26 Apr 2007 11:13:53 +0000 |
| Subject: | Re: problem with shared object file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253838@lists.php.net to get a copy of this message | ||
Marten Lehmann wrote:
> Hello,
>
> I'm trying to include a shared object file with the function dl(). But I
> always get:
>
> Warning: dl() [function.dl]: Unable to load dynamic library
> '/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared
> object file: No such file or directory in /homepages/xyz/test.php on line 5
>
> But it is definetely there and readable (also executable)!
Is your .so in turn missing any libs? "ldd /homepages/xyz/util.so"? (it
may be statically compiled anyway)
Never tried this in PHP before so other than that I don't know much.
Col.