Re: Relocation error for precompiled shared module extension.

From: Date: Mon, 22 Sep 2003 08:23:09 +0000
Subject: Re: Relocation error for precompiled shared module extension.
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-34@lists.php.net to get a copy of this message
> I'd normally post this to the internals list but I think that this group > is the new, more appropriate list. Correct me if I'm wrong :) Here is good :) > php: relocation error: /usr/lib/php4/php_interjinn.so: undefined symbol: > _ecalloc > I found similar information on Google suggesting, though not > indefinately, that this is due to PHP version incompatibility. Can > anyone verify that this is indeed the cause? It does sound like that is the cause. Which version of PHP do you have and which version does your user have? > For the sake of providing > more complete information, the shared module works fine on my system and > was compiled under linux with the following command lines: > > cc -fpic -DCOMPILE_DL_INTERJINN=1 \ > -Iext/interjinn/ -Iinclude -Imain -I. -IZend -ITSRM \ > -c -o ext/interjinn/interjinn.o ext/interjinn/interjinn.c > > cc -shared -L/usr/local/lib -rdynamic -o \ > ext/interjinn/interjinn.so \ > ext/interjinn/interjinn.o Can you try building your extension using the "phpize" tool? (or is that sequence of commands generated by phpize?) --Wez.

« previous php.pecl.dev (#34) next »