A quick way to diagnose if this is your problem is:
nm module.so | grep get_module
If the grep doesn't give any output, this is your problem.
- Stig
On Wed, 2002-07-03 at 16:36, Rafa Rodriguez Hernandez wrote:
> Hi everybody.
>
> I'm having a problem with php extensions.
>
> I have a module
On Wed, 3 Jul 2002, Rafa Rodriguez Hernandez wrote:
>
>#if COMPILE_DL_GD
>ZEND_GET_MODULE(gd)
>#endif
>
>I compile with this:
>gcc -rdynamic -fpic -DCOMPILE_DL=1 -I/opt/php/include/php/main/
>-I/opt/php/include/php/TSRM/ -I/opt/php/include/php/Zend/ -I/opt/php/include/php/ -c
>gd.c
You need
>
> This is exactly the problem. I've not seen any other scenario
> where you get this error message yet. Make double sure
> COMPILE_DL_module is properly defined (btw, all uppercase
> normally, maybe that's the problem).
>
> - Markus
I'm trying with a simple module. For exa
Recuerdo que era Wed, 3 Jul 2002 17:38:08 +0200 y Markus Fischer
<[EMAIL PROTECTED]> tecleo:
> On Wed, Jul 03, 2002 at 05:09:28PM +0200, Rafa Rodriguez Hernandez wrote :
> > >
> > > This is exactly the problem. I've not seen any other scenario
> > > where you get this error message yet
On Wed, Jul 03, 2002 at 05:09:28PM +0200, Rafa Rodriguez Hernandez wrote :
> >
> > This is exactly the problem. I've not seen any other scenario
> > where you get this error message yet. Make double sure
> > COMPILE_DL_module is properly defined (btw, all uppercase
> > normally,
On Wed, Jul 03, 2002 at 04:36:43PM +0200, Rafa Rodriguez Hernandez wrote :
> The module compiles fine.. but when php try to load it, I get this response:
> PHP Warning: Invalid library (maybe not a PHP library) 'module.so' in Unknown on
>line 0
>
> I have in the source code this:
>
> #if COM
Hi everybody.
I'm having a problem with php extensions.
I have a module that I want to load dynamicly with php.
In the php.ini file I have the next line
extension=module.so
The module compiles fine.. but when php try to load it, I get this response:
PHP Warning: Invalid library (maybe not a