Re: [Sks-devel] Linking error in sks-1.1.0

2008-12-11 Thread Sebastian Wieseler
Okay... dunno if it is my or your fault :-) If you do a "ar t" on sks-1.1.0/bdb/libbdb.a: libdb-4.7.a If you do a "ar x" you've got *exactly* the same libdb-4.7.a as it was in db-4.7.25/build_unix/.libs/libdb-4.7.a So. And for you I did a "make install" so that liebdbd.a lies now in /home/sks/

Re: [Sks-devel] Linking error in sks-1.1.0

2008-12-11 Thread Sebastian Wieseler
On Thu, Dec 11, 2008 at 03:34:24PM -0800, Chris Kuethe wrote: > and is that .a file The LIBDB=/home/sks/db-4.7.25/build_unix/libdb.a is > really an archive? is it big enough to be a > library? 1724894 Bytes > does "file" think it's a library? /home/sks/db-4.7.25/build_unix/.libs/libdb-4.7.a: c

Re: [Sks-devel] Linking error in sks-1.1.0

2008-12-11 Thread Chris Kuethe
and is that .a file really an archive? is it big enough to be a library? does "file" think it's a library? does "ar t libdb.a" show any objects? i'm thinking it's some libtool stupidity because it looks like you're trying to link against the library in the db build directory, rather than a correctl

Re: [Sks-devel] Linking error in sks-1.1.0

2008-12-11 Thread Sebastian Wieseler
Hello. On Thu, Dec 11, 2008 at 12:03:22PM -0800, Chris Kuethe wrote: > you could build db 4.6 and install it into /home/sks. then you have > the required library, but you don't pollute the base system I've done so. And then run after make dep: LIBDB=/home/sks/db-4.7.25/build_unix/libdb.a make al

Re: [Sks-devel] Linking error in sks-1.1.0

2008-12-11 Thread Chris Kuethe
On Thu, Dec 11, 2008 at 11:26 AM, Sebastian Wieseler wrote: > Ahh. Thanks! > Terrible that db-4.6 isn't yet umasked on Gentoo. :-( you could build db 4.6 and install it into /home/sks. then you have the required library, but you don't pollute the base system -- GDB has a 'break' feature; wh

Re: [Sks-devel] Linking error in sks-1.1.0

2008-12-11 Thread Sebastian Wieseler
On Thu, Dec 11, 2008 at 08:40:23AM -0800, Chris Kuethe wrote: > The error tells you everything you need to know: the linker can't find > libdb-4.6.* - you need to fix your LDFLAGS to tell it where the > library is, and possibly fix the db library name in the makefile. Ahh. Thanks! Terrible th

Re: [Sks-devel] Linking error in sks-1.1.0

2008-12-11 Thread Kiss Gabor (Bitman)
> I've got a problem with compiling sks-1.1.0. > When I do a "make all" (after "make dep" which runs fine) I've got: > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: > cannot find -ldb-4.6 You need libdb version 4.6. Regards Gabor _

[Sks-devel] Linking error in sks-1.1.0

2008-12-11 Thread Sebastian Wieseler
Hello. I've got a problem with compiling sks-1.1.0. When I do a "make all" (after "make dep" which runs fine) I've got: [...] ocamlopt -o sks -I lib -I bdb -ccopt -Lbdb -dtypes -ccopt -pthread -inline 40 unix.cmxa [...] update_subkeys.cmx sks_do.cmx unit_tests.cmx sks.cmx /usr/lib/gcc/i686-pc-