openssh-2.9p2 Config - undefined references

John van der Ploeg j.ploeg at planet.nl
Thu Aug 9 06:58:04 EST 2001


Hi Damien,

I have a problem getting openssh-2.9p2 properly configured.

This is the problem:

configure:4433: gcc -o conftest -g -O2 -Wall -I/opt/openssl/include
-L/opt/open
ssl/lib  conftest.c -lz -lnsl  -lutil -lcrypto 1>&5
/opt/openssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.o(.text+0x8e): undefined reference to `dlopen'
dso_dlfcn.o(.text+0xa4): undefined reference to `dlopen'
dso_dlfcn.o(.text+0x10a): undefined reference to `dlclose'
/opt/openssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.o(.text+0x1d2): undefined reference to `dlclose'
/opt/openssl/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':

dso_dlfcn.o(.text+0x283): undefined reference to `dlsym'
/opt/openssl/lib/libcrypto.a(dso_dlfcn.o): In function
`dlfcn_bind_func':
dso_dlfcn.o(.text+0x353): undefined reference to `dlsym'
configure: failed program was:
#line 4419 "configure"
#include "confdefs.h"

#include <string.h>
#include <openssl/rand.h>
int main(void)
{
        char a[2048];
        memset(a, 0, sizeof(a));
        RAND_add(a, sizeof(a), sizeof(a));
        return(RAND_status() <= 0);
}



I use it with openssl-engine-0.9.6b and openssl-0.9.6b installed
to /opt/openssl and /usr/local/ssl (ln -s). When running the
make test option of openssl, it reports no problems (which kind
of indicates the problem is not with openssl I hope)

The machine is a Linux version 2.2.5 kernel, gcc version 2.7.2.3

Any idea what could be wrong here?

Regards,

    - John

--
John van der Ploeg
http://home.planet.nl/~jvdploe
j.ploeg at planet.nl


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20010808/5484682c/attachment.html 


More information about the openssh-unix-dev mailing list