Greetings everyone,
I have a PIII 850 box running RH7.1 and have encountered a problem with
adding snmp support to php4. I hope that someone has a suggestion as to how
to fix this....here are the details:
RPMs installed:
(I am using the stock rpms from the RH7.1 distro for apache, mysql, and
ucd-snmp)
apache-1.3.19-5 (and it's devel rpm)
mysql-3.23.36-1 (and it's devel rpm, server and client rpms)
ucd-snmp-4.2-12 (and it's devel and utils rpms)
PHP compiles fine, but apache won't startup due to a symbol error:
Cannot load libphp4.so into server: /usr/lib/libsnmp-0.4.2.so: undefined
symbol: EVP_DigestInit
If anyone can't already tell, I am compiling php4 as a loadable module, and
not with apache itself.
debug.log:
CONFIGURE: './configure' '--prefix=/usr' '--with-config-file-path=/etc'
'--enable-pic' '--enable-shared' '--enable-inline-optimization'
'--with-apxs=/usr/sbin/apxs' '--with-exec-dir=/usr/bin'
'--with-regex=system' '--with-gettext' '--with-gd' '--with-jpeg-dir=/usr'
'--with-png' '--with-db2' '--with-db3' '--with-gdbm' '--enable-debugger'
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets'
'--enable-sysvsystem' '--enable-sysvshm' '--enable-track-vars'
'--enable-ftp' '--enable-wddx' '--with-mysql' '--without-oracle'
'--without-oci8' '--with-xml' '--with-snmp' '--with-versioning'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DLINUX=22 -DMOD_SSL=208101 -DEAPI -DEAPI_MM -DUSE_EXPAT
CXX:
CXXFLAGS:
INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend
-I/usr/include/freetype -I/root/php-4.0.4pl1/ext/mysql/libmysql
-I/usr/include/ucd-snmp
LDFLAGS:
LIBS: -lsnmp -lttf -lz -lpng -lgd -ljpeg -ldb -ldb2 -lgdbm -lresolv
-lm -ldl -lcrypt -lnsl -lresolv -L/usr/lib -ljpeg
DLIBS:
SAPI: apache
PHP_RPATHS:
uname -a: Linux Thor.lfc.edu 2.4.2-2 #1
Sun Apr 8 20:41:30 EDT 2001 i686 unknown
gcc -o conftest -g -O2 -DLINUX=22
-DMOD_SSL=208101 -DEAPI -DEAPI_MM -DUSE_EXPAT conftest.c -lsnmp -lttf -lz
-lpng -lgd -ljpeg -ldb -ldb2 -lgdbm -lresolv -lm -ldl -lcrypt -lnsl
-lresolv -L/usr/lib -ljpeg 1>&5
/usr/lib/libsnmp.so: undefined reference to `EVP_DigestInit'
/usr/lib/libsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/lib/libsnmp.so: undefined reference to `EVP_md5'
/usr/lib/libsnmp.so: undefined reference to `HMAC'
/usr/lib/libsnmp.so: undefined reference to `EVP_sha1'
/usr/lib/libsnmp.so: undefined reference to `des_cbc_encrypt'
/usr/lib/libsnmp.so: undefined reference to `des_key_sched'
/usr/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate'
/usr/lib/libsnmp.so: undefined reference to `RAND_bytes'
/usr/lib/libsnmp.so: undefined reference to `des_ncbc_encrypt'
collect2: ld returned 1 exit status
Any sugestions/help would be greatly appreciated. Thanx in advance for any
time that anyone gives to this problem.
Nicholas
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]