Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 869855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:22:37+00:00 2026-05-15T10:22:37+00:00

I am looking for tips on how to package my Qt-based application for Ubuntu/Debian

  • 0

I am looking for tips on how to package my Qt-based application for Ubuntu/Debian distributions. Let’s say the application (executable) is myapp. Running objdump -p myapp | grep NEEDED, I see that it has the following dependencies:

libicuuc.so.44
libicui18n.so.44
libicudata.so.44
libQtGui.so.4
libQtCore.so.4
libpthread.so.0
libstdc++.so.6
libm.so.6
libgcc_s.so.1
libc.so.6

I have gone through several online documents (listed at the end of this question), but am still fuzzy on where to install the actual files.

The Debian Filesystem Hierarchy Standard would suggest (I think) installing myapp in /usr/local/bin but I’m not sure about the ICU and Qt libs. It’s important that the exact version of some of these libraries are used. (They have draft APIs which are being utilized that might break in future versions.)

  • I want to avoid “shared library hell” so that would incline me to place them in the application directory (/usr/local/bin), but the Debian Filesystem Heirarchy Standard would seem to discourage that.
  • I could place them in /usr/local/lib/myapp but then how do I ensure the correct version is linked dynamically? And if I do this, what do I have to do to add this directory to LD_LIBRARY_PATH on the target system?

As you can tell, I’m quite new to packaging for Ubuntu systems, so the direction I’m going may be completely wrong. I’m interesting in hearing from others who are doing this as to what they have found works best, particularly from a stability and ease-of-maintenance perspective.

Here are some of the docs I have gone through thus far:

  • Ubuntu Packaging Guide
  • Create Ubuntu deb-package from a Qt-application
  • Debian Filesystem Hierarchy Standard
  • Debian Policy Manual (on system)
  • Debian Developer’s Reference (on system)
  • Debian New Maintainers’ Guide (on system)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T10:22:37+00:00Added an answer on May 15, 2026 at 10:22 am

    You need to look at the control section. You should not be distributing those shared libraries unless you are building them from source in your code. Those libraries belong to other packages that you need to list as Depends or Build-Depends for your package.

    You say you are new to packaging on Ubuntu systems, what platforms have you packaged for? If it was only Windows, you are used to dll hell. It is much easier to avoid on Linux since you can say it requires certain libraries to be installed and the package installer knows how to find those libraries.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for tips, suggestions, advice or examples of applications build using Google's Web
What tips can you give a person who is looking to write a programming
I am looking for url encoding tips for SEO compliant site. I have a
I'm looking for some feedback, blog links, etc that offer some tips and tricks
Looking at what's running and nothing jumps out. Thanks!
Looking for a Linux application (or Firefox extension) that will allow me to scrape
Looking for feedback on : http://code.google.com/p/google-perftools/wiki/GooglePerformanceTools
Looking for an example that: Launches an EXE Waits for the EXE to finish.
Looking for C# class which wraps calls to do the following: read and write
Looking to do a very small, quick 'n dirty side project. I like the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.