|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-11-10 17:34 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Mar 27 05:00:01 2026 UTC |
When configuring like on my redhat 7.3 box: ./configure \ --with-apache=../apache_1.3.27 --with-gd=/usr \ --with-png-dir=/usr \ --with-jpeg-dir=/usr \ --with-zlib-dir=/usr \ --enable-zlib \ --enable-track-vars \ --with-snmp=/usr/local \ --enable-ucd-snmp-hack \ --with-curl=/usr/local/curl \ --with-openssl=/usr/local/ssl \ --with-mysql=/usr/local/mysql \ --with-freetype-dir=/usr/local/freetype2 I get a failure and this is the output of debug.log: CONFIGURE: './configure' '--with-apache=../apache_1.3.27' '--with-gd=/usr' '--with-png-dir=/usr' '--with-jpeg-dir=/usr' '--with-zlib-dir=/usr' '--enable-zlib' '--enable-track-vars' '--with-snmp=/usr/local/net-snmp' '--enable-ucd-snmp-hack' '--with-curl=/usr/local/curl' '--with-openssl=/usr/local/ssl' '--with-mysql=/usr/local/mysql' '--with-freetype-dir=/usr/local/freetype2' CC: gcc CFLAGS: -g -O2 CPPFLAGS: CXX: CXXFLAGS: INCLUDES: -I/root/monitor/apache_1.3.27/src/include -I/root/monitor/apache_1.3.27/src/os/unix -I$(top_builddir)/Zend -I/usr/local/ssl/include -I/usr/include/freetype2/freetype -I/usr/local/mysql/include/mysql -I/usr/local/net-snmp/include LDFLAGS: -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql -Wl,-rpath,/usr/local/net-snmp/lib -L/usr/local/net-snmp/lib LIBS: -lsnmp -lmysqlclient -lgd -lfreetype -lpng -lz -ljpeg -lcurl -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt -lcurl -lssl -lcrypto -ldl DLIBS: SAPI: apache PHP_RPATHS: /usr/local/ssl/lib /usr/local/mysql/lib/mysql /usr/local/net-snmp/lib uname -a: Linux linuxs 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql -Wl,-rpath,/usr/local/net-snmp/lib -L/usr/local/net-snmp/lib conftest.c -lsnmp -lmysqlclient -lgd -lfreetype -lpng -lz -ljpeg -lcurl -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt -lcurl -lssl -lcrypto -ldl 1>&5 /usr/bin/ld: cannot find -lsnmp collect2: ld returned 1 exit status I have tried with the default snmp .. and with ucd-snmp/net-snmp. I have modified the ld.so.conf to include the libs for net-snmp. I have also configured snmp with shared libraries .. I have tried a install to /usr/local/net-snmp and had the configure point to that dir. ie ./configure --with-snmp /usr/local/net-snmp etc... I cant figure out what its looking for. Can someone help ? Thanks, rod