PHP 4.0 Bug #9290: snmp+zlib does not work one without the other works
| From: | lehmann at ans-netz dot de | Date: | Thu, 15 Feb 2001 22:43:22 +0000 |
| Subject: | PHP 4.0 Bug #9290: snmp+zlib does not work one without the other works | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-46709@lists.php.net to get a copy of this message | ||
From: lehmann@ans-netz.de
Operating system: FreeBSD 4.2-STABLE
PHP version: 4.0.4pl1
PHP Bug Type: Compile Failure
Bug description: snmp+zlib does not work one without the other works
my configure arguments:
ernie# cat work/php-4.0.4pl1/config.nice
#! /bin/sh
#
# Created by configure
"./configure" \
"--with-apxs=/usr/local/sbin/apxs" \
"--with-ssl=/usr" \
"--enable-versioning" \
"--with-system-regex" \
"--with-config-file-path=/usr/local/etc" \
"--disable-debug" \
"--enable-track-vars" \
"--without-gd" \
"--disable-pear" \
"--with-zlib" \
"--with-mysql=/usr/local" \
"--with-snmp=/usr/local" \
"--enable-ucd-snmp-hack" \
"--prefix=/usr/local" \
"i386--freebsd4.2" \
"$@"
ernie#
the error:
configure:43839: checking for gzgets in -lz
configure:43858: cc -o conftest -O -pipe
-DHARD_SERVER_LIMIT=512
-DDOCUMENT_LOCATION="/usr/local/www/data/"
-DDEFAULT_PATH="/bin:/usr/bin:/usr/local/bin"
-DACCEPT_FILTER_NAME="httpready" -DUSE_EXPAT
-DXML_BYTE_ORDER=12 -L/usr/lib -R/usr/local/lib/mysql
-L/usr/local/lib/mysql -R/usr/local/lib -L/usr/local/lib
conftest.c -lz -lsnmp -lmysqlclient -lm -lcrypt 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'
You can found the complete config.log under
http://www.pofo.de/config.log
I've located the OpenSSL includes under /usr/include/openssl
-- Olli
--
Edit Bug report at: http://bugs.php.net/?id=9290&edit=1