Hi,

I get a build error, when i build ssmtp with ssl-support. I am using
ptxdist-2012.12.0.

/home/meh/projects/pvcontrol/ptxdist/PVCONTROL-ptxdist/platform-mini2440/
sysroot-target/usr/lib/libcrypto.so.1.0.0:
could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: Leaving directory
`/home/meh/projects/pvcontrol/ptxdist/PVCONTROL-ptxdist/platform-mini2440/
build-target/ssmtp-2.64'


This patch resolves the problem.

diff -Naur ssmtp-2.64.orig/configure ssmtp-2.64/configure
--- ssmtp-2.64.orig/configure   2013-01-24 08:03:35.260594453 +0100
+++ ssmtp-2.64/configure        2013-01-25 14:09:52.860939049 +0100
@@ -1562,7 +1562,7 @@
 #define HAVE_SSL 1
 EOF
 
-       LIBS="$LIBS -lssl"
+       LIBS="$LIBS -lssl -lcrypto"
 fi
 enableval=""

Best regards,
Markus


-- 
ptxdist mailing list
[email protected]

Reply via email to