Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: automating tweaking of /etc/ld.so.conf for installing Image::Magick

by rhesa (Vicar)
on Nov 17, 2006 at 18:37 UTC ( #584778=note: print w/replies, xml ) Need Help??


in reply to quick way to add a line to a file, if it's not already present (automating tweaking of /etc/ld.so.conf for installing Image::Magick)

on my system (CentOS), I do this:
echo "/usr/local/lib" > /etc/ld.so.conf.d/ImageMagick.conf ldconfig
As that goes in its own file, there's no need for trickery.

Oh, and of course my /etc/ld.so.conf is just this:

include ld.so.conf.d/*.conf

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://584778]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2018-08-17 00:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (174 votes). Check out past polls.

    Notices?