Are you attempting to build this on Linux? If so you need to have a complete installation. Not partial when installing on linux. You will get missing libraries if you only partially installing and yes lcrypto is one of those missing libs. I also hit this problem.
Cheers, Garyc ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 01, 2004 12:51 PM Subject: Linking to static Net-SNMP libraries > I'm trying to confirm that a problem I'm having with 5.2rc1 is in my use of dynamic libraries leading to some conflict but when I try to link against static libraries, I get an error. I've modified the Makefile link line for my client to: > > $(CC) $(CFLAGS) -o $(PROGNAME) $(OBJS) \ > -static -lnetsnmp -dynamic -ldl -lcrypto -lm > > But I get: > > ld: cannot find -lcrypto > collect2: ld returned 1 exit status > > I know I'm a little dim this week but shouldn't surrounding "-lnetsnmp" by "-static" and "-dynmaic" leave everything else unchanged? > > TIA > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > 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 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ 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
