#16354 [Com]: Error: file libs/libphp4.sl is not a DSO

From: Date: Fri, 09 Aug 2002 18:56:24 +0000
Subject: #16354 [Com]: Error: file libs/libphp4.sl is not a DSO
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16401@lists.php.net to get a copy of this message
ID: 16354 Comment by: sbrown@redrocks.com Reported By: vlima@csc.com Status: Bogus Bug Type: Compile Failure Operating System: HP-UX 11.00 PHP Version: 4.1.2 New Comment: I get nearly the same response on Mac OS X durring make making in . che2filter/libsapi.la main/libmain.la regex/libregex.la /Volumes/Unit/src/php-4.2.2/ext/zlib/libzlib.la /Volumes/Unit/src/php-4.2.2/ext/calendar/libcalendar.la /Volumes/Unit/src/php-4.2.2/ext/ctype/libctype.la /Volumes/Unit/src/php-4.2.2/ext/exif/libexif.la /Volumes/Unit/src/php-4.2.2/ext/ftp/libftp.la /Volumes/Unit/src/php-4.2.2/ext/gettext/libgettext.la /Volumes/Unit/src/php-4.2.2/ext/imap/libimap.la /Volumes/Unit/src/php-4.2.2/ext/mbstring/libmbstring.la /Volumes/Unit/src/php-4.2.2/ext/mysql/libmysql.la /Volumes/Unit/src/php-4.2.2/ext/openssl/libopenssl.la /Volumes/Unit/src/php-4.2.2/ext/pcre/libpcre.la /Volumes/Unit/src/php-4.2.2/ext/posix/libposix.la /Volumes/Unit/src/php-4.2.2/ext/session/libsession.la /Volumes/Unit/src/php-4.2.2/ext/sockets/libsockets.la /Volumes/Unit/src/php-4.2.2/ext/standard/libstandard.la /Volumes/Unit/src/php-4.2.2/ext/tokenizer/libtokenizer.la /Volumes/Unit/src/php-4.2.2/ext/wddx/libwddx.la /Volumes/Unit/src/php-4.2.2/ext/xml/libxml.la /Volumes/Unit/src/php-4.2.2/ext/yp/libyp.la TSRM/libtsrm.la -lc-client -lintl -lz -lssl -lcrypto -lm *** Warning: This library needs some functionality provided by -lc-client. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. /Volumes/Unit/src/php-4.2.2/.libs Making all in pear Previous Comments: ------------------------------------------------------------------------ [2002-03-29 16:36:39] derick@php.net Reopening old bug, bugusifying this one ------------------------------------------------------------------------ [2002-03-29 16:31:48] vlima@csc.com I am still having this problem that was previously mentioned here to be an apache error. Well, i have the latest apache and PHP code, and still have this problem. Here are my versions of software: binutils 2.11.2 binutils bison 1.34 bison flex 2.5.4a flex gcc 3.0.1 gcc libiconv 1.7 libiconv libpcap 0.6.2 libpcap make 3.79.1 make apache 1.3.23 apache mod_ssl 2.8.7 mod_ssl openssl 0.9.6c openssl mysql 3.23.39 mysql php 4.1.2 php Configure works without a problem. Here is what I am doing for configure: ./configure --prefix=/opt/php --enable-track-vars --with-apxs=/opt/apache/bin/apxs --enable-libgcc --with-mysql=/opt/mysql "make" works except I get the following messages: <<<<---START---->>>> /bin/sh /opt/patches/php-4.1.2/libtool --silent --mode=link gcc -I. -I/opt/patches/php-4.1.2/ -I/opt/patches/php-4.1.2/main -I/opt/patches/php-4.1.2 -I/opt/apache/include -I/opt/patches/php-4.1.2/Zend -I/opt/mysql/include -I/opt/patches/php-4.1.2/ext/xml/expat -DHPUX11 -DMOD_SSL=208107 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I/opt/patches/php-4.1.2/TSRM -g -O2 -prefer-pic -o libphp4.la -rpath /opt/patches/php-4.1.2/libs -avoid-version -L/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1 -L/opt/mysql/lib -R /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1 -R /opt/mysql/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lpam -lmysqlclient -lcrypt -lm -lnsl -lgcc -lcrypt *** Warning: This library needs some functionality provided by -lcrypt. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lcrypt. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lmysqlclient. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lcrypt. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lgcc. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lcrypt. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. Making all in pear <<<<---END---->>>>> Then when attempting to do "make install", here's the real kicker: <<<---START-->>>> Making install in Zend Making install in main Making install in ext Making install in mysql Making install in pcre Making install in pcrelib Making install in posix Making install in session Making install in standard Making install in xml Making install in expat Making install in sapi Making install in apache /bin/sh /opt/patches/php-4.1.2/libtool --silent --mode=link gcc -I. -I/opt/patches/php-4.1.2/sapi/apache -I/opt/patches/php-4.1.2/main -I/opt/patches/php-4.1.2 -I/opt/apache/include -I/opt/patches/php-4.1.2/Zend -I/opt/mysql/include -I/opt/patches/php-4.1.2/ext/xml/expat -DHPUX11 -DMOD_SSL=208107 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I/opt/patches/php-4.1.2/TSRM -g -O2 -prefer-pic -o libsapi.la sapi_apache.lo mod_php4.lo php_apache.lo Making install in TSRM /bin/sh ../libtool --silent --mode=link gcc -g -O2 -prefer-pic -o libtsrm.la TSRM.lo tsrm_strtok_r.lo tsrm_virtual_cwd.lo Making install in regex Making install in . /bin/sh /opt/patches/php-4.1.2/libtool --silent --mode=link gcc -I. -I/opt/patches/php-4.1.2/ -I/opt/patches/php-4.1.2/main -I/opt/patches/php-4.1.2 -I/opt/apache/include -I/opt/patches/php-4.1.2/Zend -I/opt/mysql/include -I/opt/patches/php-4.1.2/ext/xml/expat -DHPUX11 -DMOD_SSL=208107 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -I/opt/patches/php-4.1.2/TSRM -g -O2 -prefer-pic -o libphp4.la -rpath /opt/patches/php-4.1.2/libs -avoid-version -L/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1 -L/opt/mysql/lib -R /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1 -R /opt/mysql/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lpam -lmysqlclient -lcrypt -lm -lnsl -lgcc -lcrypt *** Warning: This library needs some functionality provided by -lcrypt. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lcrypt. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lmysqlclient. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lcrypt. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lgcc. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This library needs some functionality provided by -lcrypt. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. /opt/patches/php-4.1.2/build/shtool mkdir -p "/opt/apache/libexec" && /opt/apache/bin/apxs -S LIBEXECDIR="/opt/apache/libexec" -i -a -n php4 libs/libphp4.sl apxs:Error: file libs/libphp4.sl is not a DSO *** Error exit code 1 Stop. *** Error exit code 1 Stop. <<<---END---->>>> I've attempted renaming the libs/libphp4.sl to .so and no luck. Can anyone help out? Thanks, Vinnie ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16354&edit=1

« previous php.bugs (#16401) next »