[AGENT++] Help: add -lssl to the link command?
Jochen Katz
katz at agentpp.com
Mon Oct 31 16:49:51 CET 2005
Hi,
> Where should I add the -lssl to the link command. I know I'm dummy about
> this. Could you please specify this for me.
you can modify common.mk for this: Below is the last CRYPTOLIB line
changed for ssl in the path /usr/local/lib.
# Set crypto lib to use
ifneq ($(wildcard $(LIBTOMCRYPT)),)
CRYPTOLIB = -L$(LIBTOMCRYPTPATH) -ltomcrypt
else
ifneq ($(wildcard $(LIBDES)),)
CRYPTOLIB = -L$(LIBDESPATH) -ldes
else
CRYPTOLIB = -L/usr/local/lib -lssl
endif
endif
But for the agent++ examples you can also just call make like this:
SYSLIBS="-lssl -L/usr/local/lib" make -f Makefile.linux
Regards,
Jochen
More information about the AGENTPP
mailing list