作者:高桥惜员_136 | 来源:互联网 | 2023-05-17 20:39
IvegotaserveratworkonwhichIambasicallybuildinganapachemysqlsubversionphppythondev
I've got a server at work on which I am basically building an apache/mysql/subversion/php/python development base. I've found that the RPM repos the server is pointed at only have version 3.3.6-5 of sqlite, which subversion 1.6.17 chokes on, requiring at least version 3.4:
我有一个服务器在工作,我基本上构建一个apache / mysql / subversion / php / python开发基础。我发现RPM repos服务器指向只有版本3.3.6-5的sqlite,颠覆1.6.17 choke,至少需要版本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'm getting the error:
我设法下载并构建了sqlite(sqlite-autoconf-3070701.tar.gz),但现在当我运行sqlite3时,我收到错误:
sqlite3: symbol lookup error: sqlite3: undefined symbol: sqlite3_sourceid
I'm sure this is because the PATH variable has the so files for both the rpm installation of sqlite (/usr), and the compiled version I installed (/usr/local). I can't yum remove the exiting sqlite because it is tied to the installation of rpm, so what I would like to do is add whatever I need to my profile or bashrc or whatever other black magic is needed to allow some users to run the updated sqlite install, while others just default to the original install.
我确定这是因为PATH变量具有sqlite(/ usr)的rpm安装和我安装的编译版本(/ usr / local)的so文件。我不能删除现有的sqlite,因为它与rpm的安装有关,所以我想做的是添加我需要的任何内容或bashrc或其他任何需要一些用户运行更新sqlite安装,而其他人只是默认为原始安装。
Other info:
其他信息:
# 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 anyone tell me what I can do to get the two copies of sqlite to play together nicely?
任何人都可以告诉我我能做些什么来让sqlite的两个副本很好地一起玩?
1 个解决方案