Your suggestion got me past that error and on to another.  Again I ran my test 
build on both 5.7.1 and 5.7.2.pre1 using both bash and /usr/xpg4/bin/sh and got 
the same exact error with all 4 runs.  Here is the new final response with the 
latest 5.7.2.pre1 using /usr/xpg4/bin/sh typescript attached.

 

libtool: link: ar cru .libs/libnetsnmp.a  snmp_client.o mib.o parse.o 
snmp_api.o snmp.o snmp_auth.o asn1.o md5.o snmp_parse_args.o system.o vacm.o 
int64.o read_config.o pkcs.o snmp_debug.o tools.o snmp_logging.o text_utils.o 
large_fd_set.o cert_util.o snmp_openssl.o snmpv3.o lcd_time.o keytools.o 
scapi.o callback.o default_store.o snmp_alarm.o data_list.o oid_stash.o 
fd_event_manager.o check_varbind.o mt_support.o snmp_enum.o snmp-tc.o 
snmp_service.o snprintf.o snmp_transport.o transports/snmpUDPBaseDomain.o 
transports/snmpUDPIPv4BaseDomain.o transports/snmpTCPBaseDomain.o 
transports/snmpSocketBaseDomain.o transports/snmpIPv4BaseDomain.o 
transports/snmpUDPDomain.o transports/snmpTCPDomain.o 
transports/snmpAliasDomain.o transports/snmpUnixDomain.o 
transports/snmpCallbackDomain.o snmp_secmod.o snmpusm.o snmp_version.o 
container.o container_binary_array.o ucd_compat.o openssl/openssl_sha1.o 
openssl/openssl_md5.o openssl/openssl_set_key.o openssl/openssl_des_enc.o 
openssl/openssl_cbc_enc.o openssl/openssl_aes_cfb.o openssl/openssl_aes_core.o 
openssl/openssl_cfb128.o dir_utils.o file_utils.o container_null.o 
container_list_ssll.o container_iterator.o

../libtool: line 1091: /usr/local/bin/ar: Invalid argument

make[1]: *** [libnetsnmp.la] Error 126

make[1]: Leaving directory `/mpl/net-snmp-5.7.1/snmplib'

make: *** [subdirs] Error 1

$

 

I did take a look in libtool to see if I could figure this out but it looked to 
me like the problem may link back to something that happened previously in the 
run.  Any ideas?

 

Thanks again for your assist.  Looks like we are getting closer...

 

 

Mike Lomax

 

Principal Systems Engineer,

Advanced Technology Solutions

Office (909) 379-0669 

Cell (951) 206-5852

michael.lo...@quadramed.com

 

 

 

Register Now for QuadraMed's 2012 User Group Conference, July 21 - 24, San 
Francisco, CA 

Visit www.portal.quadramed.com/ug12

 

 

-----Original Message-----
From: Niels Baggesen [mailto:n...@users.sourceforge.net] 
Sent: Tuesday, June 12, 2012 2:16 AM
To: Lomax, Michael P.
Cc: net-snmp-coders
Subject: Re: Solaris libtool Error on Make

 

Den 09-06-2012 04:13, Lomax, Michael P. skrev:

> OK...  I was finally able to get my additional attempts completed.  Running 
> as a user rather than as root did change the situation and I did get further 
> through the make process.  However doing the configure and make from either 
> bash or /usr/xpg4/bin/sh and attempting makes with either 5.7.1 or 5.7.2.pre1 
> I get the same results.  Basically it ends with:

> 

> libtool: link: false cru .libs/libnetsnmp.a  snmp_client.o mib.o 

> parse.o snmp_api.o snmp.o snmp_auth.o asn1.o md5.o snmp_parse_args.o 

> system.o vacm.o int64.o read_config.o pkcs.o snmp_debug.o tools.o 

> snmp_logging.o text_utils.o large_fd_set.o cert_util.o snmp_openssl.o 

> snmpv3.o lcd_time.o keytools.o scapi.o callback.o default_store.o 

> snmp_alarm.o data_list.o oid_stash.o fd_event_manager.o 

> check_varbind.o mt_support.o snmp_enum.o snmp-tc.o snmp_service.o 

> snprintf.o snmp_transport.o transports/snmpUDPBaseDomain.o 

> transports/snmpUDPIPv4BaseDomain.o transports/snmpTCPBaseDomain.o 

> transports/snmpSocketBaseDomain.o transports/snmpIPv4BaseDomain.o 

> transports/snmpUDPDomain.o transports/snmpTCPDomain.o 

> transports/snmpAliasDomain.o transports/snmpUnixDomain.o 

> transports/snmpCallbackDomain.o snmp_secmod.o snmpusm.o snmp_version.o 

> container.o container_binary_array.o ucd_compat.o 

> openssl/openssl_sha1.o openssl/openssl_md5.o openssl/openssl_set_key.o 

> openssl/openssl_des_enc.o openssl/op

enssl_c

bc_enc.o openssl/openssl_aes_cfb.o openssl/openssl_aes_core.o 
openssl/openssl_cfb128.o dir_utils.o file_utils.o container_null.o 
container_list_ssll.o container_iterator.o

> make[1]: *** [libnetsnmp.la] Error 1

> make[1]: Leaving directory `/mpl/net-snmp-5.7.2.pre1/snmplib'

> make: *** [subdirs] Error 1

 

Right, we are getting closer. What hits you here is these tests from configure

 

> checking for ar... no

> checking for archiver @FILE support... no checking for strip... no 

> checking for ranlib... no

 

libtool wants to run ranlib on the ld output, but it is not installed.

 

I do know that for Solaris it is actually a dummy, but how libtool decides to 
do its job is beyond our control, so you will have to get the right package 
installed.

 

ranlib should be in SUNWbtool, but so should /usr/ccs/bin/nm, so I am a bit 
surprised that nm is there, while ranlib is not.

 

/Niels

 

--

Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net 
<mailto:n...@users.sourceforge.net> 

The purpose of computing is insight, not numbers   ---   R W Hamming


CONFIDENTIALITY NOTICE:  This email message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential and 
privileged information.  Any unauthorized review, use, disclosure, or 
distribution is prohibited.  If you are not the intended recipient, please 
contact the sender by reply email and destroy all copies of the original 
message.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to