Linux missing libs

  • Hello, I compiled qt quick controls 2 app on linux, but I have troubles with libs

    ldd logs:

    ldd MoneyHolder
    ./MoneyHolder: /usr/lib/x86_64-linux-gnu/ version `Qt_5' not found (required by ./MoneyHolder)
    ./MoneyHolder: /usr/lib/x86_64-linux-gnu/ version `Qt_5' not found (required by ./MoneyHolder)
    ./MoneyHolder: /usr/lib/x86_64-linux-gnu/ version `Qt_5.7' not found (required by ./MoneyHolder)
    ./MoneyHolder: /usr/lib/x86_64-linux-gnu/ version `Qt_5' not found (required by ./MoneyHolder) =>  (0x00007ffdccbc6000) => not found => /usr/lib/x86_64-linux-gnu/ (0x00007fd362b85000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd362758000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd362282000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd361f00000) => /lib/x86_64-linux-gnu/ (0x00007fd361ce9000) => /lib/x86_64-linux-gnu/ (0x00007fd361920000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd3613d8000) => /lib/x86_64-linux-gnu/ (0x00007fd3611ba000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd360f67000) => /lib/x86_64-linux-gnu/ (0x00007fd360c56000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd36091b000) => /lib/x86_64-linux-gnu/ (0x00007fd360612000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd3604b8000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd3602a6000) => /lib/x86_64-linux-gnu/ (0x00007fd36008c000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35fc2a000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35f895000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35f62f000) => /lib/x86_64-linux-gnu/ (0x00007fd35f42b000) => /lib/x86_64-linux-gnu/ (0x00007fd35f222000)
    	/lib64/ (0x000055756faf5000) => /lib/x86_64-linux-gnu/ (0x00007fd35effd000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35ed9e000) => /usr/lib/x86_64-linux-gnu/mesa/ (0x00007fd35eb2d000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35e925000) => /lib/x86_64-linux-gnu/ (0x00007fd35e6b4000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35e492000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35e271000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35c7b9000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35c50f000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35c2e9000) => /lib/x86_64-linux-gnu/ (0x00007fd35c0c0000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35bebd000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35bcb9000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35bab2000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35b8af000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35b680000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35b46e000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35b26b000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35b064000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35ae62000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35ac49000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35aa43000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35a83d000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35a62e000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35a429000) => /usr/lib/x86_64-linux-gnu/ (0x00007fd35a223000)

  • Lifetime Qt Champion


    Did you build your application with your distribution provided Qt ?

  • What do you mean? I'm using Ubuntu on virual machine

  • Hi, I think because you've compiled your program with Qt 5.7 but Ubuntu 16.04 has pre-installed Qt 5.5. And the 2 different versions of Qt sometimes does not play nice together.

  • But I need to use 5.7 and Qt Quick Controls 2

  • Have you 5.7 installed on that Ubuntu VM? If you can start MoneyHolder from Qt Creator you should be ok.

  • You don't understand me, It's working on my ubuntu because I have installed qt 5.7, but on other systems without installed qt it's not working

  • Lifetime Qt Champion

    Since you need to use 5.7, did you deploy your application accordingly ?

  • I don't understand you, I installed ubuntu on my virtual machine, I installed Qt 5.7, I compiled my app, and it's working on my ubuntu, but it's not working on my friend ubuntu because he don't have Qt installed, is there way to don't force users to install Qt to use my app?

  • Lifetime Qt Champion

    Yes: deploy it with your app. There's no need to install the complete SDK, but you still have to deploy the libraries and plugins your application is using.

  • I know, I made few applications on windows, but I don't know how to do it on linux, I found linuxdeployqt, but it's working in 50%, not working with controls 2

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.