Installing libssh2 on debian

Posted by Ajay on Server Fault See other posts from Server Fault or by Ajay
Published on 2014-06-13T08:20:30Z Indexed on 2014/06/13 9:28 UTC
Read the original article Hit count: 246

Filed under:
|

Hi I'm trying to install libssh2 for 64-bit. I'm using the following code for installation:

cd libssh2-1.4.3/

export CFLAGS="-mabi=64 -march=mips64r2"

./configure --with-libz --with-libgcrypt --with-libz-prefix=`pwd`/../../support__
libs/libs/zlib/ --with-libgcrypt-prefix=`pwd`/../../support_libs/``libs/extra --wii
thout-libssl-prefix --prefix=`pwd`/../../support_libs/libs/extra_2


make && make install

without using "export CFLAGS="-mabi=64 -march=mips64r2" it compiles the binaries in 32-bit and whem i use #export for 64-bit, it gives this configuration error::

checking for libgcrypt... no
configure: error: cannot find OpenSSL or Libgcrypt,
try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH
make: *** No targets specified and no makefile found.

© Server Fault or respective owner

Related posts about qemu

Related posts about compilation