|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-07-12 17:03 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 22 20:00:02 2025 UTC |
Description: ------------ Trying to ./configure --with-snmp --enable-cli --disable-cgi -prefix=/usr I have installed net-snmp 5.1.3 + devel rpm's. Am I missing any libraries? Actual result: -------------- config.log has: configure:76426: checking for SNMP support configure:76472: checking OpenSSL dir for SNMP configure:76500: checking for net-snmp-config configure:77666: checking for snmp_parse_oid in -lnetsnmp configure:77685: gcc -o conftest -g -O2 conftest.c -lnetsnmp -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lnetsnmp -lcrypto -lm 1>&5 /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__memcpy_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `EVP_DigestFinal_ex' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `regexec@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__memset_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__strcpy_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `AES_set_encrypt_key' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__fprintf_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `EVP_MD_CTX_cleanup' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__strcat_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__strncat_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `EVP_MD_CTX_init' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__strncpy_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__snprintf_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `DES_cbc_encrypt' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `DES_ncbc_encrypt' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__vsnprintf_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `DES_key_sched' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__printf_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__sprintf_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `AES_cfb128_encrypt' collect2: ld returned 1 exit status configure: failed program was: #line 77674 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char snmp_parse_oid(); int main() { snmp_parse_oid() ; return 0; } configure:77802: checking for init_snmp in -lnetsnmp configure:77821: gcc -o conftest -g -O2 conftest.c -lnetsnmp -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lnetsnmp -lcrypto -lm 1>&5 /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__memcpy_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `EVP_DigestFinal_ex' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `regexec@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__memset_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__strcpy_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `AES_set_encrypt_key' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__fprintf_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `EVP_MD_CTX_cleanup' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__strcat_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__strncat_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `EVP_MD_CTX_init' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__strncpy_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__snprintf_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `DES_cbc_encrypt' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `DES_ncbc_encrypt' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__vsnprintf_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `DES_key_sched' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__printf_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `__sprintf_chk@GLIBC_2.3.4' /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined reference to `AES_cfb128_encrypt' collect2: ld returned 1 exit status configure: failed program was: #line 77810 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char init_snmp(); int main() { init_snmp() ; return 0; }