Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by rhesa (Vicar)
on Nov 17, 2006 at 18:37 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://584778]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-19 02:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found