Hi all,
I've downloaded the sqlite-2.8.17 source code in order to create my own
static library for my embedded platform (OpenSlug)
source code package:
sqlite-source-2_8_17.zip
Ok, I get to cross-compile the static library (libsqlite.a) using this
simple makefile:
include ../Makefile_opnode.in
all: libsqlite.a copy_files
libsqlite.a:: attach.o auth.o btree.o btree_rb.o build.o copy.o date.o
delete.o encode.o expr.o func.o hash.o insert.o \
main.o opcodes.o os.o pager.o parse.o pragma.o printf.o
random.o select.o table.o tokenize.o trigger.o update.o \
util.o vacuum.o vdbe.o vdbeaux.o where.o
$(AR) crv $@ $^
copy_files:
cp libsqlite.a $(OPENSLUG_LIB_PATH)/
cp sqlite.h $(OPENSLUG_INCL_PATH)/opnode/
.PHONY: clean
clean:
rm -f *.o *~
The library seems to be correctly built and my app gets linked to the
static library without problems.
The problem comes when I run the application. Then I get this error:
"error while loading shared libraries: libsqlite.so.0: cannot open
shared object file: No such file or directory"
But I don't want to dinamically load the library... Any idea out there?
Thanks,
Daniel.
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------