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

- Thread: https://externals.io/message/17550
- Original archive: https://news-web.php.net/php.internals/17550
- Started by Kamesh Jayachandran on 2005-08-05T14:19:18+00:00
- Messages: 5
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #17550 — Kamesh Jayachandran — 2005-08-05T14:19:18+00:00

URL: https://externals.io/message/17550#17550

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

---

## #17553 — Jani Taskinen — 2005-08-05T20:58:39+00:00

URL: https://externals.io/message/17550#17553 · In reply to: #17550

> 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

---

## #17557 — Kamesh Jayachandran — 2005-08-06T07:49:58+00:00

URL: https://externals.io/message/17550#17557 · In reply to: #17553

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:
> 
> 
> > […]
> 
>      Neither of the extensions in questions use any external
>      libraries so those lines are unnecessary.
> 
>      --Jani
> 

-- 
http://www.fastmail.fm - IMAP accessible web-mail

---

## #17565 — Marcus Boerger — 2005-08-06T21:44:16+00:00

URL: https://externals.io/message/17550#17565 · In reply to: #17557

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:
> > […]

Regarding exif do as you said i don't see any problem.

Best regards,
 Marcus

---

## #17566 — Jani Taskinen — 2005-08-06T22:47:29+00:00

URL: https://externals.io/message/17550#17566 · In reply to: #17557

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




> 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:
> > […]
>
>

-- 
Donate @ http://pecl.php.net/wishlist.php/sniper
