On Sat, Feb 12, 2005 at 11:45:44AM -0500, Clint Adams wrote: > LD_LIBRARY_PATH=/ fakeroot dh_testroot > also works for me. Did you try dh_making a new debian package, and adding: export LD_LIBRARY_PATH=/
> However, checking both versions of debhelper in the archive, I see that > dh_testroot does not display the same thing that you included in your > bug report. What program is producing this output? I just made up that output as best as i could remember. I'm including verbatim output now, as well as a minimal debian package test case. z-1$ fakeroot debian/rules binary dh_testdir dh_testroot dh_testroot: You must run this as root (or use fakeroot). make: *** [binary-arch] Error 1 > > I need LD_LIBRARY_PATH set because my source package builds shared > > libraries and then links executables against them; I want the > > executables to be linked against the copy in the compile-tree, not > > against a copy that might be in /usr/lib, and I don't want to > > build-conflict with myself. > > I guess you're not using libtool. No, I don't know anything about it. I hacked in a shared library implementation myself to upstream's compiler frontend, which reduces the package size by a factor of 4. But runtime still crashes when I link shared anyway. Justin
z-1.tar.bz2
Description: Binary data