Hullo users,
I am installing Courier imap 4.8.1 and using openssl-1.0.0c. I got the
following error below:

collect2: ld returned 1 exit status
make[3]: *** [couriertls] Error 1
make[3]: Leaving directory `/usr/local/src/courier-imap-4.8.1/tcpd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/courier-imap-4.8.1/tcpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/courier-imap-4.8.1'
make: *** [all] Error 2

implying that Courier IMAP wouldn't compile with SSL support

I then complied using the procedure below
cd <courier-source-dir>/tcpd
$ make distclean
$ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/ssl/lib
$ export LD_RUN_PATH=${LD_RUN_PATH}:/usr/local/ssl/lib
$ export C_INCLUDE_PATH=${C_INCLUDE_PATH}:/usr/local/ssl/lib
$ export LDFLAGS="${LDFLAGS} -L/usr/local/ssl/lib
-Wl,--rpath=/usr/local/ssl/lib"
$ export CC="gcc -L/usr/local/ssl/lib -Wl,--rpath=/usr/local/ssl/lib"
$ ./configure
$ make couriertls
$ cp ./couriertls /usr/local/courier/bin (as root)

I got the errors below:

usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup':
dso_dlfcn.c:(.text+0x1a): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x31): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x3b): undefined reference to `dlclose'
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_pathbyaddr':
dso_dlfcn.c:(.text+0x84): undefined reference to `dladdr'
dso_dlfcn.c:(.text+0x111): undefined reference to `dlerror'
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.c:(.text+0x42e): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x4ae): undefined reference to `dlerror'
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.c:(.text+0x52e): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x5be): undefined reference to `dlerror'
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.c:(.text+0x617): undefined reference to `dlclose'
/usr/local/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.c:(.text+0x6d7): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x735): undefined reference to `dlclose'
dso_dlfcn.c:(.text+0x76c): undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [couriertls] Error 1

Could anybody out there help on fixing these errors.

Thanx in advance

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to