On Sun, May 1, 2011 at 12:48 AM, vagn scott <vagnsc...@gmail.com> wrote:

>
> Please look at
>
>    ldconfig -N
>
> it will update the links for you.
>
> You could try something like (warning untested)
>
> class foo {
>        package { "liblcgdm":
>                notify => Exec[ "ldconfig::update" ],
>        }
>
>        include ldconfig::update
> }
>
> class ldconfig::update {
>        exec { "ldconfig -N":
>                refreshonly => true,
>        }
> }
>
> Of course, the package manager should set up these
> links for you when installing the lib.
>
> The other thing to note: If you are installing a library
> without using the package manager you should run
>
>        ldconfig
>
> anyway, in order to update your loader's idea of
> what libraries exist, and where they are.
> It also creates any missing links.
>
> again, see ldconfig(8)
>
> --
> vagn
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>
As vagn noted, the package manager should be handling this, there most
likely is a valid reason it isn't creating those links (aside from 'bugs').
And if you're sure you want to customize a pkg., re-roll the pkg. You'll
thank yourself later, guaranteed.

-- 
Cheers,

Steven
-----------------------
Steven Acres
UNIX/Linux System Administrator

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to