Any reasons for not making exif and sockets extensions dynamically loadable.

php.internals

Kamesh Jayachandran

21 years ago
Hi All, I could not build exif and sockets extension as a shared extension(Our php set up is like windows PHPTS). With the current config.m4 I get link failure stating that php5lib not found. PHP_SUBST(SOCKETS_SHARED_LIBADD) PHP_SUBST(EXIF_SHARED_LIBADD) in the corresponging config.m4 files would do the needful. Patch is available at, http://puggy.symonds.net/~kameshj/sockets.config.m4.patch http://puggy.symonds.net/~kameshj/exif.config.m4.patch Can I checkin this? With regards Kamesh Jayachandran
-- http://www.fastmail.fm - The professional email service

Jani Taskinen

21 years ago
On Fri, 5 Aug 2005, Kamesh Jayachandran wrote:
> Hi All, > I could not build exif and sockets extension as a shared extension(Our > php set up is like windows PHPTS). > > With the current config.m4 I get link failure stating that php5lib not > found. > > PHP_SUBST(SOCKETS_SHARED_LIBADD) > PHP_SUBST(EXIF_SHARED_LIBADD) in the corresponging config.m4 files would > do the needful.
Neither of the extensions in questions use any external libraries so those lines are unnecessary. --Jani

Kamesh Jayachandran

21 years ago
Hi Jani, In NetWare all extensions/sapis need the php5lib(Core php shared library) which won't be available for these binaries to be linked without the following lines(in PHP_SHARED_MODULE of acinclude.m4 we set MODULE_SHARED_LIBADD), PHP_SUBST(SOCKETS_SHARED_LIBADD) PHP_SUBST(EXIF_SHARED_LIBADD) Can i checkin this? With regards Kamesh Jayachandran On Fri, 5 Aug 2005 23:58:39 +0300 (EEST), "Jani Taskinen" <sniper@iki.fi> said:
> On Fri, 5 Aug 2005, Kamesh Jayachandran wrote: > > > Hi All, > > I could not build exif and sockets extension as a shared extension(Our > > php set up is like windows PHPTS). > > > > With the current config.m4 I get link failure stating that php5lib not > > found. > > > > PHP_SUBST(SOCKETS_SHARED_LIBADD) > > PHP_SUBST(EXIF_SHARED_LIBADD) in the corresponging config.m4 files would > > do the needful. > > Neither of the extensions in questions use any external > libraries so those lines are unnecessary. > > --Jani >
-- http://www.fastmail.fm - IMAP accessible web-mail

Marcus Börger

21 years ago
Hello Kamesh, Saturday, August 6, 2005, 9:49:58 AM, you wrote:
> Hi Jani, > In NetWare all extensions/sapis need the php5lib(Core php shared > library) which won't be available for these binaries to be linked > without the following lines(in PHP_SHARED_MODULE of acinclude.m4 we set > MODULE_SHARED_LIBADD),
> PHP_SUBST(SOCKETS_SHARED_LIBADD) > PHP_SUBST(EXIF_SHARED_LIBADD)
> Can i checkin this?
> With regards > Kamesh Jayachandran
> On Fri, 5 Aug 2005 23:58:39 +0300 (EEST), "Jani Taskinen" > <sniper@iki.fi> said: >> On Fri, 5 Aug 2005, Kamesh Jayachandran wrote: >> >> > Hi All, >> > I could not build exif and sockets extension as a shared extension(Our >> > php set up is like windows PHPTS). >> > >> > With the current config.m4 I get link failure stating that php5lib not >> > found. >> > >> > PHP_SUBST(SOCKETS_SHARED_LIBADD) >> > PHP_SUBST(EXIF_SHARED_LIBADD) in the corresponging config.m4 files would >> > do the needful. >> >> Neither of the extensions in questions use any external >> libraries so those lines are unnecessary.
Regarding exif do as you said i don't see any problem. Best regards, Marcus

Jani Taskinen

21 years ago
Stupid system it is. :) You should handle this differenly but I don't care. Just add those lines if you can't come up with some better solution. --Jani On Sat, 6 Aug 2005, Kamesh Jayachandran wrote:
> Hi Jani, > In NetWare all extensions/sapis need the php5lib(Core php shared > library) which won't be available for these binaries to be linked > without the following lines(in PHP_SHARED_MODULE of acinclude.m4 we set > MODULE_SHARED_LIBADD), > > PHP_SUBST(SOCKETS_SHARED_LIBADD) > PHP_SUBST(EXIF_SHARED_LIBADD) > > Can i checkin this? > > With regards > Kamesh Jayachandran > > On Fri, 5 Aug 2005 23:58:39 +0300 (EEST), "Jani Taskinen" > <sniper@iki.fi> said: >> On Fri, 5 Aug 2005, Kamesh Jayachandran wrote: >> >>> Hi All, >>> I could not build exif and sockets extension as a shared extension(Our >>> php set up is like windows PHPTS). >>> >>> With the current config.m4 I get link failure stating that php5lib not >>> found. >>> >>> PHP_SUBST(SOCKETS_SHARED_LIBADD) >>> PHP_SUBST(EXIF_SHARED_LIBADD) in the corresponging config.m4 files would >>> do the needful. >> >> Neither of the extensions in questions use any external >> libraries so those lines are unnecessary. >> >> --Jani >> > >
-- Donate @ http://pecl.php.net/wishlist.php/sniper