#33603 [Opn->Bgs]: PHP Warning: Unknown():brary) 'hello.so'

From: Date: Thu, 07 Jul 2005 13:11:37 +0000
Subject: #33603 [Opn->Bgs]: PHP Warning: Unknown():brary) 'hello.so'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-81529@lists.php.net to get a copy of this message
ID: 33603 Updated by: tony2001@php.net Reported By: ikrabbe dot ask at web dot de -Status: Open +Status: Bogus Bug Type: *Web Server problem Operating System: linux PHP Version: 4.3.11 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Please ask questions related to custom extensions in pecl-dev@lists.php.net. Previous Comments: ------------------------------------------------------------------------ [2005-07-07 15:08:30] ikrabbe dot ask at web dot de 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 this bug report at http://bugs.php.net/?id=33603&edit=1

« previous php.bugs (#81529) next »