#33603 [NEW]: PHP Warning: Unknown():brary) 'hello.so'

From: Date: Thu, 07 Jul 2005 13:08:31 +0000
Subject: #33603 [NEW]: PHP Warning: Unknown():brary) 'hello.so'
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-81528@lists.php.net to get a copy of this message
From: ikrabbe dot ask at web dot de Operating system: linux PHP version: 4.3.11 PHP Bug Type: *Web Server problem Bug description: PHP Warning: Unknown():brary) 'hello.so' Description: ------------ Trying to compile a hello.so extension comes down with a Invalid library (maybe not a PHP library). So I ask what qualifies a library to be a php library? phpize does the same as choosing own arguments which I really prefer over phpize, but as a first hit it would be ok to work with phpize. What symbols must exist to qualify my library ? Reproduce code: --------------- config.m4 PHP_ARG_ENABLE(hello, whether to enable Hello World support, [ --enable-hello Enable Hello World support]) if test "$PHP_HELLO" = "yes"; then AC_DEFINE(HAVE_HELLO, 1, [Whether you have Hello World]) PHP_NEW_EXTENSION(hello, hello.c, $ext_shared) fi Example from http://www.zend.com/php/internals/extension-writing1.php#Heading5 -- Edit bug report at http://bugs.php.net/?id=33603&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33603&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33603&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33603&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33603&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33603&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33603&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33603&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33603&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33603&r=support Expected behavior: http://bugs.php.net/fix.php?id=33603&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33603&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33603&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33603&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33603&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33603&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33603&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33603&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33603&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33603&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33603&r=mysqlcfg

« previous php.bugs (#81528) next »