|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16418 Configures and makes but web server will not start
Submitted: 2002-04-03 18:19 UTC Modified: 2002-10-27 01:00 UTC
Avg. Score:3.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:2 (100.0%)
From: mkeller at iss dot net Assigned:
Status: No Feedback Package: iPlanet related
PHP Version: 4.1.2 OS: Solaris 8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: mkeller at iss dot net
New email:
PHP Version: OS:


 [2002-04-03 18:19 UTC] mkeller at iss dot net
I am able to run configure and make and make install but whenever I try to turn the program on I get the following error, do you have any idea of what the problem is. I have all of the latest stable patches libraries (suggested by you) loaded. What could be the problem?


conf_init: Error running init function load-modules: dlopen of /usr/netscape/server4/bin/ failed ( ns-httpd: fatal: ared: open failed: No such file or directory)

Debug - log 

CONFIGURE:   './configure' '--with-oci8=/OraHome1' '--with-nsapi=/usr/netscape/server4' '--with-gd' '--with-zlib' '--with-png-dir' '
--with-jpeg-dir' '--enable-libgcc' '--enable-track-vars' '--with-t1lib' '--with-freetype-dir' '--without-mysql' '--enable-sigchild'
CC:         gcc
CFLAGS:     -g -O2 -pthreads
INCLUDES:      -I/usr/netscape/server4/plugins/include -I$(top_builddir)/Zend -I/usr/local/include/freetype2/freetype -I/usr/local/i
nclude -I/OraHome1/rdbms/public -I/OraHome1/rdbms/demo
LDFLAGS:     -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -L/usr/local/lib/gcc-lib/sparc-sun-sol
aris2.8/2.95.2 -R/usr/local/lib -L/usr/local/lib -R/OraHome1/lib -L/OraHome1/lib
LIBS:       -lsched -ldl -lgen -lsocket -lnsl -lgd -lt1 -lfreetype -lpng -lz -ljpeg -lz -lcrypt -lresolv -lresolv -lresolv -lm -ldl
-lnsl -lsocket  -lsocket -lgcc -lcrypt -lclntsh
SAPI:       nsapi
PHP_RPATHS:  /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 /usr/local/lib /OraHome1/lib
uname -a:   SunOS 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60

gcc -o conftest -g -O2 -pthreads  -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT  -R/usr/ucblib -L/usr/ucblib -R
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -R/usr/local/lib -L/usr/loca
l/lib -R/OraHome1/lib -L/OraHome1/lib conftest.c -lsched -ldl -lgen -lsocket -lnsl -lgd -lt1 -lfreetype -lpng -lz -ljpeg -lz -lcrypt
 -lresolv -lresolv -lresolv -lm -ldl -lnsl -lsocket  -lsocket -lgcc -lcrypt -lclntsh 1>&5 ./conftest: fatal: ared: open failed: No such file or directory

Matthew K Keller


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-03 18:48 UTC]
 [2002-10-09 22:22 UTC]
Please try using this CVS snapshot:
For Windows:

 [2002-10-27 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2006-10-05 12:12 UTC] destr at ukr dot net
any solution?


ldd sapi/cli/php =>   /opt/csw/lib/ =>    /usr/local/postgresql-7.3.3/lib/ =>  /opt/csw/mysql4/lib/mysql/ =>    /lib/ =>   /lib/ =>        /lib/ =>   /lib/ =>     /lib/ =>       /opt/csw/lib/ =>    /opt/csw/lib/ =>       /opt/csw/lib/ =>         /opt/csw/lib/ =>  /opt/csw/lib/ =>     /lib/ =>    /opt/csw/lib/ =>        /opt/csw/lib/ =>   /lib/ =>    /opt/csw/lib/ =>         /opt/csw/lib/ =>         /opt/csw/lib/ =>      /opt/csw/lib/ =>   /opt/csw/lib/ =>         /opt/csw/lib/
        ared =>  (file not found) =>        /lib/ =>  /opt/csw/lib/ =>    /lib/ =>       /lib/ =>         /opt/csw/lib/ =>   /lib/ =>    /lib/ =>  /usr/openwin/lib/ (SUNW_1.1) =>  (version not found) =>   /usr/openwin/lib/ =>        /lib/

