PHP+SNMP
| From: | Cleiton Peres Reis | Date: | Mon, 23 Jul 2001 18:02:20 +0000 |
| Subject: | PHP+SNMP | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3686@lists.php.net to get a copy of this message | ||
Hello,
I'm getting some problems trying to compile PHP+SNMP, my configure line
it's :
"./configure --with-apache=../apache_1.3.20/ --with-pgsql=/usr/lib/pgsql/
--with-snmp=/usr/local/src/ucd-snmp-4.2.1/ --enable-ucd-snmp-hack
--enable-track-vars "
and a message after the configure line is showed, saying that's a problems
with the parameter line, here is my "debug.log" file :
----DEBUG.LOG---------Start-of-File----------------------------------------
CONFIGURE: './configure' '--with-apache=../apache_1.3.20/'
'--with-pgsql=/usr/lib/pgsql/'
'--with-snmp=/usr/local/src/ucd-snmp-4.2.1/' '--enable-ucd-snmp-hack'
'--enable-track-vars'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/src/apache_1.3.20/src/include
-I/usr/local/src/apache_1.3.20/src/os/unix -I$(top_builddir)/Zend
-I/usr/local/src/php-4.0.6/ext/mysql/libmysql
-I/usr/local/src/ucd-snmp-4.2.1//include
LDFLAGS: -Wl,-rpath,/lib -L/lib
-Wl,-rpath,/usr/local/src/ucd-snmp-4.2.1//lib
-L/usr/local/src/ucd-snmp-4.2.1//lib
LIBS: -lsnmp -lpq -lcrypt -lresolv -lm -ldl -lnsl -lresolv
DLIBS:
SAPI: apache
PHP_RPATHS: /lib /usr/local/src/ucd-snmp-4.2.1//lib
uname -a: Linux linux-laptop.ucpel.tche.br 2.2.17-14cl #1 ter jun 19
23:52:18 EST 2001 i686 unknown
gcc -o conftest -g -O2 -DSUPPORT_UTF8 -Wl,-rpath,/lib -L/lib
-Wl,-rpath,/usr/local/src/ucd-snmp-4.2.1//lib
-L/usr/local/src/ucd-snmp-4.2.1//lib conftest.c -lsnmp -lpq -lcrypt
-lresolv -lm -ldl -lnsl -lresolv 1>&5
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestInit'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_md5'
/usr/local/lib/libsnmp.so: undefined reference to `HMAC'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_sha1'
/usr/local/lib/libsnmp.so: undefined reference to `des_cbc_encrypt'
/usr/local/lib/libsnmp.so: undefined reference to `des_key_sched'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate'
/usr/local/lib/libsnmp.so: undefined reference to `RAND_bytes'
/usr/local/lib/libsnmp.so: undefined reference to `des_ncbc_encrypt'
collect2: ld returned 1 exit status
--------DEBUG.LOG-----------------------------------End-of-File-----------
Versions of my system :
php-4.0.6 (tar.gz)
apache_1.3.20 (tar.gz)
ucd-snmp-4.2.1 (tar.gz)
postgresql-7.0.2-19cl (RPM Conectiva)
glibc-2.1.3-18cl
Distribution Conectiva Linux 6.0
-----------------------------------------------------------------------------
What's going on ?? anybody can help me ?
regards.
########################################
Catholic University of Pelotas
BRAZIL-RS
Cleiton Peres Reis - wild@atlas.ucpel.tche.br