<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
I have seen with <pkg-config libssl --cflags --libs> that
libcrypto has to be added.<br>
Now it's ok<br>
Shouldn't this be set automatically in the /usr/lib/pkg-config stuff
? <br>
<br>
have a nice day <br>
<div class="moz-forward-container"><br>
Philippe<br>
<br>
<br>
-------- Forwarded Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
</th>
<td>libssl</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
<td>Tue, 05 May 2015 09:36:13 +0200</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
<td>Philippe Demeester <a class="moz-txt-link-rfc2396E" href="mailto:phdm@telenet.be"><phdm@telenet.be></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:pkg-openssl-devel@lists.alioth.debian.org">pkg-openssl-devel@lists.alioth.debian.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>Hi,
since the upgrade on debian 8, i have problems with compiling
applications linked to the ssl lib.
I have installed the the ssl lib 1.0 but in the /usr/lib I still see the
0.9.8 version.
In the ll /usr/lib/i386-linux-gnu/libssl*
-rw-r--r-- 1 root root 338784 Dec 27 05:47
/usr/lib/i386-linux-gnu/libssl3.so
lrwxrwxrwx 1 root root 10 Dec 27 05:47
/usr/lib/i386-linux-gnu/libssl3.so.1d -> libssl3.so
-rw-r--r-- 1 root root 520554 Mar 24 22:57 /usr/lib/i386-linux-gnu/libssl.a
lrwxrwxrwx 1 root root 15 Mar 24 22:57
/usr/lib/i386-linux-gnu/libssl.so -> libssl.so.1.0.0
-rw-r--r-- 1 root root 395952 Mar 24 22:57
/usr/lib/i386-linux-gnu/libssl.so.1.0.0
The compiler error:
gcc -lssl sscrypt.c -o sscrypt
/usr/bin/ld: /tmp/ccSiMwcl.o: undefined reference to symbol
'<a class="moz-txt-link-abbreviated" href="mailto:EVP_aes_256_cbc@@OPENSSL_1.0.0">EVP_aes_256_cbc@@OPENSSL_1.0.0</a>'
//usr/lib/i386-linux-gnu/libcrypto.so.1.0.0: error adding symbols: DSO
missing from command line
collect2: error: ld returned 1 exit status
Makefile:15: recipe for target 'sscrypt' failed
make: *** [sscrypt] Error 1
Kind regards
Philippe
</pre>
<br>
</div>
<br>
</body>
</html>