|
From: | Achim Gratz |
Subject: | [Orgmode] Re: Introducing gnugol - an org-mode-output web search client |
Date: | Wed, 05 Jan 2011 09:40:12 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Dave Taht <address@hidden> writes: > A fix for one of the problems reported on this list (by bart, thx!) was > to make sure that the path > > /usr/local/lib > > was in /etc/ld.so.conf or in /etc/ld.so.conf.d and to run > > sudo ldconfig > > after installing libjannson. > > I've updated the documentation to reflect his. That really shouldn't be necessary for locally built applications since these already know where the libraries are installed. In fact doing it this way opens a potential security hole since now the dynamic loader trusts libraries in /usr/local/lib/ and may prefer it over system libraries for _all_ applications (you may or may not want this behaviour, but in any case should be aware of it). Better set up the correct runtime search path with an '-rpath=<dir>' argument to the linker invocation for the install and you never need to invoke ldconfig. Anything installed in /usr/local shouldn't require full administrator privileges and certainly not alter the system behaviour. That most Linux distributions don't make that distinction between system and local applications anymore doesn't mean it's the correct thing to do... Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
[Prev in Thread] | Current Thread | [Next in Thread] |