Opened 2 years ago
Closed 2 years ago
#58 closed defect (invalid)
сouldn't find library libncurses.so.5
| Reported by: | KeA | Owned by: | stappers |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | debian | Version: | 2.0 |
| Severity: | Keywords: | ||
| Cc: |
Description (last modified by stappers)
dpkg-shlibdeps -Tdebian/debwrt-kernel-headers.substvars debian/debwrt-kernel-headers/usr/src/linux-headers-2.6.34.5/scripts/kconfig/conf debian/debwrt-kernel-headers/usr/src/linux-headers-2.6.34.5/scripts/mod/modpost debian/debwrt-kernel-headers/usr/src/linux-headers-2.6.34.5/scripts/mod/mk_elfconfig debian/debwrt-kernel-headers/usr/src/linux-headers-2.6.34.5/scripts/basic/fixdep debian/debwrt-kernel-headers/usr/src/linux-headers-2.6.34.5/scripts/basic/hash debian/debwrt-kernel-headers/usr/src/linux-headers-2.6.34.5/scripts/basic/docproc
dpkg-shlibdeps: error: couldn't find library libncurses.so.5 needed by debian/debwrt-kernel-headers/usr/src/linux-headers-2.6.34.5/scripts/kconfig/conf (ELF format: 'elf64-little'; RPATH: '').
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/debwrt-kernel-headers.substvars debian/debwrt-kernel-headers/usr/src/linux-headers-2.6.34.5/scripts/kconfig/conf debian/debwrt-kernel-headers/usr/src/linux-headers-2.6.34.5/scripts/mod/modpost debian/debwrt-kernel-headers/usr/src/linux-headers-2.6.34.5/scripts/mod/mk_elfconfig debian/debwrt-kernel-headers/usr/src/linux-headers-2.6.34.5/scripts/basic/fixdep debian/debwrt-kernel-headers/usr/src/linux-headers-2.6.34.5/scripts/basic/hash debian/debwrt-kernel-headers/usr/src/linux-headers-2.6.34.5/scripts/basic/docproc returned exit code 2
make: *** [binary-arch] Error 9
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
+ find /usr/src/debwrt-kernel-headers -maxdepth 1 -name '*.deb'
+ xargs -r -t -i sudo dpkg-cross -a mips -i '{}'
touch debian/package/debwrt-kernel-headers/build
mkdir -p /home/other/debwrt/trunk/bin/ar71xx-angel-2.0-1-default/debian
cp -rav /home/other/debwrt/trunk/build/debian-ar71xx-generic_UBNTRSPRO-squeeze/usr/src/debwrt-kernel-headers/*.deb /home/other/debwrt/trunk/bin/ar71xx-angel-2.0-1-default/debian
cp: unable to stat «/home/other/debwrt/trunk/build/debian-ar71xx-generic_UBNTRSPRO-squeeze/usr/src/debwrt-kernel-headers/*.deb»: No such file or directory
make: *** [debian/package/debwrt-kernel-headers/deliver] Error 1
Attachments (0)
Change History (8)
comment:1 Changed 2 years ago by stappers
- Description modified (diff)
comment:2 Changed 2 years ago by stappers
comment:3 Changed 2 years ago by stappers
- Owner changed from amain to stappers
- Status changed from new to assigned
comment:4 Changed 2 years ago by anonymous
Ubuntu 10.04.1 LTS
$ aptitude search libncurses
v libncurses-dev -
p libncurses-gst - Ncurses bindings for GNU Smalltalk
p libncurses-ruby - ruby Extension for the ncurses C library
p libncurses-ruby1.8 - ruby Extension for the ncurses C library
p libncurses-ruby1.9.1 - ruby Extension for the ncurses C library
i libncurses5 - shared libraries for terminal handling
p libncurses5-dbg - debugging/profiling libraries for ncurses
i libncurses5-dev - developer's libraries and docs for ncurses
i libncursesw5 - shared libraries for terminal handling (wide character support)
p libncursesw5-dbg - debugging/profiling libraries for ncurses
p libncursesw5-dev - developer's libraries for ncursesw
comment:5 Changed 2 years ago by stappers
The i at the begin of the line
i libncurses5-dev - developer's libraries and docs for ncurses
means that libncurses5-dev is allready installed on the build host.
Next step would be to find out if libncurses5-dev is installed in the debwrt build chroot.
comment:6 Changed 2 years ago by stappers
On my buildhost, with hostname inertia did I, stappers, a test.
stappers@inertia:/usr/src/debwrt
$ aptitude search mips | wc
52 325 4212
stappers@inertia:/usr/src/debwrt
$ sudo chroot build/debian-malta-le_Default-squeeze/
(debwrt-mipsel-squeeze)root@inertia:/# aptitude search mips | wc
182 1117 14742
(debwrt-mipsel-squeeze)root@inertia:/#
Legenda:
- /usr/src/debwrt : toplevel of debwrt svn checkout
- wc : Word Count program
- mips : architecture of my debwrt hardware
- malta : name of board
- squeeze : Debian version
What the test says is that in the debwrt build chroot are much more mips packages available.
comment:7 Changed 2 years ago by stappers
KeA, please enter your debwrt build chroot.
sudo chroot /usr/src/debwrt/build/debian[TAB]
( you can leave the chroot environment with exit )
Do there
aptitude search libncurses
and update this ticket with the output.
comment:8 Changed 2 years ago by amain
- Resolution set to invalid
- Status changed from assigned to closed
Thanks Geert for the effort. Closing ticket due to no response from reporter.
What is the output of
on the build computer of the Ticket Report ( KeA ) ?