# configure error under solaris in PHP 4.3.2

- Thread: https://externals.io/message/2068
- Original archive: https://news-web.php.net/php.internals/2068
- Started by Uwe Schindler on 2003-05-28T15:54:47+00:00
- Messages: 4
- 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

---

## #2068 — Uwe Schindler — 2003-05-28T15:54:47+00:00

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

during configure of PHP 4.3.2-RC3 under solaris 9 the following occurs:
checking for dlfcn.h... no

this leads to the fact that no dynamic things never work and compiler 
warning that "dlsym" is undefined occurs. This header file is available 
under /usr/include so it should normally work... Is this fixed in RC4 (I 
cannot use RC4 under solaris because of the missing fd-patch).

Uwe

---

## #2069 — Sascha Schumann — 2003-05-28T15:57:42+00:00

URL: https://externals.io/message/2068#2069 · In reply to: #2068

> during configure of PHP 4.3.2-RC3 under solaris 9 the following occurs:
> checking for dlfcn.h... no
>
> this leads to the fact that no dynamic things never work and compiler
> warning that "dlsym" is undefined occurs. This header file is available
> under /usr/include so it should normally work... Is this fixed in RC4 (I
> cannot use RC4 under solaris because of the missing fd-patch).

    Works here with php4-STABLE-200305280330 and GCC.

    $ grep DLFCN main/php_config.h
    #define HAVE_DLFCN_H 1
    $ uname -a
    SunOS foo 5.9 Generic_112233-05 sun4u sparc SUNW,Ultra-5_10

    - Sascha

---

## #2078 — Uwe Schindler — 2003-05-29T12:55:54+00:00

URL: https://externals.io/message/2068#2078 · In reply to: #2068

Still not working in php4-STABLE-200305291130:

bash-2.05$ CC=cc ./configure --prefix=/pangaea/PHP4 --disable-cli 
--with-nsapi=/pangaea/webserver --with-sybase-ct=$SYBASE --without-mysql 
--enable-sysvshm --enable-sysvsem --enable-ftp --enable-versioning 
--enable-session --enable-trans-sid --with-zlib
...

bash-2.05$ grep DLFCN main/php_config.h
/* #undef HAVE_DLFCN_H */

bash-2.05$ uname -a
SunOS edvs0 5.9 Generic_112233-04 sun4u sparc SUNW,Sun-Fire-880

bash-2.05$ ls -l /usr/include | grep dlfcn
-rw-r--r--   1 root     bin         5365 Dec 17 00:23 dlfcn.h

Whats wrong? All other header files are correctly detected. Compilation 
works only correctly if line in php_config.h is changed to yours.

At 17:57 28.05.2003 +0200, you wrote:
>
>
> > […]
>
>     Works here with php4-STABLE-200305280330 and GCC.
>
>     $ grep DLFCN main/php_config.h
>     #define HAVE_DLFCN_H 1
>     $ uname -a
>     SunOS foo 5.9 Generic_112233-05 sun4u sparc SUNW,Ultra-5_10
>
>     - Sascha
>
>--
>
>

-----
Uwe Schindler
Addr 1: Bamberger Str. 24a, D-96049 Bamberg
Addr 2: Drausnickstr. 153, D-91052 Erlangen
http://www.thetaphi.de - http:///www.schindlers-software.de
eMails: uwe@thetaphi.de (private); info@schindlers-software.de (company)
Tel./Fax: +49 700 PCLATEIN (+49 700 72528346)

Schindlers Software - Home of Schindlers PC-LATEIN 3.10
DIE Software zum Lateinlernen!

---

## #2079 — Sascha Schumann — 2003-05-29T13:02:17+00:00

URL: https://externals.io/message/2068#2079 · In reply to: #2078

> Still not working in php4-STABLE-200305291130:

    Look at config.log, locate the dlfcn.h check and you will see
    why the check is failing.

    - Sascha
