You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
no matter what I do, it ends up linking to the system files:
libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007f83a6248000)
libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007f83a5e68000)
it should be linking to the ones in
ls /UCHC/HPC/Gooch/biotoolmodules/openssl/1.0.2a/lib/
engines libcrypto.a libcrypto.so libcrypto.so.1.0.0 libssl.a libssl.so libssl.so.1.0.0 pkgconfig
what do I need to tell the configure script to accomplish this?
Is that what ldd shows? If so, you need to make sure it picks the right libs at run-time, so it depends on your /etc/ld.so.conf setup. And you can also specify dir with LD_LIBRARY_PATH
it wasn't a runtime link problem because that soname was the system version of openssl which was not binary compatible with the one I wanted it to use. When I added an additional line forcing it to give a directory path to the linker it then was able to find the correct library.
I'm still not quite sure why this was happening nor why I had to go out of my way to be explicit. I already HAD the runtime AND compile time environmental variables set, and it was defaulting to the system path library anyway.
Hi
I'm trying to compile with openssl git, but it returns the following error:
openssl.c: In function ‘_libssh2_rsa_new’:
openssl.c:71:11: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’
@superbem that's separate from this issue though, and I'd say most probably because OpenSSL has broken their API (which they've done a lot in their 1.1.x branch).
Changes between 1.0.2g and 1.1.0 [xx XXX xxxx]
*) Made RSA and RSA_METHOD opaque. The structures for managing RSA
objects have been moved out of the public header files. New
functions for managing these have been added.
[Richard Levitte]
*) Made DSA and DSA_METHOD opaque. The structures for managing DSA objects
have been moved out of the public header files. New functions for managing
these have been added.
[Matt Caswell]
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Activity
bagder commentedon Jun 12, 2015
Is that what ldd shows? If so, you need to make sure it picks the right libs at run-time, so it depends on your /etc/ld.so.conf setup. And you can also specify dir with
LD_LIBRARY_PATHkotoroshinoto commentedon Jun 15, 2015
it wasn't a runtime link problem because that soname was the system version of openssl which was not binary compatible with the one I wanted it to use. When I added an additional line forcing it to give a directory path to the linker it then was able to find the correct library.
I'm still not quite sure why this was happening nor why I had to go out of my way to be explicit. I already HAD the runtime AND compile time environmental variables set, and it was defaulting to the system path library anyway.
foldedspace commentedon Oct 9, 2015
It looks like "configure" is not honouring the "--with-libssl-prefix" argument:
Gives me:
....
configure: error: No crypto library found!
Try --with-libssl-prefix=PATH
or --with-libgcrypt-prefix=PATH
or --with-wincng on Windows
Despite:
However, the following works:
superbem commentedon Apr 8, 2016
Hi
I'm trying to compile with openssl git, but it returns the following error:
openssl.c: In function ‘_libssh2_rsa_new’:
openssl.c:71:11: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’
bagder commentedon Apr 8, 2016
@superbem that's separate from this issue though, and I'd say most probably because OpenSSL has broken their API (which they've done a lot in their 1.1.x branch).
superbem commentedon Apr 8, 2016
Changes between 1.0.2g and 1.1.0 [xx XXX xxxx]
*) Made RSA and RSA_METHOD opaque. The structures for managing RSA
objects have been moved out of the public header files. New
functions for managing these have been added.
[Richard Levitte]
*) Made DSA and DSA_METHOD opaque. The structures for managing DSA objects
have been moved out of the public header files. New functions for managing
these have been added.
[Matt Caswell]
bagder commentedon Apr 8, 2016
so I was right...
superbem commentedon Apr 9, 2016
Is there somewhere a libssh2 ready for openssl 1.1.0?
bagder commentedon Apr 9, 2016
As soon as we get the patches that adapt and have them merged. Feel free help us making this happen. But please, stop using this issue for that topic.
stale commentedon Mar 21, 2019
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
double-free