Re: [sqlite] Sqlite version for libc 2.1.3

2007-11-23 Thread Tara_Nair
Thanks for your response, Trevor.

It is what I had initially thought too, that if I built it with an older
set of libraries it will look for those versions at runtime too. But
these libs versions seem to be inbuilt. I cannot seem to change the
sqlite-v3.5.2 dependency on the specific versions of libc-2.2.3 etc.

I downloaded the code from http://www.sqlite.org/download.html
(sqlite-3.5.2.tar.gz)
I used the following command to configure it :

$ config_TARGET_CC=arm-linux-gcc config_BUILD_CC=gcc
../sqlite-3.5.2/configure --disable-tcl --disable-readline --disable-tcl
--disable-threadsafe --host=arm-linux
--prefix=/home/tara/user-driver/sql/install-sq
$ make
$ make install
Then copied the install-sql to my target and try to run it.

If I forciby link the ld and libc on command line while running sqlite3
, it works.
That is , if at the target prompt I do the following , sqlite3 works.
> LD_LIBRARY_PATH=/lib/2.2.3:$LD_LIBRARY_PATH
>/lib/2.2.3/ld-2.2.3.so ./sqlite3
It works for sqlite3 , but the rest of the application dies including
the simple commands like ls, mount etc as the system depends on the
2.1.3 version of the libraries.

I am sure this is too much information about my debug. But essentially
my point is if I could get a sqlite3 version which depended on 2.1.3
version of libraries in /lib folder, it would be great.

Thanks & Regards,
Tara

Trevor Talbot wrote:
> On 11/22/07, Tara_Nair <[EMAIL PROTECTED]> wrote:
>
>   
>> I just recently started to use Sqlite3 version 3.5.2 on an ARM-LINUX
>> based embedded platform.
>> Sqlite3-v3.5.2. has a dependency on libc, ld and libpthread versions 2.2.3.
>> 
>
> Er.. it should depend on whatever versions you link it against when
> you cross-compile for your platform.
>
> How/where did you get the version of SQLite you're trying to use now?
>
> -
> To unsubscribe, send email to [EMAIL PROTECTED]
> -
>
>
>   


-
To unsubscribe, send email to [EMAIL PROTECTED]
-



[sqlite] Sqlite version for libc 2.1.3

2007-11-22 Thread Tara_Nair
Hello all,

I just recently started to use Sqlite3 version 3.5.2 on an ARM-LINUX
based embedded platform.
Sqlite3-v3.5.2. has a dependency on libc, ld and libpthread versions 2.2.3.

My sorrow is that the rest of my application and the libraries on my
ramdisk are of version 2.1.3. It doesn't seem to be a simple task to
update the ramdisk and possibly other software to be compatible with the
latest versions of these libraries.

I was wondering if anybody knew if there exists an older version of
sqlite3 which uses 2.1.3 versions of libc,ld and libpthread.

Would be very grateful, if anyone could help with a version number and
where I could download it from.
Thanks in advance.
Tara.


-
To unsubscribe, send email to [EMAIL PROTECTED]
-