[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: installation problems


	I recompiled OpenSSL using the following syntax: "./config shared
zlib-dynamic".  This should compile using shared libraries and compression
(dynamically).  However, I am still bombing at the same point during the
build process.  I looked in the config.log again to see if I could find the
entry you left below (which I did).  What do I need to do to make the
OpenLDAP see the OpenSSL shared libraries and not the .a libraries?


Dave Henderson

Distributed Computer Systems Analyst
Florida Department of Corrections
Phone: 407.207.7391            Suncom: 343.7391

-----Original Message-----
From: Aaron Richton [mailto:richton@nbcs.rutgers.edu] 
Sent: Friday, October 14, 2005 9:12 AM
To: Henderson, David
Cc: aej@WPI.EDU; openldap-software@OpenLDAP.org
Subject: RE: installation problems

> /usr/local/lib//libcrypto.a(dso_dlfcn.o)(.text+0x45): In function
> `dlfcn_load':
> : undefined reference to `dlopen'

It looks like your libcrypto.a has references to dl*(). On lots of systems
these functions are provided by a "libdl." Also, on lots of systems, these
functions are only available from shared objects (i.e. ".so" libraries and
not ".a" libraries.)

It's obvious that you're doing your own build of OpenSSL. I would try and
rework that into a shared library build. Failing that, you can try and
figure out a way to put a "-ldl" on that line to get libdl in there.