[OpenIndiana-discuss] Qt5 and libgcc_s

Gary Mills gary_mills at fastmail.fm
Mon Oct 19 14:19:46 UTC 2020


On Sun, Oct 18, 2020 at 05:24:29PM +0000, Apostolos Syropoulos via openindiana-discuss wrote:
> 
> I tried to compile a Qt5 application and during the last stage

What was the application?  Is it already available from OI?  As far as
I can tell, only desktop/fbreader, media/vlc, and system/virtualbox
are available from OI?

> I got the following error:
> 
> apostolo at adalind>> make
> g++ -m32 -Wl,-R,/usr/lib/qt/5.8/lib -Wl,-R,/usr/gcc/7/lib/ -o
> LANShare main.o settings.o util.o singleinstance.o mainwindow.o
> receiverselectordialog.o aboutdialog.o settingsdialog.o
> devicebroadcaster.o receiver.o sender.o transfer.o transferserver.o
> device.o devicelistmodel.o transferinfo.o transfertablemodel.o
> qrc_res.o moc_singleinstance.o moc_mainwindow.o
> moc_receiverselectordialog.o moc_aboutdialog.o moc_settingsdialog.o
> moc_devicebroadcaster.o moc_transfer.o moc_transferserver.o
> moc_transferinfo.o moc_transfertablemodel.o   -L/usr/lib
> -L/usr/X11/lib -L/usr/lib/qt/5.8/lib -lQt5Widgets -lQt5Gui
> -lQt5Network -lresolv -lsocket -lxnet -lnsl -lQt5Core -lGL -lpthread
> -lrt
> ld: fatal: file /usr/gcc/6/lib/libgcc_s.so: version 'GCC_7.0.0' does not exist:
>         required by file /usr/lib/qt/5.8/lib/libQt5Gui.so
> ld: fatal: file /usr/gcc/6/lib/libgcc_s.so: version 'GCC_7.0.0' does not exist:
>         required by file /usr/lib/libicui18n.so.66
> ld: fatal: file processing errors. No output written to LANShare
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:303: LANShare] Error 1

It sounds as if the application requires gcc-6, but you tried to build
it with gcc-7.  Can you try gcc-6 instead?


-- 
-Gary Mills-		-refurb-		-Winnipeg, Manitoba, Canada-



More information about the openindiana-discuss mailing list