libcrypto.so is missing on running sftp-server

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hello,

I've cross compiled openssh, openssl, and zlib
But on trying to run stfp-server with
/libexec/sftp-server
I get the following error:
 error while loading shared libraries: libcrypto.so.1.0.0: cannot open
shared object file: No such file or directory

On checking openssl installed files, I see that it created
/lib/libcrypto.a but not libcrypto.so

This is the configure I used:
./Configure shared dist --prefix=/home/ubuntu/openssh/openssl
Trying to add "shared" option did not help.

I hope someone can help me understand what is twrong with the build I've done.

I've used the following steps for the build process:

Build Zlib:

    cd zlib-1.2.7
    CC=arm-linux-gnueabi-gcc
    ./configure --prefix=$HOME/zlibArm
    make
    make install

Build OpenSSL:

    export cross=arm-linux-gnueabi-
    cd openssl-1.0.1c
    ./Configure dist --prefix=$HOME/opensslArm
    make CC="${cross}gcc" AR="${cross}ar r" RANLIB="${cross}ranlib"
    make install

Build OpenSSH:

    ./configure --host=arm-linux --with-libs --with-zlib=$HOME/zlibArm
--with-ssl-dir=$HOME/opensslArm --disable-etc-default-login
CC=gcc-arm-linux-gnueabi-gcc AR=gcc-arm-linux-gnueabi-ar
    make


Thank you!
Ran
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux