Re: [Vala] [ANNOUNCE] Vala 0.9.6 - Compiler for the GObject type system



On Wed, Aug 18, 2010 at 22:54:35 +0200, Nicolas Joseph wrote:
By default, /usr/local/lib isn't in LD_LIBRARY_PATH:

Nothing is in LD_LIBRARY_PATH by default and it better stays that way. You
meant /etc/ld.so.conf, didn't you?

Now damn sure /usr/local/lib *IS* in /etc/ld.so.conf by default (at least in
Debian - there might be some Linux distribution where it is not).

http://code.google.com/p/valide/wiki/FAQ?wl=en#libvalide-0.0.so:_No_such_file_or_directory

This FAQ is just plain wrong. It needs to first and foremost mention trying
to run ldconfig. If that does not help, users are not supposed to set their
LD_LIBRARY_PATH anyway. Never. Ever. For installing to non-standard paths,
libtool is supposed to generate appropriate -rpath option to ld based on path
it has recorded in the .la file (that's why that file exists!). Failure to do
so is a bug in libtool or a bug in it's use by the build system.

-- 
                                                 Jan 'Bulb' Hudec <bulb ucw cz>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]