Solaris 8, Can't find recent OpenSSL libcrypto

Ben Lindstrom mouring at etoh.eviladmin.org
Wed Nov 27 03:35:54 EST 2002


[..]
configure:8511: gcc -o conftest -g -O2 -Wall -Wpointer-arith
-Wno-uninitialized
-I/usr/local/ssl/include  -I/usr/local/include -L/usr/local/ssl/lib
-R/usr/local/ssl/lib  -L/usr/local/lib -R/usr/local/lib conftest.c -lz
-lsocket
-lnsl  -lcrypto >&5
/usr/local/ssl/lib/libcrypto.a: could not read symbols: File format not
recognized
collect2: ld returned 1 exit status
[..]

That seems to be a major clue.  It does not like your libcrypto.a.  I
suggest you recompile it.

- Ben



On Tue, 26 Nov 2002, Elisabeth Porteneuve wrote:

>
>
>
> > Well, what did the end of config.log say? You'll need to find the last
>
> Darren,
>
> Below is the relevant section. Thank you !
>
> Elisabeth Porteneuve
> --
>
> int
> main ()
> {
> RAND_add ();
>   ;
>   return 0;
> }
> configure:8511: gcc -o conftest -g -O2 -Wall -Wpointer-arith -Wno-uninitialized
> -I/usr/local/ssl/include  -I/usr/local/include -L/usr/local/ssl/lib -R/usr/local/ssl/lib  -L/usr/local/lib -R/usr/local/lib conftest.c -lz -lsocket -lnsl  -lcrypto >&5
> /usr/local/ssl/lib/libcrypto.a: could not read symbols: File format not recognized
> collect2: ld returned 1 exit status
> configure:8514: $? = 1
> configure: failed program was:
> #line 8485 "configure"
> #include "confdefs.h"
>
> /* Override any gcc2 internal prototype to avoid an error.  */
> #ifdef __cplusplus
> extern "C"
> #endif
> /* We use char because int might match the return type of a gcc2
>    builtin and then its argument prototype would still apply.  */
> char RAND_add ();
> #ifdef F77_DUMMY_MAIN
> #  ifdef __cplusplus
>      extern "C"
> #  endif
>    int F77_DUMMY_MAIN() { return 1; }
> #endif
> int
> main ()
> {
> RAND_add ();
>   ;
>   return 0;
> }
> configure:8530: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***
>
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>




More information about the openssh-unix-dev mailing list