I had a very similar problem compiling on HPUX--when I ran configure, even
with the LDFLAGS and CPPFLAGS set correctly, the makefiles were not built
with those dependencies in the correct order. I had to manually go into each
Makefile in each subdirectory and make sure it linked against the correct -L
directory before the general ones.
I have posted this before, and don't remember if I got more specific then!
Just make sure the proper -L is just before the -ldb-3, and you should get
it to compile with the CORRECT (read desired) db.
c*
----- Original Message -----
From: "Jochen Metzger" <[EMAIL PROTECTED]>
To: "Kohei Yoshida" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, October 10, 2001 2:01 PM
Subject: RE: cyrus sasl - link libdb-3.3.so against libdb.so.3 on Mandrake


> Hi Kohei,
> > > > If you have any of db[123] rpms installed, can you uninstall
> > > > them without
> > > > breaking dependencies?
> > >
> > > What should this help???
> >
> > I was just trying to see if your system already had previous
> > version(s) of
> > Berkeley DB libraries (db1, db2 and db3 are it).  SASL
> > configure script seems
> > to prefer an rpm version of Berkeley DB over the one compiled
> > from source
> > (just my guess).
>
> Yes I'm sure this is the problem, but there must be a way to fix or to
> solve it, or not?!
>
> >
> > For example, Red Hat 7.1 (this will be my second IMAP server,
> > hopefully soon
> > :) uses all three versions one way or the other (i.e.
> > uninstalling them would
> > break dependencies), and it seems almost impossible to have
> > SASL configure
> > script use the latest BerkeleyDB compiled from source over
> > the ones already
> > installed by the system.
> >
> How will you work around this then???
> > Anyway, hopefully making the symlinks will work out for you.
> >
> > Kohei
>
> No, unfortunately it didn't!!! ;o(
>
> Regards
>
> Jochen Metzger
>
>
>

Reply via email to