php.net |  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
Votes:2
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
 [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?

error-message:

conf_init: Error running init function load-modules: dlopen of /usr/netscape/server4/bin/libphp4.so failed (ld.so.1: 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
CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
CXX:
CXXFLAGS:
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
DLIBS:
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 www.g-isac.net 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
ld.so.1: ./conftest: fatal: ared: open failed: No such file or directory

Matthew K Keller

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-03 18:48 UTC] sniper@php.net
reclassified
 [2002-10-09 22:22 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [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?

php-5.1.6

ldd sapi/cli/php
        libmm.so.13 =>   /opt/csw/lib/libmm.so.13
        libpq.so.3 =>    /usr/local/postgresql-7.3.3/lib/libpq.so.3
        libmysqlclient.so.14 =>  /opt/csw/mysql4/lib/mysql/libmysqlclient.so.14
        librt.so.1 =>    /lib/librt.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libm.so.1 =>     /lib/libm.so.1
        libssl.so.0.9.8 =>       /opt/csw/lib/libssl.so.0.9.8
        libcrypto.so.0.9.8 =>    /opt/csw/lib/libcrypto.so.0.9.8
        libz.so =>       /opt/csw/lib/libz.so
        libmhash.so.2 =>         /opt/csw/lib/libmhash.so.2
        libintl.so.3 =>  /opt/csw/lib/libintl.so.3
        libc.so.1 =>     /lib/libc.so.1
        libgd.so.2 =>    /opt/csw/lib/libgd.so.2
        libXpm.so.4.11 =>        /opt/csw/lib/libXpm.so.4.11
        libX11.so.4 =>   /lib/libX11.so.4
        libfontconfig.so.1 =>    /opt/csw/lib/libfontconfig.so.1
        libexpat.so.0 =>         /opt/csw/lib/libexpat.so.0
        libpng12.so.0 =>         /opt/csw/lib/libpng12.so.0
        libfreetype.so.6 =>      /opt/csw/lib/libfreetype.so.6
        libpng.so.3 =>   /opt/csw/lib/libpng.so.3
        libjpeg.so.62 =>         /opt/csw/lib/libjpeg.so.62
        ared =>  (file not found)
        libresolv.so.2 =>        /lib/libresolv.so.2
        libxml2.so.2 =>  /opt/csw/lib/libxml2.so.2
        libdl.so.1 =>    /lib/libdl.so.1
        libpthread.so.1 =>       /lib/libpthread.so.1
        libiconv.so.2 =>         /opt/csw/lib/libiconv.so.2
        libaio.so.1 =>   /lib/libaio.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
        libz.so.1 (SUNW_1.1) =>  (version not found)
        libdga.so.1 =>   /usr/openwin/lib/libdga.so.1
        libthread.so.1 =>        /lib/libthread.so.1

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

debug.log

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
CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
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 -
I/usr/local/postgresql-7.3.3/include
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
DLIBS:
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
ld.so.1: ./conftest: fatal: ared: open failed: No such file or directory
 [2006-10-05 13:03 UTC] destr at ukr dot net
bzip2 library from http://www.blastwave.org/ - 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 \
-lm

-lbz2 =(

---8<---
int
main(char *argv[], int argc)
{
        return 0;
}
---8<---
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC