Re: problem with ldconfig and packaging libs
On Thu, Dec 17, 1998 at 03:19:46AM +0900, Ionutz Borcoman wrote:
> I am trying to package my first set of libs. I am doing this from my
> account with fakeroot. The problem is that this way, the process stops
> with the following error:
> ldconfig /home/borco/debian-devel/vdk/vdk-0.5/debian/tmp/usr/lib/
> make: ldconfig: Command not found
> make: *** [install] Error 127
> make: Leaving directory `/home/borco/debian-devel/vdk/vdk-0.5/src'
> make: *** [install] Error 2
> make: Leaving directory `/home/borco/debian-devel/vdk/vdk-0.5'
> make: *** [install-stamp] Error 2
> as the original Makefile runs ldconfig. How can I correct this ?
> If I run this as root, how can I sign the package, as my pgp key was
> created for my personal account.
I think you can tell the dpkg programs the name of a setuidroot script
or program. I use sudo. It will change to root when it needs to and
then change back. Usually, root is only needed when you run the
install target of the Makefile.