chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Sqlite3 Egg Installation Error


From: Joshua Griffith
Subject: [Chicken-users] Sqlite3 Egg Installation Error
Date: Wed, 19 Sep 2007 23:48:57 -0500

Hello,

I'm having a problem installing the latest sqlite3 egg. I'm attempting to install the egg using Chicken 2.709, SQLite 3.2.8 (installed from source using Fink), onto Mac OS X 10.4.10 (running gcc 4.0.1 with the i686-apple-darwin8 target). SQLite runs from the terminal without any problems. Here is the output of chicken-setup:

$ sudo chicken-setup -v sqlite3
changing working directory to `sqlite3.egg-dir'
executing sqlite3.setup ...
/usr/local/bin/csc -feature compiling-extension -v -O2 -d0 -X easyffi -X tinyclos -s sqlite3.scm -lsqlite3 -o sqlite3.so -check- imports -emit-exports sqlite3.exports /usr/local/bin/chicken sqlite3.scm -output-file sqlite3.c -dynamic - feature chicken-compile-shared -quiet -feature compiling-extension - optimize-level 2 -debug-level 0 -extend easyffi -extend tinyclos - check-imports -emit-exports sqlite3.exports
Warning: global variable `g14' is never used
Warning: global variable `g23' is never used
Warning: global variable `g35' is never used
Warning: global variable `g40' is never used
gcc sqlite3.c -o sqlite3.o -c -no-cpp-precomp -fno-strict-aliasing - fno-common -DHAVE_CHICKEN_CONFIG_H -Os -fomit-frame-pointer -fPIC - DPIC -DC_SHARED -I /usr/local/include
rm sqlite3.c
gcc sqlite3.o -o sqlite3.so -bundle -L/usr/local/lib -lsqlite3 -lm - lchicken
/usr/bin/ld: Undefined symbols:
_sqlite3_get_autocommit
_sqlite3_transfer_bindings
collect2: ld returned 1 exit status
*** Shell command terminated with exit status 1: gcc sqlite3.o -o sqlite3.so -bundle -L/usr/local/lib -lsqlite3 -lm -lchicken
Error: shell invocation failed with non-zero return status
"/usr/local/bin/csc -feature compiling-extension -v -O2 -d0 -X easyffi -X tinyc...
256

Could this be due to a version incompatibility with the egg and SQLite3 (possibly the OS X version of SQLite3 conflicting with the Fink version)? If so, how can I point Chicken to the latest Fink libraries?

Thanks,

Josh





reply via email to

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