Installing multiple versions of a shared library
- by nsfyn55
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?