Menu

#1 configure can't find installed OpenSSL libraries

open
nobody
5
2004-10-02
2004-10-02
No

I'm trying to see whether I can compile ctorrent 1.3.2
under Solaris 8 (because I'm looking for a command line
Bittorrent client). The configure script cannot find
the OpenSSL libraries:
checking for SHA1_Init in -lssl... no
checking for SHA1_Init in -lcrypt... no
checking for SHA1_Init in -lmd... no
configure: error: error, Please install OpenSSL first!
I have OpenSSL 0.9.6m installed under /usr/local. crle
is properly configured (with /usr/local/lib) and I even
tried defining LD_LIBRARY_PATH. Every other piece of
OSS that I've ported to Solaris has been able to find
the libraries. Any suggestions? Thank you in advance.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Having the same problem

    Slackware 9.1, OpenSSL 9.7 in /usr/lib

     
  • Anonymous

    Anonymous - 2004-10-16

    Logged In: YES
    user_id=631203

    It is happening to me too when trying to compile 1.3.4 under
    mandrake 10.1 community.

     
  • Nobody/Anonymous

    Logged In: NO

    same problem on OS X, so i re-ran 'autoconf' in the source code's
    directory.. seems to be happy now :)

     
  • Andreas Baumann

    Andreas Baumann - 2005-04-20

    Logged In: YES
    user_id=574221

    Try the standalone SHA1 patch in the Sourceforge
    patch section. I had a similar problem when trying to
    cross-compile ctorrent. IMHO it's not decent to use
    all of openssl just to compute SHA1 hashes for the
    pieces.
    Note: at the moment you have to set
    LITTLE_ENDIAN in sha1.h correctly by hand, configure
    doesn't probe this yet.

     
  • Nobody/Anonymous

    Logged In: NO

    Debian to...

     
  • Bret Watson

    Bret Watson - 2008-02-19

    Logged In: YES
    user_id=105920
    Originator: NO

    This also occurs on debian 4r1 for ctorrent 3.4 OpenSSL in installed via apt-get

    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking dependency style of gcc... gcc3
    checking for SHA1_Init in -lssl... no
    checking for SHA1_Init in -lcrypt... no
    checking for SHA1_Init in -lmd... no
    configure: error: error, Please install OpenSSL first!

     
  • Nobody/Anonymous

    Logged In: NO

    Enhanced CTorrent is the currently maintained version of ctorrent:

    http://www.rahul.net/dholmes/ctorrent/

    IMHO it makes no sense to maintain ctorrent anymore. ectorrent integrates almost all patches
    here on Sourceforge and also can use different libraries for SHA1 as libgcrypt, openssl, etc.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.