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

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


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

permanent link

answered 19 Sep '13, 01:22

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×12
×3

question asked: 18 Sep '13, 23:31

question was seen: 3,365 times

last updated: 19 Sep '13, 01:26

p​o​w​e​r​e​d by O​S​Q​A