Discussion:
OPenssl and dependencies such as openssh
(too old to reply)
The Doctor
2016-01-04 16:08:31 UTC
Permalink
This might be a croosmail, but necessary.

I did us openssl-SNAP-20160104 minorss erros and installed.

I tried openssh-SNAP-20160105 and the OpenSSL libraries cannot be found


In the openssh configuration file I see


# Determine OpenSSL library version
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL library versi
on" >&5
$as_echo_n "checking OpenSSL library version... " >&6; }
if test "$cross_compiling" = yes; then :

{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross
compiling: not checking" >&5
$as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}


else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

#include <stdio.h>
#include <string.h>
#include <openssl/opensslv.h>
#include <openssl/crypto.h>
#define DATA "conftest.ssllibver"

int
main ()
{

FILE *fd;
int rc;

fd = fopen(DATA,"w");
if(fd == NULL)
exit(1);

if ((rc = fprintf(fd ,"%08x (%s)\n", SSLeay(),
SSLeay_version(SSLEAY_VERSION))) <0)
exit(1);

exit(0);

;
return 0;
}
_ACEOF
if ac_fn_c_try_run "$LINENO"; then :

ssl_library_ver=`cat conftest.ssllibver`
# Check version is supported.
case "$ssl_library_ver" in
0090[0-7]*|009080[0-5]*)
as_fn_error $? "OpenSSL >= 0.9.8f requi
red (have \"$ssl_library_ver\")" "$LINENO" 5
;;
*) ;;
esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssl_l
ibrary_ver" >&5
$as_echo "$ssl_library_ver" >&6; }

else

{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not fo
und" >&5
$as_echo "not found" >&6; }
as_fn_error $? "OpenSSL library not found." "$LINENO" 5

fi
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
fi



Could there be anything that is causing openssh not to see the new openssl 1.1

and are any other dependent serverware affacted?
--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
Happy Christmas 2015 and Merry New Year 2016
Darren Tucker
2016-01-05 00:21:37 UTC
Permalink
Post by The Doctor
This might be a croosmail, but necessary.
I did us openssl-SNAP-20160104 minorss erros and installed.
installed onto what kind of system and where?
Post by The Doctor
I tried openssh-SNAP-20160105 and the OpenSSL libraries cannot be found
OpenSSH's config.log will have the details about what failed.

My guess is that you built only a dynamic libcrypto.so and installed
it somewhere that your runtime linker can't find. Exactly how to fix
that will depend on what kind of system you have (eg /etc/ld.so.conf
on Linuxes).
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
The Doctor
2016-01-05 00:28:13 UTC
Permalink
Post by Darren Tucker
Post by The Doctor
This might be a croosmail, but necessary.
I did us openssl-SNAP-20160104 minorss erros and installed.
installed onto what kind of system and where?
Post by The Doctor
I tried openssh-SNAP-20160105 and the OpenSSL libraries cannot be found
OpenSSH's config.log will have the details about what failed.
My guess is that you built only a dynamic libcrypto.so and installed
it somewhere that your runtime linker can't find. Exactly how to fix
that will depend on what kind of system you have (eg /etc/ld.so.conf
on Linuxes).
Both libssl and libcrypto were build.

In openssl , it was discovered that an old code was being
used to find the libraries.
Post by Darren Tucker
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
Birthdate 29 Jan 1969 Redhill, Surrey, UK
Loading...