dl() issues
| From: | Evan Nemerson | Date: | Tue, 12 Mar 2002 02:07:10 +0000 |
| Subject: | dl() issues | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88133@lists.php.net to get a copy of this message | ||
Warning: Unable to load dynamic library
'/usr/local/lib/php/DL/libpdf_php.so' - File not found in
/home/xxxxxxx/page.php on line 6
Fatal error: Call to undefined function: pdf_new() in
/home/xxxxxxx/page.php on line 11
[xxxxxxx@xxxxx php-4.1.0]$ ls -Al /usr/local/lib/php/DL/libpdf_php.so
lrwxrwxrwx 1 xxxxxxx users 65 Mar 11 18:00
/usr/local/lib/php/DL/libpdf_php.so ->
/home/xxxxxxx/pdflib-4.0.2-Linux/bind/php/php-4.1.0/libpdf_php.so*
Summary - Put a symlink to libpdf in the extensions_dir (symlink isn't the
issue- I tried just putting the libpdf_php.so there too). The file exists.
As soon as I use dl("libpdf_php.so"), I get an error that says it couldn't
find '/usr/local/lib/php/DL/libpdf_php.so', which IS THERE!!!
If you're not willing to help me, do it for the server- it's going to get
blown up soon if this keeps up! ;)
BTW PHP/4.1.2, Linux
--
"The search for truth is more precious than its possession."
-Albert Einstien