Bug#399482: libcommoncpp2: build process cannot find ldconfig

Steve Langasek vorlon at debian.org
Mon Nov 20 10:55:55 CET 2006


severity 399482 important
thanks

On Sun, Nov 19, 2006 at 05:17:20PM +0000, Scott Edwards wrote:
> make[3]: Nothing to be done for `install-exec-am'.
> ------------------------------------------------------------------------------
> Hmm, looks like you forgot to add /usr/local/src/etch/libcommoncpp2-1.4.3/debian/tmp/usr/lib to /etc/ld.so.conf.
> I'll try to fix it for you (but pay attention to libtool's output
> next time, ok?)
> /bin/sh: line 1: /etc/ld.so.conf: Permission denied
> 
> Well, that didn't work.  Remember to add /usr/local/src/etch/libcommoncpp2-1.4.3/debian/tmp/usr/lib to
> /etc/ld.so.conf if you want to use this library.
> ------------------------------------------------------------------------------
> /bin/sh: line 1: ldconfig: command not found
> make[3]: *** [install-data-local] Error 127

This is caused by a goofy install-data-local rule in the upstream Makefile
which checks whether the target directory is under /usr, and if so, munges
/etc/ld.so.conf along the way.  In general, the target directory when
building a Debian package will *not* be under /usr, so I'm downgrading this
report since it's specific to your build env.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/




More information about the Pkg-voip-maintainers mailing list