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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to