Where is version in so's set? Seems to have disappeared w/gcc upgrade?

Florian Weimer fweimer@redhat.com
Tue Jun 13 20:21:00 GMT 2017


On 06/13/2017 08:46 PM, L A Walsh wrote:
> 
> A side effect of this has cropped up in various libs generated
> by the new toolset that other tools link to:
> 
> /home/opt/Qt/5.8/gcc_64/plugins/platforms/libqxcb.so:
> /usr/lib64/libQt5Core.so.5: no version information available (required
> by /home/opt/Qt/5.8/gcc_64/plugins/platforms/libqxcb.so)
> 
> Why did this disappear w/new gcc?   Did I leave off some
> switch in gcc-config or in compiling or linking the libs?

I suspect it's a side effect of mixing your self-compiled Qt library
with the system Qt version, and not something directly caused by GCC or
the toolchain.  You need to double-check your LD_LIBRARY_PATH and RPATH
settings, perhaps using LD_DEBUG=files,libs.

Florian



More information about the Gcc-help mailing list