php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9290 snmp+zlib does not work one without the other works
Submitted: 2001-02-15 17:43 UTC Modified: 2001-02-16 05:31 UTC
From: lehmann at ans-netz dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: FreeBSD 4.2-STABLE
Private report: No CVE-ID: None
 [2001-02-15 17:43 UTC] lehmann at ans-netz dot de
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-15 19:47 UTC] sniper@php.net
Use '--with-openssl' instead of --with-ssl..

--Jani

 [2001-02-16 05:29 UTC] lehmann at ans-netz dot de
Thanks, now it works verry fine ;-)
 [2001-02-16 05:31 UTC] derick@php.net
User report: --with-openssl works fine
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 06:01:32 2024 UTC