[Bug 710] ReliantUnix: -ldl missing when libcrypto is a shared object

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Sep 24 03:18:32 EST 2003


http://bugzilla.mindrot.org/show_bug.cgi?id=710

           Summary: ReliantUnix: -ldl missing when libcrypto is a shared
                    object
           Product: Portable OpenSSH
           Version: -current
          Platform: MIPS
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Build system
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: Robert.Dahlem at siemens.com


When libcrypto is only available as a shared object, configure fails to detect
libcrypto ("Can't find recent OpenSSL libcrypto") under ReliantUNIX, because
dlsym() is not in libc and libdl is not searched.

[ReliantUNIX weirdness: dlopen() is in libc while dlsym() is in libdl]

Trivial fix would be to add

   LIBS="$LIBS -ldl"

in case of *-sni-sysv*

More clever would be to try to compile with "-lcrypto" and if that doesn't work
then try to compile with "-lcrypto -ldl". But that's way beyond my autoconf
expertise. :-)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list