BUG#3264 dlsym("get_module") on OpenBSD
| From: | John Wright | Date: | Wed, 26 Jan 2000 09:41:06 +0000 |
| Subject: | BUG#3264 dlsym("get_module") on OpenBSD | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14925@lists.php.net to get a copy of this message | ||
Hi,
I'm following up to my bug post for no particular reason.
My suggestion for a fix was to make dl.c:dl() do a dlsym("_get_module") if
dlsym("get_module") failed. I could code this if someone wants, not
difficult.
Another alternative would be to get autoconf to see how dlsym() works and
then use either _get_module or get_module as appropriate -- I've not enough
experience in autoconf/m4 to code this.
I think I looked at php4 and the dl() function did the same thing -- didn't
check _get_module.
BFN, John.
--
Dryfish