Fwd: Re: [OTR-users] otr plugin doesn't show up
Paul Wouters
paul at cypherpunks.ca
Mon Apr 3 23:49:49 EDT 2006
On Mon, 3 Apr 2006, Greg Troxel wrote:
> So, I cp'd libotr.so.2 into
> /usr/lib -- and it instantly showed up in the gaim plugins list when I
> restarted -- and didn't throw any error messages.
>
> This is asking for later trouble IMHO - you've put a file into /usr
> which is managed by the package system.
>
> A cleaner fix is to tell the system to look in /usr/local/lib for
> libraries. Using -R/usr/local/lib on the link link for gaim-otr
> should also do this, but if Debian still discourages rpath you should
> ask the Debian people what you should do instead.
AFAIK, the correct way is to add /usr/local/lib to /etc/ld.so.conf
(and run 'ldconfig' once). I am not sure why some distributions have
stopped populating ld.so.conf with /usr/local/lib, but since that
directory normally is owned by root anyway, I don't see what harm it
could do. Only root can install libraries in there.
Paul
More information about the OTR-users
mailing list