This is what I just did a minute ago on my Red Hat 7.1, and it made libsasl.so link against libdb-3.3.so. I may or may not work on Mandrake 7.2, but it is worth a shot.
With BerkeleyDB installed in /usr/local/BerkeleyDB.3.3, I did ./configure make CPPFLAGS="-I/usr/local/BerkeleyDB.3.3/include" make install then did ldd on /usr/local/lib/libsasl.so to find out it's linked to libdb-3.3.so. Kohei On Wednesday 10 October 2001 14:43, you wrote: > Hi, > > > > > Did you do a recompilation of cyrus-sasl after the > > > > ln -s /usr/local/BerkeleyDB.3.3/lib/libdb-3.3.so > > > > > > > > > ln -s /usr/local/BerkeleyDB.3.3/lib/libdb-3.3.a > > > > > > > > stuff??? > > > > O.K. I'll try to recompile cyrus-sasl with the above symlinks. I've > > already added them. > > I did it, but without any effect. > > I did it like this: > cd /usr/local/lib > rm -f libsasl* > rm -fR sasl > > cd to cyrus-sasl sourcefiles directory > > export CPPFLAGS=-I/usr/local/BerkeleyDB.3.2/include > export LDFLAGS=-L/usr/local/BerkeleyDB.3.2/lib > ./configure > make; > make install > > IT DOESNT WORK. sorry i got too loud.... > > My Question: > Why does cyrus-sasl not link against libdb-3.3.so > > When I configure and make it like above???? > > ldd libsasl.so > still looks like this: > libdb.so.3 => /lib/libdb.so.3 (0x4001d000) > libdl.so.2 => /lib/libdl.so.2 (0x4005e000) > libcrypt.so.1 => /lib/libcrypt.so.1 (0x40062000) > libresolv.so.2 => /lib/libresolv.so.2 (0x4008f000) > libc.so.6 => /lib/libc.so.6 (0x400a0000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) > > but it should look like this: > libdb-3.3.so => /usr/lib/libdb-3.3.so (0x4001c000) > libdl.so.2 => /lib/libdl.so.2 (0x4009b000) > libcrypt.so.1 => /lib/libcrypt.so.1 (0x4009f000) > libresolv.so.2 => /lib/libresolv.so.2 (0x400d5000) > libc.so.6 => /lib/libc.so.6 (0x400e5000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) > > Does anybody know why and how to solve it. > > THX > > Jochen Metzger -- Kohei Yoshida Municipal Engineering Services Co., P.A. 1140 Benson Hwy, Suite 220 Garner, NC 27529 [EMAIL PROTECTED]