I'm at a loss as to what to do next. I'm running on RHEL 5 and installing as a non-root user. I get the following message when trying to start a fresh install of openLdap:
$ ./slapd ./slapd: error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory $ locate libltdl.so.3 /usr/local/lib/libltdl.so.3 /usr/local/lib/libltdl.so.3.1.4 /usr/share/libtool/libltdl/.libs/libltdl.so.3 /usr/share/libtool/libltdl/.libs/libltdl.so.3.1.4
This is what I used to configure the install:
CPPFLAGS="-DOPENLDAP_FD_SETSIZE=8192 -I /opt/app/ivr/openldap/tools /include -I/usr/local/opt/gnu/include -I/usr/include -I/usr/local/lib" \ CFLAGS="-g" \ LDFLAGS="-g -L${TOOLS_HOME}/lib -R /opt/app/ivr/openldap/tools /lib -L/usr/local/opt/gnu/lib -R/usr/local/opt/gnu/lib -I/usr/lib -R/usr/lib" \ LD_RUN_PATH /opt/app/ivr/openldap/tools /lib \ ./configure \ --without-subdir \ --with-tls \ --with-cyrus-sasl \ --enable-spasswd \ --enable-shared \ --enable-dynamic \ --enable-slapd \ --enable-modules \ --enable-rewrite \ --enable-rlookups \ --enable-wrappers \ --enable-backends=mod \ --disable-shell \ --disable-sql \ --enable-overlays=mod \ --disable-slurpd \ --enable-multimaster \ --enable-syslog \ --prefix= /opt/app/ivr/openldap/ openldap-2.4.11
Any suggestions on where I should go from here would be greatly appreciated.
Thanks, Geordon
--On August 17, 2010 11:35:49 AM -0500 "VANTASSLE, GEORDON M (ATTSI)" gv2385@att.com wrote:
I'm at a loss as to what to do next. I'm running on RHEL 5 and installing as a non-root user. I get the following message when trying to start a fresh install of openLdap:
$ ./slapd ./slapd: error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory $ locate libltdl.so.3
I don't see /usr/local/lib as a -R path in your flags.
--Quanah
Thank you! That was my problem. I knew it was something small that I was missing.
-----Original Message----- From: Quanah Gibson-Mount [mailto:quanah@zimbra.com] Sent: Tuesday, August 17, 2010 11:57 AM To: VANTASSLE, GEORDON M (ATTSI); openldap-technical@openldap.org Subject: Re:
--On August 17, 2010 11:35:49 AM -0500 "VANTASSLE, GEORDON M (ATTSI)" gv2385@att.com wrote:
I'm at a loss as to what to do next. I'm running on RHEL 5 and installing as a non-root user. I get the following message when trying to start a fresh install of openLdap:
$ ./slapd ./slapd: error while loading shared libraries: libltdl.so.3: cannot
open
shared object file: No such file or directory $ locate libltdl.so.3
I don't see /usr/local/lib as a -R path in your flags.
--Quanah
On Tuesday, 17 August 2010 17:35:49 VANTASSLE, GEORDON M (ATTSI) wrote:
I'm at a loss as to what to do next. I'm running on RHEL 5
There are pre-built packages of OpenLDAP 2.4 for RHEL5 available. They might not be absolutely current, but they are much newer than 2.4.11, and more or less work out-the-box (as long as you take into account the versioning of files/directories/packages).
and installing as a non-root user. I get the following message when trying to start a fresh install of openLdap:
$ ./slapd ./slapd: error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory $ locate libltdl.so.3 /usr/local/lib/libltdl.so.3 /usr/local/lib/libltdl.so.3.1.4 /usr/share/libtool/libltdl/.libs/libltdl.so.3 /usr/share/libtool/libltdl/.libs/libltdl.so.3.1.4
This is a really basic software installation question. Please consult your OS documentation. Reasonable place to start may be 'man ld.so' 'man ldconfig' and 'man ldd'.
Regards, Buchan
openldap-technical@openldap.org