Nooooooooo!!!! That would be horrific!

Oh. Sorry. Sometimes I over-react...

But there is a betterer solution. One can add "/usr/local/lib" to the
list of directories in /etc/ld.so.conf, or better, simply create a new
file in /etc/ld.conf.so.d/local.conf that contains the lines

/usr/local/lib
/usr/local/lib64
/usr/local/lib32

So that ldconfig(1) picks up the files in these directories when
building its cache of shared libraries. (It's probably overkill to
include the second two lines, but it won't hurt either.)

Effecting this change *could* become part of the Rivendell installation
script that Fred has created...

My $0.02...

  ~David Klann


On 11/01/2016 09:23 AM, Cowboy wrote:
> On Monday 31 October 2016 07:32:10 pm Fred Gleason wrote:
>>  A favorite gotcha on RHEL-ish systems is to put them in ‘/usr/local/lib’ 
>> (the default for many configure scripts), but *not* in the default list of 
>> places where ld.so(8) looks.  To fix that, you can:
>>
>> 1) Install them in ‘/usr/lib’ or ‘/usr/lib64’ as appropriate.  You can do 
>> that by passing ‘—prefix=/usr’ to ‘configure’ when building each codec.  
>> This is my preferred practice.
>>
>> 2) Add ‘/usr/local/lib’ to the list of places where ld.so(8) looks.  To do 
>> that, do (as root):
>>
>>         echo /usr/local/lib > /etc/ld.so.conf.d/glasscoder.conf
>>         ldconfig
> 
>  So, how do you feel about making /usr/local/lib a symbolic to /usr/lib64 ?
> 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to