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

Re: segmentation fault



I had the same problem a few days ago

Do you have installed BerkeleyDB ?
For me the problem was the header and library location
(/usr/local/BerkeleyDB.4.0/include and /usr/local/BerkeleyDB.4.0/lib)
You have to make symbolic links (ln -s) of all libraries and headers in
/usr/local/include and /usr/local/lib

The problem may be with other libraries program (I did not installed SSL,
TLS ....) but with same kind of solution.

I hope that I helped you

Christian Blavier

----- Original Message -----
From: "Bulent Tatlidil" <btatlidil@infotron.com.tr>
To: <openldap-software@OpenLDAP.org>
Sent: Thursday, September 12, 2002 9:36 AM
Subject: segmentation fault


> hi all,
> i have dowloaded the latest version 2.1.4 source code
> and tried to build it . i did the following
> $ ./configure --prefix=/usr/local/ldap --with-cyrus-sasl --with-tls
> --with-threads --enable-crypt --enable-ldbm --enable-wrappers
> $ make depend
> $ make
> till here everythings seems fine.. (no errors i mean.)
> but after i "$ make test "
> i got a segmentation fault ..
>
> Initiating LDAP tests for BDB...
> >>>>> Executing all LDAP tests...
> >>>>> Test Directory: .
> >>>>> Backend: bdb
> >>>>> Starting test000-rootdse ...
> running defines.sh
> Datadir is ./data
> Cleaning up in ./test-db...
> Starting slapd on TCP/IP port 9009...
> Using ldapsearch to retrieve the root DSE...
> Waiting 5 seconds for slapd to start...
> ./scripts/test000-rootdse: line 48: 31534 Segmentation fault
     $SLAPD -f
> $DBCONF -h $MASTERURI -d $LVL $TIMING >$MASTERLOG 2>&1
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> Waiting 5 seconds for slapd to start...
> ./scripts/test000-rootdse: kill: (31534) - No such pid
> ldap_bind: Can't contact LDAP server (81)
> >>>>> Test failed
> >>>>> ./scripts/test000-rootdse failed (exit 1)
> make[1]: *** [test-bdb] Error 1
> make[1]: Leaving directory `/usr/local/src/openldap-2.1.4/tests'
> make: *** [test] Error 2
>
> my system is suse 7.3  on a intel machine with 2 cpus.
> What should i do to correct this ?
> Thanks for your time..
>
> Bulent
>