Hi all,
I'm in the process of compiling/installing OpenLDAP 2.3.39 for Solaris 10 with OpenSSL 0.9.8g and BDB 4.5.20 as underlying libraries.
What I've accomplished so far: - Built BDB 4.5.20, installed openssl 0.9.8g (SMCossl) - Got through with OpenLDAP installation (all steps from "configure" via "make depend", "make", "make test" to "make install") without any errors
The problem I encounter: - I'm trying to start slapd as "root" (with -u and -g to a technical user) and it dies immediately with just "Killed" as the sole error message - If I'm executing ldd against my slapd binary it goes: "ldd: ./slapd: execution failed due to signal 9" - Similar problem with truss: "truss: cannot execute program: ./slapd"
When doing the above tries I had the environment set as follows: PATH=/usr/bin:/usr/sbin:/usr/local/bin:.:/usr/sfw/bin:/usr/ccs/bin:/usr/local/ssl/:/opt/eplatform/db-4.5.20.NC-p2/bin/ LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/opt/eplatform/db-4.5.20.NC-p2/lib:/usr/local/ssl/lib
and slapd/slurpd look like: -rwxr-xr-x 1 root other 3631552 Jul 22 08:32 slapd -rwxr-xr-x 1 root other 745236 Jul 22 08:32 slurpd
slapd doesn't even get a chance to write into its log, so I'm really not having many clues.
Does anyone have any clues as to what slapd is suffering from ?
Thanks
Christoph
openldap.lists@frei-family.ch writes:
Hi all,
I'm in the process of compiling/installing OpenLDAP 2.3.39 for Solaris 10 with OpenSSL 0.9.8g and BDB 4.5.20 as underlying libraries.
[...]
Did you all configure and compile with the variable LDFLAGS and -R flag?
-Dieter
Hello Christoph,
Which ldd are you using? The sun one?
I know it is a weird question, but we had huge problems with compiling things with the standard sun ldd.
Best regards,
Claus
On Wed, 23 Jul 2008, Kick, Claus wrote:
I know it is a weird question, but we had huge problems with compiling things with the standard sun ldd.
I don't think you mean ldd, I think you mean ld. I'm not aware of any ldd reimplementation -- who reimplements the dynamic linker for Solaris? (Don't answer that, it would make my head hurt...)
The major ld choices are /usr/ccs/bin/ld (from Sun) or a GNU binutils ld. Some versions/builds of GNU binutils are hopelessly flawed. You would probably do well to ensure that /usr/ccs/bin/ld is being used.
One "easy" way to ensure this would be to use the (free as in beer) Sun Studio compilers, http://developers.sun.com/sunstudio/. They are known to work with OpenLDAP. Alternately...start poking at your GNU toolchain and your environment.
Hello Aaron,
I know it is a weird question, but we had huge problems with
compiling
things with the standard sun ldd.
I don't think you mean ldd, I think you mean ld.
Of course you are right - shame on me for not spotting that mix up.
I'm not aware of any ldd reimplementation -- who reimplements the dynamic linker for Solaris? (Don't answer that, it would make my head hurt...)
Oh, well, I would not know.
The major ld choices are /usr/ccs/bin/ld (from Sun) or a GNU binutils
ld.
Some versions/builds of GNU binutils are hopelessly flawed. You would probably do well to ensure that /usr/ccs/bin/ld is being used.
Yes, that is exactly what we had to do.
One "easy" way to ensure this would be to use the (free as in beer) Sun
Studio compilers, http://developers.sun.com/sunstudio/. They are known
to
work with OpenLDAP.
That is useful information - could that be stored somewhere in the OpenLDAP FAQs? IIRC, that isnt there yet.
Alternately...start poking at your GNU toolchain and your environment.
That makes my head spin ;)
Claus
On Thu, 24 Jul 2008, Kick, Claus wrote:
One "easy" way to ensure this would be to use the (free as in beer) Sun Studio compilers, http://developers.sun.com/sunstudio/. They are known to work with OpenLDAP.
That is useful information - could that be stored somewhere in the OpenLDAP FAQs? IIRC, that isnt there yet.
You should feel free to add your experiences and my comments to the OpenLDAP FAQ-O-Matic at www.openldap.org/faq.
openldap-software@openldap.org