ID:               33665
 Updated by:       [EMAIL PROTECTED]
 Reported By:      subscription at nazarenko dot net
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Linux SuSE 8.2
 PHP Version:      5.0.4
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2005-07-12 16:57:24] subscription at nazarenko dot net

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 [EMAIL PROTECTED]'
/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 [EMAIL PROTECTED]'
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined
reference to [EMAIL PROTECTED]'
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined
reference to [EMAIL PROTECTED]'
/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 [EMAIL PROTECTED]'
/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 [EMAIL PROTECTED]'
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined
reference to [EMAIL PROTECTED]'
/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 [EMAIL PROTECTED]'
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined
reference to [EMAIL PROTECTED]'
/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 [EMAIL PROTECTED]'
/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 [EMAIL PROTECTED]'
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined
reference to [EMAIL PROTECTED]'
/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 [EMAIL PROTECTED]'
/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 [EMAIL PROTECTED]'
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined
reference to [EMAIL PROTECTED]'
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined
reference to [EMAIL PROTECTED]'
/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 [EMAIL PROTECTED]'
/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 [EMAIL PROTECTED]'
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined
reference to [EMAIL PROTECTED]'
/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 [EMAIL PROTECTED]'
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined
reference to [EMAIL PROTECTED]'
/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 [EMAIL PROTECTED]'
/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 [EMAIL PROTECTED]'
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../libnetsnmp.so: undefined
reference to [EMAIL PROTECTED]'
/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; }



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33665&edit=1

Reply via email to