[Date Prev][Date Next]
RE: FW: Follow up: 2.1.4, solaris 8, fails to start
crle _says_ I ran it with this command:
crle -c /var/ld/ld.config -l
r/lib/sasl2 -s /usr/lib/secure
but I distinctly remember doing many -l flags, and then being surprised when
it concatenated them together.
I re-did my little set file with multiple -L and -R flags, and I'm trying a
compile now. I had found that with -I I needed to use a -I for each dir,
but it seemed to work ok before with a single. That, and crle really seemed
to want to separate the paths with a ":".
Just curious -- why don't you do a "make depend"? I don't remember which
way the documentation specified, but after ./configure it tells you to do
From: Igor Brezac [mailto:firstname.lastname@example.org]
Sent: Wednesday, September 25, 2002 13:12
To: Andrew Diederich
Cc: openLDAP (E-mail)
Subject: RE: FW: Follow up: 2.1.4, solaris 8, fails to start
On Wed, 25 Sep 2002, Andrew Diederich wrote:
> Ok, here is what I've tried now:
> openldap 2.1.5
> ./configure --enable-ldbm -with-ldbm-api=berkeley
> make depend;make;make test
> CPPFLAGS='-I/usr/local/BerkeleyDB.4.0/include -I/usr/local/ssl/include'
You cannot use a ':' separated list of directories in -I, -L and -R
params, at least this is the case with gcc 2.95.x. I suspect that you
have multiple installations of berkeley db on your system and somehow the
compiler is mixing the two.
So try (you will need to adjust /usr/lib/sasl2),
-L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/sasl2
./configure --enable-ldbm --with-ldbm-api=berkeley
How did you run crle command, I think you made that same mistake as you
did with CPPFLAGS and LDFLAGS. You need to pass mutiple -l params to
crle. Also take a look at -i param.