RE: [PHP-DEV] Shared extension
| From: | Emanuel Dejanu | Date: | Thu, 10 Jan 2002 15:15:50 +0000 |
| Subject: | RE: [PHP-DEV] Shared extension | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-76494@lists.php.net to get a copy of this message | ||
No is not working for me.
What version of libtool do you have?
-----Original Message-----
From: Andrey Hristov [mailto:ahristov@icygen.com]
Sent: 10 ianuarie 2002 16:34
To: edejanu@route66.ro
Cc: php-dev@lists.php.net
Subject: Re: [PHP-DEV] Shared extension
I've no problems with 4.1.1
I configure my php with this:
./configure --enable-tpl=yes
after make i the ext/tpl I've the tpl.so . In the start of the tpl
development I used two other commands to compile the module
independently from the php module. Never used the apache's sapi only cgi
binary shell.
Also there are some changes in the way the extension is wriiten for 4.1.x
but I think you know that stuff already.
Mandrake 8.1 (native && vmware)
Regards,
Andrey Hristov
P.S.
1)For development purposes I wrote two .sh scripts. One to compile the
module and copy it to a directory with long name (LIKE
'%non-zts-debug%).
and second to execute a test with the newly compiled binary.
2)The two commands I stole from the book "Web Development with PHP". They
can be found here :
http://bg2.php.net/manual/bg/zend.creating.php
----- Original Message -----
From: "Emanuel Dejanu" <edejanu@route66.ro>
To: <php-dev@lists.php.net>
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 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 named myext.so?!!!
>
> How can I activate my extension as a shared module.
> The Apache server is working fine but I can not use my module.
>
> Emanuel
>
> NOTE: I have add the new changes for the versions. The module
> is compile fain, without errors (and without warrnings) but
> the build do not do the .so file only the .o, .a, .la, .lo file.
>
> NOTE: I have SuSE Linux 7.1, 2.2.18-SMP, i686, libc.so.6
> libtool 1.4.2
> gcc 2.95.2
> autoconf 2.13
> flex 2.5.4
> apache 1.3.22
>
>
>
>
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net