[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with ldconfig and packaging libs



Ben Collins wrote:
> 
> Sounds to me like you just need to run ldconfig as root one time to update
> your ld.so.cache file. It should resolve your problem the Right Way.
> 
I have a posinst that says:

#!/bin/sh

set -e

ldconfig

#DEBHELPER#

Isn't this enough ? Installing the package and a program that depends on
it worked OK so I have presumed that I have solved the problem. As you
can install deb files only as root, the ldconfig is run at installation
time as root. No need to run it at deb creation time. Am I missing
something ?

Ionutz


Reply to: