On Sep 20, 2011, at 11:01, Johannes Ruscheinski wrote: > I am trying to build a C++ program that uses the MD5() and SHA1() > functions. I think they're being included via the > > #include <openssl/md5.h> > #include <openssl/sha.h> > > include directives. I did add the -lssl linker flag but still get > linker errors complaining about a missing _MD5 and _SHA1. Any ideas > which library I need to add to my linker command line. Also, I am > using a g++ from MacPorts and not the XCode one.
How about adding -lcrypto? This isn't really a MacPorts question. _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
