So here's the short story.
I wanted to compile the latest Transmission client from source but in order to do that I needed the libevent-2 library which is not available from Ubuntu 10.04's repository.
Therefore, I grabbed libevent-2's source code, compiled it and installed it (sudo make install).
I am now able to compile transmission and install it. However, when I try to launch it
/usr/local/bin/transmission-gtk, I get the following error:
/usr/local/bin/transmission-gtk: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory
libevent-2.0.so.5 is in the
/usr/local/lib directory instead of
/usr/local/lib. Is that possibly the problem? Where should I go from here?