← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1986936] [NEW] No libQt5Core.so, libQt5Widgets.so and libQt5Gui.so symlinks in the corresponding :i386 packages

 

You have been subscribed to a public bug:

While trying to link against corresponding libraries to get i386 executable like that:
> g++ -m32 -o filename ..... -lQt5Widgets -lQt5Gui -lQt5Core ...

I get the following errors:

> /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libQt5Widgets.so when searching for -lQt5Widgets                                                                                                         
> /usr/bin/ld: cannot find -lQt5Widgets: No such file or directory                                                                                                                                                      
> /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libQt5Widgets.so when searching for -lQt5Widgets                                                                                                         
> /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libQt5Gui.so when searching for -lQt5Gui                                                                                                                 
> /usr/bin/ld: cannot find -lQt5Gui: No such file or directory                                                                                                                                                          
> /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libQt5Gui.so when searching for -lQt5Gui                                                                                                                 
> /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libQt5Core.so when searching for -lQt5Core                                                                                                               
> /usr/bin/ld: cannot find -lQt5Core: No such file or directory                                                                                                                                                         
> /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libQt5Core.so when searching for -lQt5Core 

despite corresponging packages are installed (libqt5gui5:i386 and same
for widgets and core).

Inspection of /usr/lib/i386-linux-gnu/ reveals that there is no symlinks
named exactly libQt5Core.so (and same for two other libs).

Adding those symlinks by hand completely solves the problem.

I believe however that those symlinks must be installed by corresponding
.debs.

** Affects: qtbase-opensource-src (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment i386 qt5
-- 
No libQt5Core.so, libQt5Widgets.so and libQt5Gui.so symlinks in the corresponding :i386 packages
https://bugs.launchpad.net/bugs/1986936
You received this bug notification because you are a member of Ubuntu SDK bug tracking, which is subscribed to qtbase-opensource-src in Ubuntu.