more compile problems (Berkeley db)
Gerlich, Rene
Rene.Gerlich at commerzbank.com
Tue Jul 1 19:27:05 CDT 2003
here's ls -la /uar/local/BerkeleyDB.4.1
total 3736
-rw-r--r-- 1 gerlichr staff 1033552 Jul 1 17:49 libdb-4.1.a
-rw-r--r-- 1 gerlichr staff 724 Jul 1 17:49 libdb-4.1.la
-rwxr-xr-x 1 gerlichr staff 847332 Jul 1 17:49 libdb-4.1.so
lrwxrwxrwx 1 root other 12 Jul 1 17:50 libdb-4.so ->
libdb-4.1.so
lrwxrwxrwx 1 root other 11 Jul 1 17:50 libdb.a -> libdb-4.1.a
lrwxrwxrwx 1 root other 12 Jul 1 17:50 libdb.so ->
libdb-4.1.so
here's all the config.log stuff related to BerkeleyDB (i guess)
configure:11754: checking for dbopen
configure:11782: gcc -o conftest -g -O2 -I/usr/local/BerkeleyDB.4.1/include
-L/usr/local/BerkeleyDB.4.1/lib conftest.c -lm -lm 1>&5
Undefined first referenced
symbol in file
dbopen /var/tmp//ccbyJlUk.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 11759 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char dbopen(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dbopen();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_dbopen) || defined (__stub___dbopen)
choke me
#else
dbopen();
#endif
; return 0; }
configure:11801: checking for dbopen in -ldb1
configure:11820: gcc -o conftest -g -O2 -I/usr/local/BerkeleyDB.4.1/include
-L/usr/local/BerkeleyDB.4.1/lib conftest.c -ldb1 -lm -lm 1>&5
ld: fatal: library -ldb1: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 11809 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dbopen();
int main() {
dbopen()
; return 0; }
configure:11839: checking for dbopen in -ldb
configure:11858: gcc -o conftest -g -O2 -I/usr/local/BerkeleyDB.4.1/include
-L/usr/local/BerkeleyDB.4.1/lib conftest.c -ldb -lm -lm 1>&5
Undefined first referenced
symbol in file
dbopen /var/tmp//ccccAcNR.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 11847 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dbopen();
int main() {
dbopen()
; return 0; }
configure:11877: checking for __db185_open in -ldb-3
configure:11896: gcc -o conftest -g -O2 -I/usr/local/BerkeleyDB.4.1/include
-L/usr/local/BerkeleyDB.4.1/lib conftest.c -ldb-3 -lm -lm 1>&5
ld: fatal: library -ldb-3: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 11885 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char __db185_open();
int main() {
__db185_open()
; return 0; }
configure:11915: checking for __db185_open in -ldb-4.0
configure:11934: gcc -o conftest -g -O2 -I/usr/local/BerkeleyDB.4.1/include
-L/usr/local/BerkeleyDB.4.1/lib conftest.c -ldb-4.0 -lm -lm 1>&5
ld: fatal: library -ldb-4.0: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 11923 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char __db185_open();
int main() {
__db185_open()
; return 0; }
thanks for your assistance. where do you take the time for all these
questions?
cheers
rene
More information about the gnucash-user
mailing list