Hi all,
I'm having difficulty compiling Courier-IMAP. It keeps failing during
build with this error message. Any suggestions?
gcc -I./.. -I.. -Wall -g -O2 -o couriertls starttls.o argparse.o
libspipe.a ../rfc1035/librfc1035.a ../soxwrap/libsoxwrap.a `cat
../soxwrap/soxlibs.dep` -lssl -lcrypto
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.o(.text+0x99): undefined reference to `dlopen'
dso_dlfcn.o(.text+0xb4): undefined reference to `dlopen'
dso_dlfcn.o(.text+0x10a): undefined reference to `dlclose'
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.o(.text+0x1b3): undefined reference to `dlsym'
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.o(.text+0x263): undefined reference to `dlsym'
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.o(.text+0x352): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[1]: *** [couriertls] Error 1
make[1]: Leaving directory `/usr/local/src/courier-imap-1.4.6/tcpd'
make: *** [all-recursive] Error 1
-- Steve