我刚刚试着把我的第一个ubuntu包上传到ppa,我得到了:
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 2dpkg-buildpackage: error: /usr/bin/fakeroot /rules二进制给出了错误退出状态2
我添加了依赖项: libgtk-3-0 (>=3.0.0),但是没有帮助。
谢谢你的帮助。
发布于 2013-02-10 21:24:26
您需要在debian/control文件中添加libgtk-3-0作为构建依赖项(构建依赖项)。
https://askubuntu.com/questions/253593
复制相似问题