This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Error: Failed build dependencies while making Deb

0

Hi all, I'm trying to build Debian-package in Ubuntu by using

$./configure
$ make debian-package

but unfortunately, I got an error with gtk like this:

ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/libgdk-3.so.0 (used by debian/wireshark/usr/bin/wireshark)
dh_shlibdeps: dpkg-shlibdeps -Tdebian/wireshark.substvars debian/wireshark/usr/bin/wireshark returned exit code 2
make[1]: *** [binary-arch] Error 2
make[1]: Leaving directory `/media/sonnh/Win7_x64/wireshark'
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
make: *** [debian-package] Error 2

I searched on Internet and it seems that many people got the similar errors. Some of them ignore the problem by skipping the process of dependencies checking but I think it is not a good way. Could you please give me any idea to pass over this case? I can run "make" or "make install" successfully but to generate Deb. file, it is impossible. I'm sure that gtk+3 installed (otherwise, it cannot run ./configure successfully). So, What should I do ? Thanks for your help.

asked 18 Sep '13, 23:31

hoangsonk49's gravatar image

hoangsonk49
81282933
accept rate: 28%

edited 19 Sep '13, 01:26

grahamb's gravatar image

grahamb ♦
19.8k330206


One Answer:

0

It works perfectly well on my Ubuntu 13.04 (plain installation with the required dependencies). As I mentioned in your other question, you are building the code on a mounted NTFS drive (C:\ mounted to /media/sonnh/Win7_x64) and that may cause problems (due to NTFS!?!). As I already suggested: Try to build everything in a Linux filesystem like /var/tmp/wireshark.

As it works on my system, it is either related to

  • the filesystem
  • some packages you did or did not install

Here is what I did.

  • Install Ubuntu 13.04 Desktop
  • apt-get update
  • apt-get upgrade
  • apt-get build-dep wireshark
  • apt-get install fakeroot
  • apt-get install dpatch
  • apt-get install python-support
  • apt-get install libgtk-3-dev
  • ./configure
  • ./make debian-package

Regards
Kurt

answered 19 Sep '13, 01:22

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%