[prev in list] [next in list] [prev in thread] [next in thread]
List: sqlite-users
Subject: [sqlite] Undefined symbols with libsqlite3.a 3.3.8 when just building the shell with Xcode 2.4...
From: Pyramide-Ingenierie Developer List <dev () pyramide-ingenierie ! be>
Date: 2006-10-27 7:51:07
Message-ID: 1283ADC8-583A-400D-A072-42D023067603 () pyramide-ingenierie ! be
[Download RAW message or body]
Hello,
I just try building the standard SQLite 3.3.8 shell using a really
simple Xcode projet just having the files "shell.c", "sqlite3.h" and
"libsqlite3.a".
The last two were obtained builing the sqlite sources as told by the
readme:
tar xf sqlite-3.3.8.tar
mkdir build
cd build/
../sqlite-3.3.8/configure
make
From this, I extract the "libsqlite3.a" hidden in the ".libs" folder
(why is it so hidden) and the "sqlite3.h" file...
If I build using "Development" mode, I got no problem (it is dynamic
linking, so it should make a runtime error) but with "Deployment"
mode, I got an error:
/usr/bin/ld: warning prebinding disabled because of undefined symbols
/usr/bin/ld: Undefined symbols:
_sqlite3_enable_load_extension
_sqlite3_load_extension
/Users/luc/Developments/Projects_BSD/SQLite_338/shellWithLib/build/
shellWithLib.build/Deployment/shellWithLib.build/Objects-normal/ppc/
shell.o reference to undefined _sqlite3_enable_load_extension
/Users/luc/Developments/Projects_BSD/SQLite_338/shellWithLib/build/
shellWithLib.build/Deployment/shellWithLib.build/Objects-normal/ppc/
shell.o reference to undefined _sqlite3_load_extension
collect2: ld returned 1 exit status
Looking at the Makefile produced by "configure", it seems the file
"loadext.c" is correctly added to the library... And I see nowhere
that the symbol SQLITE_OMIT_LOAD_EXTENSION could be defined...
Regards,
Luc Demarche
..................................................................
Luc Demarche luc.demarche@pyramide-ingenierie.be
Mac OS Software Developer
Pyramide Ingenierie sprl Tel: +32 87 292120
188 rue de Liege Fax: +32 87 292129
B-4800 Verviers Mail: info@pyramide-ingenierie.be
..................................................................
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic