Multiple sqlite installation on one server

I have a server on which I basically create the apache / mysql / subversion / php / python development base. I found that in the RPM repository on the server, only version 3.3.6-5 sqlite is specified, which undermines 1.6.17, requires at least version 3.4:

An appropriate version of sqlite could not be found. We recommmend 3.6.13, but require at least 3.4.0. Please either install a newer sqlite on this system or get the sqlite 3.6.13 amalgamation from: http://www.sqlite.org/sqlite-amalgamation-3.6.13.tar.gz unpack the archive using tar/gunzip and copy sqlite3.c from the resulting directory to: /root/installs/subversion-1.6.17/sqlite-amalgamation/sqlite3.c This file also ships as part of the subversion-deps distribution. 

I managed to download and build sqlite (sqlite-autoconf-3070701.tar.gz), but now when I run sqlite3, I get an error message:

 sqlite3: symbol lookup error: sqlite3: undefined symbol: sqlite3_sourceid 

I am sure that this is due to the fact that the PATH variable has such files for installing rpm in sqlite (/ usr) as well as for the compiled version I installed (/ usr / local). I cannot yum delete the leaving sqlite because it is tied to the rpm installation, so I would like to add everything I need to my profile or bashrc or any other black magic so that some users can run the updated sqlite installation in while others simply install the original installation by default.

Additional Information:

 # cat /etc/*-release Enterprise Linux Enterprise Linux Server release 5.6 (Carthage) Oracle Linux Server release 5.6 Red Hat Enterprise Linux Server release 5.1 (Tikanga) Red Hat Enterprise Linux Server release 5.6 (Tikanga) # uname -m x86_64 

Can someone tell me what I can do to make two copies of sqlite fit well?

+4
source share
1 answer

Have you tried that offers an error message from subversion?

... get sqlite 3.6.13 merge from: http://www.sqlite.org/sqlite-amalgamation-3.6.13.tar.gz unpack the archive using tar / gunzip and a copy of sqlite3.c from the resulting directory: / root / installs / subversion -1.6.17 / sqlite-amalgamation / sqlite3.c

+3
source

All Articles