sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: John Clizbe
Subject: Re: [Sks-devel] Linking error in sks-1.1.0
Date: Fri, 12 Dec 2008 13:47:05 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11 Mnenhy/0.7.5.0

Sebastian Wieseler wrote:
> And if I say in sks-1.1.0/Makefile.local:
> LIBDB=-L/home/sks/BerkeleyDB.4.6/lib/
> 
> I'll get ...
> 
> catchup.cmx reconserver.cmx update_subkeys.cmx sks_do.cmx unit_tests.cmx 
> sks.cmx
> bdb/libbdb.a(bdb_stubs.o): In function `caml_cursor_dup':
> bdb_stubs.c:(.text+0x120b): undefined reference to `db_strerror'
> bdb/libbdb.a(bdb_stubs.o): In function `caml_cursor_count':
> bdb_stubs.c:(.text+0x12a8): undefined reference to `db_strerror'
> bdb/libbdb.a(bdb_stubs.o): In function `caml_cursor_del':
> bdb_stubs.c:(.text+0x132f): undefined reference to `db_strerror'
> bdb/libbdb.a(bdb_stubs.o): In function `caml_cursor_get_keyonly':
> bdb_stubs.c:(.text+0x14bf): undefined reference to `db_strerror'
> [...]
> 
> 
> And yes, I tried db-4.6 and db-4.7... both with no luck.
> Any ideas? :-(

-L specifies the directory where to look for the library

-l specifies the library to search

Try

LIBDB='-L/home/sks/BerkeleyDB.4.6/lib/ -ldb-4.6'


-- 
John P. Clizbe                      Inet:John (a) Mozilla-Enigmail.org
You can't spell fiasco without SCO. hkp://keyserver.gingerbear.net  or
     mailto:address@hidden

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]