kibirango moses writes:
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.
Why did you build openssl as a static library? You should build it as shared library. When you're linking statically you need to explicitly list all dependencies. Here, it needs to be linked with -ldl.
pgpKEbUkozIs8.pgp
Description: PGP signature
------------------------------------------------------------------------------ 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 courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users