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

Reply via email to