0

I've just tried to upload my first ubuntu package to ppa and I got:

dh_strip debug symbol extraction: disabling for PPA build
dh_strip debug symbol extraction: not doing anything since NO_PKG_MANGLE is given
   dh_makeshlibs
   dh_shlibdeps
dpkg-shlibdeps: error: couldn't find library libgtk-3.so.0 needed by debian/mypackage/opt/mypackage/mypackage (ELF format: 'elf32-i386'; RPATH: '').
dpkg-shlibdeps: error: couldn't find library libgdk-3.so.0 needed by debian/mypackage/opt/mypackage/mypackage (ELF format: 'elf32-i386'; RPATH: '').
dpkg-shlibdeps: error: Cannot continue due to the errors listed above.
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/mypackage.substvars debian/mypackage/opt/mypackage/mypackage returned exit code 2
make: *** [binary] Error 2

dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary gave error exit status 2

I added dependency: libgtk-3-0 (>=3.0.0), but it didn't help.

Thanks for any help.

0

You need to add libgtk-3-0 as build dependency (Build-Depends) in debian/control file.

  • I tried to add libgtk-3-0 (>=3.0.0) but it didn't help. – james Feb 10 '13 at 21:43
  • My bad. I added dependency, but not build dependency! Thanks a lot:) – james Feb 11 '13 at 12:21
  • Same error before add the build dependency? – xkill Feb 12 '13 at 6:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.