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

Re: problem with ldconfig and packaging libs



On Thu, Dec 17, 1998 at 03:19:46AM +0900, Ionutz Borcoman wrote:
> Hi,
> 
> 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[2]: ldconfig: Command not found
> make[2]: *** [install] Error 127
> make[2]: Leaving directory `/home/borco/debian-devel/vdk/vdk-0.5/src'
> make[1]: *** [install] Error 2
> make[1]: 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.


Reply to: