Bug #3231: php3_dl(...) looks for `get_module' but my compiler sets this to _get_module
| From: | john at dryfish dot org | Date: | Mon, 17 Jan 2000 11:55:33 +0000 |
| Subject: | Bug #3231: php3_dl(...) looks for `get_module' but my compiler sets this to _get_module | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14709@lists.php.net to get a copy of this message | ||
From: john@dryfish.org
Operating system: OpenBSD
PHP version: 3.0.14
PHP Bug Type: Dynamic loading related
Bug description: php3_dl(...) looks for `get_module' but my compiler sets this to _get_module
Compile a dl with gcc 2.8.1. The get_module function is stored in the symbol table as _get_module
meaning that the dlsym(..., 'get_module') in php3_dl() doesn't find it.
A fix would be to make php3_dl() look for _get_module if the search for get_module failed.