i mean linker error (ared part of shared) but can't find where he occurs


CONFIGURE:   './configure' '--prefix=/usr/local/php-5.1.6' '--enable-fastcgi' '--enable-force-cgi-redirect' '--disable-ipv6' '--enable-memory-limit' '--with-m
ysql=/opt/csw' '--with-mhash=/opt/csw' '--with-mm=/opt/csw' '--with-zlib=/opt/csw' '--with-gd=/opt/csw' '--with-freetype' '--with-freetype-dir=/opt/csw' '--wi
th-jpeg-dir=/opt/csw' '--with-png-dir=/opt/csw' '--with-bz2=/opt/csw' '--with-pgsql=/usr/local/postgresql-7.3.3' '--with-gettext' '--enable-session' '--with-i
conv=/opt/csw' '--with-dom' '--with-libxml-dir=/opt/csw' '--enable-libxml' '--enable-simplexml' '--enable-xml' '--with-config-file-path=/usr/local/php-5.1.6/e
tc' '--without-pear' '--disable-spl'
CC:         gcc
CFLAGS:     -I/opt/csw/include -g -O2
INCLUDES:    -I/opt/csw/include/libxml2 -I/opt/csw/include -I/usr/local/src/php/php-5.1.6/ext/date/lib -I/opt/csw/include/freetype2 -I/opt/csw/include/mysql -
LDFLAGS:    -L/opt/csw/lib  -R/usr/ucblib -L/usr/ucblib -R/opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.5 -L/opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.5 -R/o
pt/csw/lib -L/opt/csw/lib -R/opt/csw/lib/mysql -L/opt/csw/lib/mysql -R/usr/local/postgresql-7.3.3/lib -L/usr/local/postgresql-7.3.3/lib
LIBS:       -lmm -lpq -lmysqlclient -lmhash -liconv -lintl -lgd -lfreetype -lpng -lz -ljpeg -lbz2 -lz -lresolv -lm -ldl -lsocket -lnsl  -lgcc -lxml2 -lz -lico
nv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl
SAPI:       cgi
PHP_RPATHS:  /usr/ucblib /opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.5 /opt/csw/lib /opt/csw/lib/mysql /usr/local/postgresql-7.3.3/lib
uname -a:   SunOS hosting 5.8 Generic_108529-22 i86pc i386 i86pc

gcc -o conftest -I/opt/csw/include -g -O2  -D_POSIX_PTHREAD_SEMANTICS -L/opt/csw/lib  -R/usr/ucblib -L/usr/ucblib -R/opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3
.4.5 -L/opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.5 -R/opt/csw/lib -L/opt/csw/lib -R/opt/csw/lib/mysql -L/opt/csw/lib/mysql -R/usr/local/postgresql-7.3.3/li
b -L/usr/local/postgresql-7.3.3/lib conftest.c -lmm -lpq -lmysqlclient -lmhash -liconv -lintl -lgd -lfreetype -lpng -lz -ljpeg -lbz2 -lz -lresolv -lm -ldl -ls
ocket -lnsl  -lgcc -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl 1>&5 ./conftest: fatal: ared: open failed: No such file or directory
 [2006-10-05 13:03 UTC] destr at ukr dot net
bzip2 library from - after exclude from linking test build without this error

gcc -o conftest \
-I/opt/csw/include -g -O2  -D_POSIX_PTHREAD_SEMANTICS \
-R/usr/ucblib -L/usr/ucblib \
-R/opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.5 -L/opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.5 \
-R/opt/csw/lib -L/opt/csw/lib \
-R/opt/csw/lib/mysql -L/opt/csw/lib/mysql \
-R/usr/local/postgresql-7.3.3/lib -L/usr/local/postgresql-7.3.3/lib \
conftest.c \
-lmm \
-lpq \
-lmysqlclient \
-lmhash \
-liconv \
-lintl \
-lgd \
-lfreetype \
-lpng \
-lz \
-ljpeg \
-lresolv \
-ldl \
-lsocket \
-lgcc \
-lnsl \
-lxml2 \

-lbz2 =(

main(char *argv[], int argc)
        return 0;
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 13 14:01:30 2024 UTC