Trying to create shared module
| From: | Richard Heyes | Date: | Sat, 24 Feb 2001 17:33:30 +0000 |
| Subject: | Trying to create shared module | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47383@lists.php.net to get a copy of this message | ||
I'm doing the following with 4.04pl1 starting in the ext dir:
./ext_skel --extname=heyes
cd heyes
<edit config.m4 and uncomment the --enable-... thing>
phpize
./configure --enable-heyes=shared
make install
The heyes.so file gets copied into
/usr/local/lib/php/extensions/no-debug.../, but when running php -a in that
folder and doing:
<?php
dl('./heyes.so');
produces this error:
Invalid library (maybe not a PHP library) './heyes.so'
Anyone seen this before?
TIA
--
Richard Heyes