Re: Shared library extensions
| From: | Rasmus Lerdorf | Date: | Thu, 19 Apr 2001 23:32:46 +0000 |
| Subject: | Re: Shared library extensions | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-52023@lists.php.net to get a copy of this message | ||
It should just work. --enable-modname=shared
and then do a 'make' and you should find your .so in the modules/
directory.
-Rasmus
On Thu, 19 Apr 2001, md wrote:
> I am getting very close on making a GNU compiled C extension for PHP4
> using ext_skel.
>
>
> Where does one look to understand what is going on inside the config.m4
> file (m4 files in general)
>
> It is a mystery on how to make a shared library .so file available to
> PHP4.
>
> That is the problem.
>
> How to go from a --enable-modname format where the extension in compiled
> into libphp4.so
> to a shared library .so file where PHP4 can use the dl("TEST.SO) call to
> make those functions available.
>
> Any help and tips would be appreciated.
>
> Mark Diener
> md@socross.com
>
> --
> 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
>