Re: php extensions
| From: | Richard Lynch | Date: | Sat, 22 Sep 2001 02:52:46 +0000 |
| Subject: | Re: php extensions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68282@lists.php.net to get a copy of this message | ||
I think you need to create a .so file, not .o and .la...
There are some sample screen shots at http://conf.php.net in
Rasmus' more
recent talks
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: CristóVãO Dalla Costa <spamhere@blackhole.php.net>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Thursday, September 20, 2001 12:06 AM
Subject: php extensions
> I'm trying to create an extension to PHP to provide an access interface to
> the proprietary database server my company uses. However, I cannot seem to
> suceed even at the simplest module, the one provided by ext_skel. I run
> buildconf, configure and compile the module, however dl() won't load the
> resulting .o, libmodule.la saying the file format is invalid. If I
manually
> link the object file to a shared library, dl() will tell me the library is
> invalid.
>
> So I'm stuck. If someone could help me that would be gratly appreciated.
I'm
> using FreeBSD 4.3 and the (patched) PHP sources from the ports tree.
>
> Thanks.
>
> Cristovao Dalla Costa
>
>