Hello,

I'm trying to get net-snmp to work on amd64 (FreeBSD-6.2) and I'm
getting following error:

aking all in /usr/local/src/net-snmp-5.4.1/snmplib
/bin/sh ../libtool --mode=link gcc -g -O2 -Ufreebsd6
-Dfreebsd6=freebsd6 -rpath /usr/local/lib -version-info 16:0:1 -o
libnetsnmp.la snmp_client.lo mib.lo parse.lo snmp_api.lo snmp.lo
snmp_auth.lo asn1.lo md5.lo snmp_parse_args.lo system.lo
vacm.lo int64.lo read_config.lo pkcs.lo snmp_debug.lo tools.lo
snmp_logging.lo text_utils.lo snmpv3.lo lcd_time.lo keytools.lo
file_utils.lo scapi.lo callback.lo default_store.lo
snmp_alarm.lo data_list.lo oid_stash.lo fd_event_manager.lo
mt_support.lo snmp_enum.lo snmp-tc.lo snmp_service.lo
snprintf.lo strlcpy.lo strtol.lo strtoul.lo strtok_r.lo
snmp_transport.lo snmpUDPDomain.lo snmpTCPDomain.lo snmpUnixDomain.lo
snmpCallbackDomain.lo snmp_secmod.lo snmpusm.lo
snmp_version.lo check_varbind.lo container.lo
container_binary_array.lo container_null.lo container_list_ssll.lo
container_iterator.lo cmu_compat.lo ucd_compat.lo
-L/usr/local/ssl/lib -lcrypto
gcc -shared .libs/snmp_client.o .libs/mib.o .libs/parse.o
..libs/snmp_api.o .libs/snmp.o .libs/snmp_auth.o .libs/asn1.o
..libs/md5.o .libs/snmp_parse_args.o .libs/system.o .libs/vacm.o
..libs/int64.o .libs/read_config.o .libs/pkcs.o .libs/snmp_debug.o
..libs/tools.o .libs/snmp_logging.o .libs/text_utils.o .libs/snmpv3.o
..libs/lcd_time.o .libs/keytools.o .libs/file_utils.o .libs/scapi.o
..libs/callback.o .libs/default_store.o .libs/snmp_alarm.o
..libs/data_list.o .libs/oid_stash.o .libs/fd_event_manager.o
..libs/mt_support.o .libs/snmp_enum.o .libs/snmp-tc.o
..libs/snmp_service.o .libs/snprintf.o .libs/strlcpy.o .libs/strtol.o
..libs/strtoul.o .libs/strtok_r.o .libs/snmp_transport.o
..libs/snmpUDPDomain.o .libs/snmpTCPDomain.o .libs/snmpUnixDomain.o
..libs/snmpCallbackDomain.o .libs/snmp_secmod.o .libs/snmpusm.o
..libs/snmp_version.o .libs/check_varbind.o .libs/container.o
..libs/container_binary_array.o .libs/container_null.o
..libs/container_list_ssll.o .libs/container_iterator.o
..libs/cmu_compat.o .libs/ucd_compat.o -L/usr/local/ssl/lib -lcrypto
-Wl,-soname -Wl,libnetsnmp.so.16 -o .libs/libnetsnmp.so.16
/usr/bin/ld: /usr/local/ssl/lib/libcrypto.a(cversion.o): relocation
R_X86_64_32 can not be used when making a shared object; recompile
with -fPIC
/usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value
*** Error code 1

Stop in /usr/local/src/net-snmp-5.4.1/snmplib.
*** Error code 1

Stop in /usr/local/src/net-snmp-5.4.1.
dd#

--
http://alexus.org/

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216...et/marketplace
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users