that is exactly what i did, i'd gladly let you in to my system or perhaps i can attach a log file to show you step by step w/ output of those commands and the end of it ends as i state in my very first email, which is
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# On Jan 16, 2008 1:29 AM, Tsurutani Naoki <[EMAIL PROTECTED]> wrote: > Hi, > > alexus <[EMAIL PROTECTED]> wrote: > > > what do you mean by recompiling ssl libraries in a correct manner? > > I do not know the way you installed ssl and net-snmp, > but I guess, from your original e-mail, you installed openssl > onto /usr/local/ssl and tried to build net-snmp using it. > > OpenSSL: > % tar zxvf openssl-0.9.8g.tar.gz > % cd openssl-0.9.8g > % ./config -openssldir=/usr/local/ssl > % make > % su > # make install > > net-snmp: > % tar zxvf net-snmp-5.4.1.tar.gz > % cd net-snmp-5.4.1 > % ./configure --with-openssl=/usr/local/ssl > % make > > I tried in above way, and I did not find any problems while building. > > If you can use openssl of the base system instead of using that you installed, > no arguments are necessary for ./configure. > > --- > > Tsurutani Naoki > [EMAIL PROTECTED] > -- http://alexus.org/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
