thanks for the education, looks like i have multiple versions floating around, as seen below I'll blow a way the lib64 version just to eliminate the confusion.
How do I tell which one is being used?

computer A (this has 3.5.4 installed)
lrwxrwxrwx 1 root root 19 Feb 8 2006 /usr/lib64/libsqlite3.so.0 -> libsqlite3.so.0.8.6 lrwxrwxrwx 1 root root 19 Jan 24 15:59 /usr/local/lib/libsqlite3.so.0 -> libsqlite3.so.0.8.6

computer B (I have not done the upgrade here yet)
lrwxrwxrwx 1 root root 19 May 29 2007 /usr/lib64/libsqlite3.so.0 -> libsqlite3.so.0.8.6 lrwxrwxrwx 1 root root 19 May 29 2007 /usr/lib/libsqlite3.so.0 -> libsqlite3.so.0.8.6 lrwxrwxrwx 1 root root 19 Jul 26 2007 /usr/local/lib/libsqlite3.so.0 -> libsqlite3.so.0.8.6

I think I should clean out all the sqlite libs and bins, is all i have to delete are sqlite3 and libsqlite3.so.0* on the system?

thanks for the help

Jim




Alexander Batyrshin wrote:
There is two way of compiling DBD::SQLite:
1. to use his own internal version of SQLite
USE_LOCAL_SQLITE=1 perl Maker.pl
2. to use shared library of SQLite
SQLITE_LOCATION=/path/to/libsqlite perl Makefile.pl

So if you install 3.5.4 in /usr/local/lib, you should set
SQLITE_LOCATION=/usr/local/lib/

On Jan 25, 2008 5:13 AM, Jim Dodgen <[EMAIL PROTECTED]> wrote:
I have tend to build the DBD::SQLite from source, when ever I have built
with it looking for sqlite libs it reports a old version older than
3.3.9 or something
and then uses the current 3.4.2 stuff supplied in the module.

I do have 3.5.4 installed, it migh be that there could be a older
version hiding someplace. not sure how to find it or delete it.

I'm on fedora  also  a RHES

Alexander Batyrshin wrote:
I have no problem with 3.5.4.
Maybe your  is linked with libsqlite in other dirrectory?
For example your DBD::SQLite is linked against
/usr/lib/libsqlite3.so.0, and you installed new 3.5.2 into
/usr/local/lib ?


Here is my linking information:
# ldd /usr/lib/perl5/site_perl/5.8.8/i686-linux/auto/DBD/SQLite/SQLite.so
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb7eb7000)
        libc.so.6 => /lib/libc.so.6 (0xb7d87000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7d70000)
        /lib/ld-linux.so.2 (0x41000000)


On Jan 25, 2008 4:41 AM, Jim Dodgen <[EMAIL PROTECTED]> wrote:

sorry I attached another email by accident, it's content is not related
to my question

Jim

Jim Dodgen wrote:

the latest DBD::SQLite  (a Perl module)  was buit with 3.4.2  I have
attempted to get a version up to 3.5.2 with no success so far.

anyone have any success yet? If so what is the magic.

Jim



-----------------------------------------------------------------------------

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





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







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

Reply via email to