Date: 06/11/99
- Next message: Bug Database: "[PHP-DEV] Bug #1530 Updated: part of docs is missing"
- Previous message: paul <email protected>: "[PHP-DEV] Bug #1530: part of docs is missing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Andrey Zmievski wrote:
> I'm having a problem with .so files being loaded by dl(). I used to have
> 3.0.7 compiled as Apache module and everything worked fine, but I've
upgraded
> the server to 3.0.9 and recompiled and .so files, and now when I try to
load
> them I get:
>
> Fatal error: Unable to load dynamic library
> '/export/httpd/php/lib/ispi/calendar.so' - ld.so.1:
> /usr/local/etc/apache/bin/httpd: fatal: relocation error: file
> /export/httpd/php/lib/ispi/calendar.so: symbol main:
> referenced symbol not found
>
> Any idea why that might be happening?
A few more things. This does not happen on Solaris 2.6, I only tried it with
2.7.
Also, if I compile PHP with -fPIC in CFLAGS and then modify functions/dl.c to
have dlopen(RTLD_LAZY|RTLD_GLOBAL) instead of dlopen(RTLD_LAZY), it works
fine.
-Andrey
* I wish life had an UNDO function. *
-- PHP Development Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #1530 Updated: part of docs is missing"
- Previous message: paul <email protected>: "[PHP-DEV] Bug #1530: part of docs is missing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

