Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

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

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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