Bug #2439: Invalid library (maybe not a PHP3 library) 'calendar.so'
| From: | gorm at insolwwb dot net | Date: | Mon, 04 Oct 1999 20:52:04 +0000 |
| Subject: | Bug #2439: Invalid library (maybe not a PHP3 library) 'calendar.so' | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11520@lists.php.net to get a copy of this message | ||
From: gorm@insolwwb.net
Operating system: FreeBSD 3.1
PHP version: 3.0.12
PHP Bug Type: Dynamic loading related
Bug description: Invalid library (maybe not a PHP3 library) 'calendar.so'
I've followed the directions in dl/README
to a T trying to compile calendar.so
I did run into Bug id #2208, but got around that.
calendar.so seems to compile fine.
phpinfo() indicates that dynamic loading is enabled...
I copied the calendar.so file to the web doc tree, where
i've also created the following php3 script:
<?
dl("calendar.so");
phpinfo();
echo jdmonthname(1,3);
?>
When I try to access the php3 doc, I get the error\
Warning: Invalid library (maybe not a PHP3 library) 'calendar.so' in (null) on line 2
I've also tried to force it to load inside the php3.ini file. I don't get the above error
message, but it doesnt see the jdmonthname function either...
I know php4 is supposed to handle dynamic loading better, but another individual who I've been
working with to solve this problem had the same problem with 4.0b2. Incidentally, he is usuing
FreeBSD 3.2
Since I havent recieved any response in the mailing list about this, I figure if nothing else, it
should be brought to the team's attention.