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

/etc/ld.so.conf for dpkg-buildpackage issue



I'm building a lib under sarge in a debootstrap chroot as a normal
user (and fakeroot).  When it gets to this part, it's trying to modify
the system /etc/ld.so.conf (which is naughty afaict).  What's the
proper way to prepare this?

Thanks

- Scott.

make[3]: Entering directory `/usr/local/src/libcommoncpp2-1.5.1'
make[3]: Nothing to be done for `install-exec-am'.
------------------------------------------------------------------------------
Hmm, looks like you forgot to add
/usr/local/src/libcommoncpp2-1.5.1/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/libcommoncpp2-1.5.1/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
make[3]: Leaving directory `/usr/local/src/libcommoncpp2-1.5.1'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/usr/local/src/libcommoncpp2-1.5.1'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/libcommoncpp2-1.5.1'
make: *** [install] Error 2
debian@riddle:/usr/local/src/libcommoncpp2-1.5.1$



Reply to: