#10 Issue in QT 5.2.1 app in linking libquazip.so library during making .deb package for ubuntu 14.04

v1.0_(example)
wont-fix
nobody
9
2014-06-21
2014-06-21
Manoj Patidar
No

Getting below issue

dpkg-shlibdeps: error: couldn’t find library libquazip.so.1 needed by debian/demoapp/usr/bin/DemoApp1 (ELF format: ‘elf64-x86-64’; RPATH: ‘’)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/demoapp/usr/bin/DemoApp1 was not linked against libz.so.1 (it uses none of the library’s symbols)
dpkg-shlibdeps: error: cannot continue due to the error 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 use -l.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/demoapp.substvars debian/demoapp/usr/bin/DemoApp1 returned exit code 2
make: *** [binary-predeb-IMPL/demoapp] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc failed

AND

dpkg-shlibdeps: error: no dependency information found for /usr/lib/libquazip.so.1 (used by debian/demoapp/usr/bin/DemoApp1)
dh_shlibdeps: dpkg-shlibdeps -Tdebian/demoapp.substvars debian/demoapp/usr/bin/DemoApp1 returned exit code 2
make: *** [binary-predeb-IMPL/demoapp] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc failed

I think I need to add some dependencies for quazip at the line ib debian control file in “Depends: ${shlibs:Depends}, ${misc:Depends}” .

Can anyone please let me know how can I add quazip build dependency in debian control file at the line Build-Depends: * and *Depends: like quazip-0.5.1 (>=0.5.1) ? I am using quazip-0.5.1. I think I have missed to add this in control file.

I have post the same issue on the below links also.

http://www.qtcentre.org/threads/59528-Issue-in-QT-5-2-1-app-in-linking-libquazip-so-library-in-making-ubuntu-deb-package?p=264241#post264241

http://stackoverflow.com/questions/24326956/issue-in-qt-5-2-1-app-in-linking-libquazip-so-library-during-making-deb-package

http://askubuntu.com/questions/485926/issue-in-qt-5-2-1-app-in-linking-libquazip-so-library-during-making-deb-packag

http://qt-project.org/forums/viewthread/44029/

.
Please have look into the issue and let me know where I did wrong.

Discussion

  • I know absolutely nothing about Debian control files or building any packages. Please consult Debian docs or the package maintainer. This issue has nothing to do with QuaZIP itself so I'm closing this.

     
    • Manoj Patidar
      Manoj Patidar
      2014-06-21

      Ok no issues. BTW thanks for your quick reply.

       
    • status: open --> wont-fix
     
  • Manoj Patidar
    Manoj Patidar
    2014-06-21

    Please have a look on the above links (which I have mentioned) for the detail description of the issue.

    Thanks