Rasmus Lerdorf wrote:
> > Exactly.  When you do ./configure --with-foo=shared; make
> > then modules/foo.so will appear magically and you can dl() that or load it
> > using "extension=foo.so" in your php.ini.  You don't have to recompile
> > PHP.
> >
> > -Rasmus
> I am afraid that is only theory. I tried that for the snmp module and all I get
> is a linker error about unreferenced symbols, when I try to load it.

Which symbols?

This is the error message I get:
Warning: Unable to load dynamic library '/usr/local/lib/php/modules/snmp.so' - ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/lib/php/modules/snmp.so: symbol alloc_globals: referenced symbol not found in /usr/local/apache/htdocs/snmp.php on line 3
PHP General 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