Re: compiling sqlite
Re: compiling sqlite
- Subject: Re: compiling sqlite
- From: Matt Jaffa <email@hidden>
- Date: Sat, 27 Mar 2004 15:59:48 -0700
NM,
I had two versions compiled and it was linking the dynamic
version(Shared);
It appears to be working when I move it to my Jaguar HD now, and don't
have the /usr/local/lib/libsqlite.0.dylib
Matt
On Mar 27, 2004, at 2:23 PM, Matt Jaffa wrote:
Hi,
I tried compiling sqlite as you suggested below.
I then went and added the libsqlite.a compiled file to my XCode
project.
Compiled my project and deleted the /usr/local/lib/libsqlite.0.dylib
to test to make sure it is not
trying to access the dynamic library, because I want it static where
the end user doesn't have to
have that library on his computer.
But it fails to load my program cause it can not loac
/usr/local/lib/libsqlite.0.dylib
So what am I doing wrong for it to not work?
thanks,
Matt
On Jan 31, 2004, at 12:02 PM, b.bum wrote:
On Jan 31, 2004, at 8:13 AM, Michael Grant wrote:
You're right, I must have grabbed the wrong file. The Web site
doesn't exactly make it easy to get the right one, at least not for
us Mac folk.
If you are intending to embed SQLite into applications that are
expected to run on other systems, considering building a statically
linked SQLite library. Size isn't a problem -- it less than 1MB
after stripping.
I usually use something like...
./configure --disable-shared --enable-static
sudo make install
... as this will install a static-only copy of the sqlite library.
(The above is actually from building the Readline library. This
will work with just about any GNU autoconf based tool.)
b.bum
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.