#23 problem with build rc2

closed-invalid
nobody
None
5
2005-02-14
2005-02-14
Tokar Oleg
No

Configure
env CPPFLAGS="-I/usr/local/ssl/include" LDFLAGS="-
L/usr/local/ssl/lib" ./configure --with-kernel-
headers=/lib/modules/2.6.6/build/include
i`ts ok
If ./configure --with-kernel-
headers=/lib/modules/2.6.6/build/include
then openssl version too old version mast be 0.9.6. or
higher
i have OpenSSL 0.9.7e 25 Oct 2004
Make
gcc -include ../../src/include-glibc/glibc-bugs.h -
I../../src/include-glibc -I../../src/include-glibc -
DSYSCONFDIR=\"/usr/local/etc\" -
DADMINPORTDIR=\"/usr/local/var/racoon\" -g -O2 -Wall -
Werror -Wno-unused -o eaytest eaytest.o vmbuf.o
str2val.o plog.o logger.o crypto_openssl_test.o
misc_noplog.o sha2.o -lcrypto -L/usr/local/ssl/lib -lresolv
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x30): In
function `dlfcn_load':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x94): In
function `dlfcn_load':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xdc): In
function `dlfcn_load':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x13b):
In function `dlfcn_unload':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x1fb):
In function `dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x247):
In function `dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2eb):
In function `dlfcn_bind_func':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x337):
In function `dlfcn_bind_func':
: undefined reference to `dlerror'
collect2: ld returned 1 exit status
This error
OpenSSL 0.9.7e 25 Oct 2004

Discussion

  • Michal Ludvig

    Michal Ludvig - 2005-02-14

    Logged In: YES
    user_id=344740

    Add -ldl to your LDFLAGS and try again.

     
  • Michal Ludvig

    Michal Ludvig - 2005-02-14
    • status: open --> closed-invalid
     

Log in to post a comment.