Installing multiple versions of a shared library
Posted
by
nsfyn55
on Super User
See other posts from Super User
or by nsfyn55
Published on 2012-06-27T14:32:20Z
Indexed on
2012/06/27
15:18 UTC
Read the original article
Hit count: 172
I am running ubuntu 10.04 and I want to use tmux 1.6. tmux has a dependency on libevent 2.
My solution was to compile libevent2 and drop into /usr/local/lib
then compile tmux against this lib and drop into /usr/local/bin
. This works great until...I restart. This is just an assumption on my part but it seems that other binaries are now linking to the libevent2 library presumably because its on the library path. Because there are 60+ packages with libevent1 dependencies this causes my install to basically lose its mind.
Is there an idiomatic way to approach running an application that has a core library dependency on a different version? Should I just statically link the lib?
© Super User or respective owner