dpkg-shlibdeps on a bo system
I am encountering difficulties trying to build a package on a Debian
1.3 system. The build fails in the call to dpkg-shlibdeps because the
output from ldd contains an unexpected line. Here's the information
on my ldd program.
wiener# ldd -v
ldd: version 1.8.12
wiener# dpkg -S /usr/bin/ldd
ldso: /usr/bin/ldd
wiener# dpkg -s ldso
Package: ldso
Essential: yes
Status: install ok installed
Priority: required
Section: base
Installed-Size: 374
Maintainer: David Engel <david@debian.org>
Source: ld.so
Version: 1.8.12-1
Replaces: libc
Provides: libdl1
Conffiles:
/etc/ld.so.conf bcdcb23c5d5fb460cee2ce315ef7bd32
Description: The Linux dynamic linker, library and utilities.
The dynamic linker provides the user-level support for loading and
linking DLL and ELF shared libraries. It is required by any program
that uses shared libraries, which is just about all of them.
The shared libraries are being build like
gcc -O2 -Wall -fpic -I/usr/src/packages/r-base-0.61.1/include -c line.c
gcc -O2 -Wall -fpic -I/usr/src/packages/r-base-0.61.1/include -c smooth.c
ld -shared -o eda.so line.o smooth.o -ld
When dpkg-shlibdeps is finally called, the build transcript shows
dh_shlibdeps # I cobbled up debhelper to work on a 1.3 system
dpkg-shlibdeps: warning: unknown output from ldd on `debian/tmp/usr/lib/R/lib\
rary/mva/libs/mva.so': ` ./debian/tmp/usr/lib/R/library/mva/libs/mva.s\
o => ./debian/tmp/usr/lib/R/library/mva/libs/mva.so'
dpkg-shlibdeps: warning: unknown output from ldd on `debian/tmp/usr/lib/R/lib\
rary/eda/libs/eda.so': ` ./debian/tmp/usr/lib/R/library/eda/libs/eda.s\
o => ./debian/tmp/usr/lib/R/library/eda/libs/eda.so'
dpkg-shlibdeps: failure: chown of `debian/substvars.new': No such file or dir\
ectory
make: *** [binary-arch] Error 2
The problem is that ldd returns two lines - one of which is the name
of the name of the shared object itself.
wiener# cd /usr/src/packages/r-base-0.61.1/debian/tmp/usr/lib/R/library/eda/
wiener# ldd ./libs/eda.so
././libs/eda.so => ././libs/eda.so
libc.so.5 => /lib/libc.so.5
Suggestions appreciated.
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: