Re: [PHP-DEV] shared extension linking

2002-08-20 Thread Ron Lange
Hi David, thank you, at least the linking seems to be done now. But if I test the module via dl() following error occours: Warning: Unable to load dynamic library './indi.so' - libmmem.so: cannot open shared object file: No such file or directory in /usr/local/ apache/htdocs/indi/indi.php on l

Re: [PHP-DEV] shared extension linking

2002-08-19 Thread David Eriksson
On Mon, 19 Aug 2002, Ron Lange wrote: > Hi David, > David Eriksson wrote: > > Use PHP_ADD_LIBRARY_WITH_PATH or PHP_ADD_LIBRARY in your config.m4 > > > Already done... > My config.m4: > Note: IndiComm, ndr and mmem have to be statically linked into this module! > -

Re: [PHP-DEV] shared extension linking

2002-08-19 Thread Ron Lange
Hi David, David Eriksson wrote: > Use PHP_ADD_LIBRARY_WITH_PATH or PHP_ADD_LIBRARY in your config.m4 > Already done... My config.m4: Note: IndiComm, ndr and mmem have to be statically linked into this module! -- INDI_PROJECT_PATH="/home/ron/INDI

Re: [PHP-DEV] shared extension linking

2002-08-19 Thread David Eriksson
On Mon, 19 Aug 2002, Ron Lange wrote: > Hello, > I need to link some external libs statically into a shared php extension. > If I compile this extension statically with php, all external libs also > linked statically in, the extension can be used. > > I can't figure out how I have to modify th

[PHP-DEV] shared extension linking

2002-08-19 Thread Ron Lange
Hello, I need to link some external libs statically into a shared php extension. If I compile this extension statically with php, all external libs also linked statically in, the extension can be used. I can't figure out how I have to modify the many configuration files to get the additional l

RE: [PHP-DEV] Shared extension

2002-01-10 Thread Emanuel Dejanu
No is not working for me. What version of libtool do you have? -Original Message- From: Andrey Hristov [mailto:[EMAIL PROTECTED]] Sent: 10 ianuarie 2002 16:34 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] Shared extension I've no problems with 4.1.1 I configu

Re: [PHP-DEV] Shared extension

2002-01-10 Thread Andrey Hristov
al Message - From: "Emanuel Dejanu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 10, 2002 4:12 PM Subject: [PHP-DEV] Shared extension > > Hi, > > I have switch to 4.1.1 from 4.0.6 my extension is > not compiled any more as a shared libra

[PHP-DEV] Shared extension

2002-01-10 Thread Emanuel Dejanu
Hi, I have switch to 4.1.1 from 4.0.6 my extension is not compiled any more as a shared library (myext.so). I use the following (build as apache sapi) ./configure --enable-myext=shared ...(rest of conf params) after make; make install I found in the extension directory myext.a but not file nam

[PHP-DEV] Shared extension with needed static library.

2001-10-18 Thread Emanuel Dejanu
How can I link my extension to a statical linked library? If I use this config file my extension is compiled but when run my test I get (in apache error_log): /mnt/disk1/home/edejanu/apache/aps/bin/httpd: error while loading shared libraries: /mnt/disk1/home/edejanu/apache/aps/lib/php/20001222/ph

[PHP-DEV] shared extension module and 4.0.5

2001-05-01 Thread Eric Callier
Hello, I just upgrade from php4.04pl1 to 4.05. And now I got undefined symbol in my extension module on array_init function. My module is an shared object link with php4 library gcc -shared -fPIC -DPIC -L/usr/src/php/.libs -rdynamic -fexceptions -o php_mymodule.so $(MY_OBJECTS_LIST) -lpthrea