+--------------------------------------------------------------------+ | *** ATTENTION *** | | | | Something is likely to be messed up here, because the configure | | script was not able to detect a simple feature on your platform. | | This is often caused by incorrect configuration parameters. Please | | see the file debug.log for error messages. | | | | If you are unable to fix this, send the file debug.log to the | | [EMAIL PROTECTED] mailing list and include appropiate | | information about your setup. | +--------------------------------------------------------------------+
Hi, Got the above message after configure of PHP4.2.3 on Mandrake 8.2. (A search on php.net bug database did not reveal anything helpful.) $ORACLE_HOME is automounted and running on Solaris 2.6. gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk) After configuring, 'make' & 'make install' runs fine, but when activating libphp4.a for Apache 1.3.26: ./config.status --enable-module=src/modules/php4/libphp4.a configure exits with: /usr/bin/ld: cannot find -lsocket collect2: ld returned 1 exit status Content of debug.log below: debug.log: ========== CONFIGURE: './configure' '--with-apache=/opt/httpd' '--with-config-file-path=/opt/www/conf' '--enable-track-vars' '--with-oci8=/net/nume/disk48/oracle/816' '--enable-sigchild' CC: gcc CFLAGS: -g -O2 CPPFLAGS: CXX: CXXFLAGS: INCLUDES: -I/opt/httpd/src/include -I/opt/httpd/src/os/unix -I$(top_builddir)/Zend -I/opt/php/ext/mysql/libmysql -I/net/nume/disk48/oracle/816/rdbms/public -I/net/nume/disk48/oracle/816/rdbms/demo -I/net/nume/disk48/oracle/816/network/public LDFLAGS: -Wl,-rpath,/net/nume/disk48/oracle/816/lib -L/net/nume/disk48/oracle/816/lib LIBS: -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lcrypt -lnsl -lsocket -lgen -ldl -lsched -lclntsh DLIBS: SAPI: apache PHP_RPATHS: /net/nume/disk48/oracle/816/lib uname -a: Linux hellcat 2.4.18-6mdk #1 Fri Mar 15 02:59:08 CET 2002 i686 unknown gcc -o conftest -g -O2 -Wl,-rpath,/net/nume/disk48/oracle/816/lib -L/net/nume/disk48/oracle/816/lib conftest.c -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lcrypt -lnsl -lsocket -lgen -ldl -lsched -lclntsh 1>&5 /usr/bin/ld: cannot find -lsocket collect2: ld returned 1 exit status =================== -- ======= Rune Kallhovd, CORENA Norge AS, ======= = Dyrmyrgt. 35, N-3611 Kongsberg, NORWAY = = Tlf: +47 32 71 72 17 Fax: +47 32 71 72 01 = == CORENA Home Page: http://www.corena.com == -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php