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

Re: Openlap and BDB updates: update question



lør, 07.02.2004 kl. 03.02 skrev Quanah Gibson-Mount:

> Sorry, Ace, I have to disagree.  This is a build environment issue, and has 
> nothing to do with OpenLDAP in and of itself.  My 2.2.x binaries build with 

I wish that people would stop CC'ing me. Chances (unless they have a
well-lubricated crystal ball) are that if they do, the CC will never make it,
anyway.

Quanah,

You are always willing to help, so I won't comment on your failure to state
details of system, etc (yes, I know it's Solaris X, but *nevertheless* - others
might not).

But I would like to ask a couple of questions, since these have to do
with your blithe statement of "it works for me", for which answer on
this list I personally have been (private mail) slaughtered.

My "bottom line" occurs below, so please consult that before
slaughtering me in like manner. Including my system configuration, for
the umpteenth time.

> BDB as a shared library without problem.

O.k. You have BDB .so libraries, congratulations ;)

Please give details of your options to ./configure. A couple of things
in your ldd output have nothing whatsoever to do with Ace's or my Linux,
so they are useless to both of us. The specific Solaris bits I
personally know a bit about, from my Solaris days, plus how Sun's
collective minds work (namely just as often "XOR", as not - no
consequentiality about Sun, as opposed to Linus Torvalds).

>         libdb-4.2.so =>  /usr/local/lib/libdb-4.2.so

Why is this here? Mine is in /usr/local/BerkeleyDB.4.2/lib. Why did you
feel it necessary to change the location? (Yes, I've now made DSOs work
for Openldap 2.2.5, so this is not a complaint; I just need to know
"why"?)

The rest of your ldd output I understand, including the specific Solaris
links - *which* Linux does not have - I *do* know why it does not. Many
Linux people on this list do *not* know - why should you assume that
they should?

I've now compiled Openldap 2.2.5 for shared BDB libraries, run 'make
test' and 2 x 21 tests ran without error. I shall now do 'make install'
and it will work, as it did with static libraries. From now on, each
time Sleepycat produces a patch, it will be sufficient to patch my BDB
source and install *that*. I will not have to recompile Openldap, run
the tests and reinstall it. This will save me fists full of time and
money. Also, I will post respectively fewer "stupid" questions.

Again (do please remember that the followin does what I want, and that
I am not asking for help; simply commenting on inadequate answers):

OS/distro: RH RHEL3
BDB 4.5.52 + 2 required patches
Openldap 2.2.5
Cyrus SASL2 2.1.15

Specific for my shared-library and minus-IPv6-config:

LDFLAGS="-L/u/usr/local/lib -L/u/usr/local/lib/sasl2
-L/u/usr/local/BerkeleyDB.4.2/lib" \
CPPFLAGS="-I/u/usr/local/ssl/include/openssl -I/u/usr/local/include
-I/u/usr/local/BerkeleyDB.4.2/include" \
LIBS="-lssl -lcrypt -lsasl2" \
        ./configure \
        --with-tls \
        --enable-crypt \
        --with-cyrus-sasl \
        --enable-lmpasswd \
        --enable-spasswd \
        --enable-phonetic \
        --enable-shared \
        --enable-dynamic \ <<<======= :)
        --enable-crypt \
        --enable-ldbm \
        --enable-ipv6=no

--Tonni

-- 

mail: billy - at - billy.demon.nl
http://www.billy.demon.nl