On 01/06/2013 08:51 AM, Simon Geard wrote:
> A curious question, for anyone who might know.
>
> Why, in the LLVM instructions, do we go to such lengths to put all the
> libraries in a subdirectory of /usr/lib, only to add an entry to
> ld.so.conf to ensure everything can find them?
>
> I ask because I missed that last bit without noticing at the time, only
> to have some other package try and run clang and fail with library
> loading issues. And neither the book, nor the patch offers any
> explanation of why we want to "fix installation paths for libraries".
>
> Note - I'm aware that the patch also fixes the locations of stuff
> in /etc and /usr/share/doc, no problem there. It's just the reasons for
> forcing everything into /usr/lib/llvm that has me puzzled.
>
> Simon.

Well, I guess answer is simple. We didn't want to "polute" /usr/lib with 
~100 static libraries which are only used by programs that use LLVM.

Entry to ld.so.conf is added because there are few shared libraries, 
ensuring that they can be loaded at runtime.

Some time ago, LLVM was installed into /opt/llvm by default because of 
mentioned reason, but we agreed to install it into /usr hierarchy - just 
changed the libdir.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to