Closed Soudaaa closed 5 years ago
Is LD_LIBRARY_PATH set to something? Sometimes that can cause problems with where programs expect their libraries to be.
echo $LD_LIBRARY_PATH
A well compiled lrose distribution should package all its dependency libraries, including libxcb.so, under its release area, and the HawkEye executable should know where to find them. So cd to the top of your installation (one folder above where the HawkEye executable is) and then run this command:
find . -name "libxcb.so*"
If you get no result, there was a missing step in the installation.
To get an idea where HawkEye thinks the xcb library is, run this command (obviously, replace /path/to, with the appropriate location) I'm assuming you will see a "not found" next to libxcb
ldd /path/to/HawkEye | grep libxcb
Bruno.
On Tue, Nov 13, 2018 at 4:38 PM Soudaaa notifications@github.com wrote:
Hi.
I've compiled the binary version of the LROSE package, which runs fine, but I'm having an issue while trying to display the CF/Radial data on HawkEye.
Everytime I try to run HawkEye, I get this error message:
This application failed to start because it could not find or load the Qt platform plugin "xcb" in "". Reinstalling the application may fix this problem.
The problems is that, I've installed Qt5 and reinstalling it didn't fix the issue, and my attempts to solve it via other means, had no success.
By the way, I'm using bash on Ubuntu on Windows 10, and I'm kinda new to linux.
Thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NCAR/lrose-core/issues/61, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXnmcNe6NQwZAFtGzD81nFDFSDQIoabks5uu1f5gaJpZM4YcvAz .
Is LD_LIBRARY_PATH set to something? Sometimes that can cause problems with where programs expect their libraries to be. echo $LD_LIBRARY_PATH A well compiled lrose distribution should package all its dependency libraries, including libxcb.so, under its release area, and the HawkEye executable should know where to find them. So cd to the top of your installation (one folder above where the HawkEye executable is) and then run this command: find . -name "libxcb.so*" If you get no result, there was a missing step in the installation. To get an idea where HawkEye thinks the xcb library is, run this command (obviously, replace /path/to, with the appropriate location) I'm assuming you will see a "not found" next to libxcb ldd /path/to/HawkEye | grep libxcb Bruno. … On Tue, Nov 13, 2018 at 4:38 PM Soudaaa @.**> wrote: Hi. I've compiled the binary version of the LROSE package, which runs fine, but I'm having an issue while trying to display the CF/Radial data on HawkEye. Everytime I try to run HawkEye, I get this error message: This application failed to start because it could not find or load the Qt platform plugin "xcb" in "". Reinstalling the application may fix this problem.* The problems is that, I've installed Qt5 and reinstalling it didn't fix the issue, and my attempts to solve it via other means, had no success. By the way, I'm using bash on Ubuntu on Windows 10, and I'm kinda new to linux. Thanks — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#61>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXnmcNe6NQwZAFtGzD81nFDFSDQIoabks5uu1f5gaJpZM4YcvAz .
Thanks for your reply
When running find . -name "libxcb.so*" i got the following result:
_./lrose_runtimelibs/libxcb.so.1
So i tried to set $LD_LIBRARY_PATH with to this path to see what happens, and the error persists.
Any idea?
Did you set LD_LIBRARY_PATH to the full path to lrose_runtime_libs? or just ./lrose_runtime_libs?
Next step is to see if HawkEye knows about this path. Run ldd on it. Assuming you are in the bin folder where HawkEye is, run this and show me the output.
ldd HawkEye
Bruno.
On Wed, Nov 14, 2018 at 4:45 PM Soudaaa notifications@github.com wrote:
Is LD_LIBRARY_PATH set to something? Sometimes that can cause problems with where programs expect their libraries to be. echo $LD_LIBRARYPATH A well compiled lrose distribution should package all its dependency libraries, including libxcb.so, under its release area, and the HawkEye executable should know where to find them. So cd to the top of your installation (one folder above where the HawkEye executable is) and then run this command: find . -name "libxcb.so*" If you get no result, there was a missing step in the installation. To get an idea where HawkEye thinks the xcb library is, run this command (obviously, replace /path/to, with the appropriate location) I'm assuming you will see a "not found" next to libxcb ldd /path/to/HawkEye | grep libxcb Bruno. … <#m-3000781089364102204_> On Tue, Nov 13, 2018 at 4:38 PM Soudaaa @.**> wrote: Hi. I've compiled the binary version of the LROSE package, which runs fine, but I'm having an issue while trying to display the CF/Radial data on HawkEye. Everytime I try to run HawkEye, I get this error message: This application failed to start because it could not find or load the Qt platform plugin "xcb" in "". Reinstalling the application may fix this problem.* The problems is that, I've installed Qt5 and reinstalling it didn't fix the issue, and my attempts to solve it via other means, had no success. By the way, I'm using bash on Ubuntu on Windows 10, and I'm kinda new to linux. Thanks — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#61 https://github.com/NCAR/lrose-core/issues/61>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXnmcNe6NQwZAFtGzD81nFDFSDQIoabks5uu1f5gaJpZM4YcvAz .
Thanks for your reply
When running find . -name "libxcb.so"* i got the following result:
./lrose_runtime_libs/libxcb.so.1
So i tried to set $LD_LIBRARY_PATH with to this path to see what happens, and the error persists.
Any idea?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/NCAR/lrose-core/issues/61#issuecomment-438861302, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXnmf3eOIoeGRJ9xUFb6pNriSP2jy07ks5uvKsfgaJpZM4YcvAz .
Did you set LD_LIBRARY_PATH to the full path to lrose_runtime_libs? or just ./lrose_runtime_libs? Next step is to see if HawkEye knows about this path. Run ldd on it. Assuming you are in the bin folder where HawkEye is, run this and show me the output. ldd HawkEye Bruno. … On Wed, Nov 14, 2018 at 4:45 PM Soudaaa @.> wrote: Is LD_LIBRARY_PATH set to something? Sometimes that can cause problems with where programs expect their libraries to be. echo $LD_LIBRARY_PATH A well compiled lrose distribution should package all its dependency libraries, including libxcb.so, under its release area, and the HawkEye executable should know where to find them. So cd to the top of your installation (one folder above where the HawkEye executable is) and then run this command: find . -name "libxcb.so" If you get no result, there was a missing step in the installation. To get an idea where HawkEye thinks the xcb library is, run this command (obviously, replace /path/to, with the appropriate location) I'm assuming you will see a "not found" next to libxcb ldd /path/to/HawkEye | grep libxcb Bruno. … <#m-3000781089364102204> On Tue, Nov 13, 2018 at 4:38 PM Soudaaa **@.**> wrote: Hi. I've compiled the binary version of the LROSE package, which runs fine, but I'm having an issue while trying to display the CF/Radial data on HawkEye. Everytime I try to run HawkEye, I get this error message: This application failed to start because it could not find or load the Qt platform plugin "xcb" in "". Reinstalling the application may fix this problem. The problems is that, I've installed Qt5 and reinstalling it didn't fix the issue, and my attempts to solve it via other means, had no success. By the way, I'm using bash on Ubuntu on Windows 10, and I'm kinda new to linux. Thanks — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#61 <#61>>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXnmcNe6NQwZAFtGzD81nFDFSDQIoabks5uu1f5gaJpZM4YcvAz . Thanks for your reply When running find . -name "libxcb.so" i got the following result: ./lrose_runtime_libs/libxcb.so.1 So i tried to set $LD_LIBRARY_PATH with to this path to see what happens, and the error persists. Any idea? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#61 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXnmf3eOIoeGRJ9xUFb6pNriSP2jy07ks5uvKsfgaJpZM4YcvAz .
I set it to the full path
After running ldd, i got the following result:
linux-vdso.so.1 => (0x00007fffda932000) libQt5Widgets.so.5 => /usr/local/lrose/bin/./lrose_runtime_libs/libQt5Widgets.so.5 (0x00007fbd2f7d7000) libQt5Gui.so.5 => /usr/local/lrose/bin/./lrose_runtime_libs/libQt5Gui.so.5 (0x00007fbd2f321000) libQt5Network.so.5 => /usr/local/lrose/bin/./lrose_runtime_libs/libQt5Network.so.5 (0x00007fbd2f199000) libQt5Core.so.5 => /usr/local/lrose/bin/./lrose_runtime_libs/libQt5Core.so.5 (0x00007fbd2ece6000) libFiltAlg.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libFiltAlg.so.0 (0x00007fbd2ea20000) libdsdata.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libdsdata.so.0 (0x00007fbd2e740000) libradar.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libradar.so.0 (0x00007fbd2e2e0000) libhydro.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libhydro.so.0 (0x00007fbd2e0b0000) libtitan.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libtitan.so.0 (0x00007fbd2de20000) libFmq.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libFmq.so.0 (0x00007fbd2dbd0000) libSpdb.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libSpdb.so.0 (0x00007fbd2d920000) libMdv.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libMdv.so.0 (0x00007fbd2d410000) libRefract.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libRefract.so.0 (0x00007fbd2d1c0000) libadvect.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libadvect.so.0 (0x00007fbd2cfb0000) libphysics.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libphysics.so.0 (0x00007fbd2cd80000) librapplot.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/librapplot.so.0 (0x00007fbd2cb00000) libRadx.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libRadx.so.0 (0x00007fbd2c170000) libNcxx.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libNcxx.so.0 (0x00007fbd2be20000) librapformats.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/librapformats.so.0 (0x00007fbd2b960000) libdsserver.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libdsserver.so.0 (0x00007fbd2b6e0000) libdidss.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libdidss.so.0 (0x00007fbd2b450000) libgrib.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libgrib.so.0 (0x00007fbd18cb0000) libgrib2.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libgrib2.so.0 (0x00007fbd18980000) libcontour.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libcontour.so.0 (0x00007fbd18750000) libeuclid.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libeuclid.so.0 (0x00007fbd18400000) librapmath.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/librapmath.so.0 (0x00007fbd18190000) libtoolsa.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libtoolsa.so.0 (0x00007fbd17e60000) libdataport.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libdataport.so.0 (0x00007fbd17c40000) libtdrp.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libtdrp.so.0 (0x00007fbd17a20000) libshapelib.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libshapelib.so.0 (0x00007fbd17810000) libcidd.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libcidd.so.0 (0x00007fbd175f0000) libtrmm_rsl.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libtrmm_rsl.so.0 (0x00007fbd171c0000) libforayRal.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libforayRal.so.0 (0x00007fbd16e90000) libnetcdf_c++.so.4 => /usr/local/lrose/bin/./lrose_runtime_libs/libnetcdf_c++.so.4 (0x00007fbd16c60000) libnetcdf.so.11 => /usr/local/lrose/bin/./lrose_runtime_libs/libnetcdf.so.11 (0x00007fbd138c0000) libhdf5_hl.so.10 => /usr/local/lrose/bin/./lrose_runtime_libs/libhdf5_hl.so.10 (0x00007fbd13690000) libhdf5.so.10 => /usr/local/lrose/bin/./lrose_runtime_libs/libhdf5.so.10 (0x00007fbd13190000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fbd12f70000) libcurl.so.4 => /usr/local/lrose/bin/./lrose_runtime_libs/libcurl.so.4 (0x00007fbd12d00000) libnetcdf.so.7 => /usr/local/lrose/bin/./lrose_runtime_libs/libnetcdf.so.7 (0x00007fbd0f8f0000) libhdf5_cpp.so.8 => /usr/local/lrose/bin/./lrose_runtime_libs/libhdf5_cpp.so.8 (0x00007fbd0f690000) libhdf5_hl.so.8 => /usr/local/lrose/bin/./lrose_runtime_libs/libhdf5_hl.so.8 (0x00007fbd0f450000) libhdf5.so.8 => /usr/local/lrose/bin/./lrose_runtime_libs/libhdf5.so.8 (0x00007fbd0ee40000) libz.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libz.so.1 (0x00007fbd0ec20000) libbz2.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libbz2.so.1 (0x00007fbd0ea10000) libfftw3.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libfftw3.so.3 (0x00007fbd0e670000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fbd0e450000) libexpat.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libexpat.so.1 (0x00007fbd0e220000) libjasper.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libjasper.so.1 (0x00007fbd0dfb0000) libX11.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libX11.so.6 (0x00007fbd0dc70000) libXext.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libXext.so.6 (0x00007fbd0da50000) libpng15.so.15 => /usr/local/lrose/bin/./lrose_runtime_libs/libpng15.so.15 (0x00007fbd0d810000) libgfortran.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libgfortran.so.3 (0x00007fbd0d4e0000) libstdc++.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libstdc++.so.6 (0x00007fbd0d1d0000) libm.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libm.so.6 (0x00007fbd0ceb0000) libgcc_s.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libgcc_s.so.1 (0x00007fbd0cc90000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbd0c8c0000) libGL.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libGL.so.1 (0x00007fbd0c560000) libharfbuzz.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libharfbuzz.so.0 (0x00007fbd0c2f0000) libssl.so.10 => /usr/local/lrose/bin/./lrose_runtime_libs/libssl.so.10 (0x00007fbd0c060000) libcrypto.so.10 => /usr/local/lrose/bin/./lrose_runtime_libs/libcrypto.so.10 (0x00007fbd0bbf0000) libsystemd.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libsystemd.so.0 (0x00007fbd0b9b0000) libicui18n.so.50 => /usr/local/lrose/bin/./lrose_runtime_libs/libicui18n.so.50 (0x00007fbd0b5a0000) libicuuc.so.50 => /usr/local/lrose/bin/./lrose_runtime_libs/libicuuc.so.50 (0x00007fbd0b220000) libicudata.so.50 => /usr/local/lrose/bin/./lrose_runtime_libs/libicudata.so.50 (0x00007fbd09c40000) libpcre2-16.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libpcre2-16.so.0 (0x00007fbd099c0000) libgthread-2.0.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libgthread-2.0.so.0 (0x00007fbd097b0000) libglib-2.0.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libglib-2.0.so.0 (0x00007fbd09490000) /lib64/ld-linux-x86-64.so.2 (0x00007fbd30000000) libidn.so.11 => /usr/local/lrose/bin/./lrose_runtime_libs/libidn.so.11 (0x00007fbd09230000) libssh2.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libssh2.so.1 (0x00007fbd09000000) libssl3.so => /usr/local/lrose/bin/./lrose_runtime_libs/libssl3.so (0x00007fbd08da0000) libsmime3.so => /usr/local/lrose/bin/./lrose_runtime_libs/libsmime3.so (0x00007fbd08b60000) libnss3.so => /usr/local/lrose/bin/./lrose_runtime_libs/libnss3.so (0x00007fbd08830000) libnssutil3.so => /usr/local/lrose/bin/./lrose_runtime_libs/libnssutil3.so (0x00007fbd08600000) libplds4.so => /usr/local/lrose/bin/./lrose_runtime_libs/libplds4.so (0x00007fbd083e0000) libplc4.so => /usr/local/lrose/bin/./lrose_runtime_libs/libplc4.so (0x00007fbd081d0000) libnspr4.so => /usr/local/lrose/bin/./lrose_runtime_libs/libnspr4.so (0x00007fbd07f90000) libgssapi_krb5.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libgssapi_krb5.so.2 (0x00007fbd07d30000) libkrb5.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libkrb5.so.3 (0x00007fbd07a40000) libk5crypto.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libk5crypto.so.3 (0x00007fbd07800000) libcom_err.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libcom_err.so.2 (0x00007fbd075e0000) liblber-2.4.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/liblber-2.4.so.2 (0x00007fbd073d0000) libldap-2.4.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libldap-2.4.so.2 (0x00007fbd07170000) libjpeg.so.62 => /usr/local/lrose/bin/./lrose_runtime_libs/libjpeg.so.62 (0x00007fbd06f00000) libsz.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libsz.so.2 (0x00007fbd06cf0000) libxcb.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libxcb.so.1 (0x00007fbd06ab0000) libquadmath.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libquadmath.so.0 (0x00007fbd06870000) libnvidia-tls.so.340.106 => /usr/local/lrose/bin/./lrose_runtime_libs/libnvidia-tls.so.340.106 (0x00007fbd06650000) libnvidia-glcore.so.340.106 => /usr/local/lrose/bin/./lrose_runtime_libs/libnvidia-glcore.so.340.106 (0x00007fbd03a30000) libfreetype.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libfreetype.so.6 (0x00007fbd03780000) libgraphite2.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libgraphite2.so.3 (0x00007fbd03540000) libcap.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libcap.so.2 (0x00007fbd03330000) librt.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/librt.so.1 (0x00007fbd03110000) libselinux.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libselinux.so.1 (0x00007fbd02ee0000) liblzma.so.5 => /usr/local/lrose/bin/./lrose_runtime_libs/liblzma.so.5 (0x00007fbd02cb0000) liblz4.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/liblz4.so.1 (0x00007fbd02a80000) libgcrypt.so.11 => /usr/local/lrose/bin/./lrose_runtime_libs/libgcrypt.so.11 (0x00007fbd027f0000) libgpg-error.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libgpg-error.so.0 (0x00007fbd025e0000) libresolv.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libresolv.so.2 (0x00007fbd023b0000) libdw.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libdw.so.1 (0x00007fbd02160000) libpcre.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libpcre.so.1 (0x00007fbd01ee0000) libkrb5support.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libkrb5support.so.0 (0x00007fbd01cd0000) libkeyutils.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libkeyutils.so.1 (0x00007fbd01ab0000) libsasl2.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libsasl2.so.3 (0x00007fbd01890000) libaec.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libaec.so.0 (0x00007fbd01670000) libXau.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libXau.so.6 (0x00007fbd01460000) libattr.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libattr.so.1 (0x00007fbd01240000) libelf.so.1 => /usr/local/lrose/bin/lrose_runtime_libs/libelf.so.1 (0x00007fbd01020000) libcrypt.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libcrypt.so.1 (0x00007fbd00dd0000) libfreebl3.so => /usr/local/lrose/bin/./lrose_runtime_libs/libfreebl3.so (0x00007fbd00bc0000)
Looks ok. About ldd on libxcb. Any "Not found" in the output?
ldd /usr/local/lrose/bin/./lrose_runtime_libs/libxcb.so.1
Bruno.
On Thu, Nov 15, 2018 at 7:49 AM Soudaaa notifications@github.com wrote:
Did you set LD_LIBRARY_PATH to the full path to lrose_runtime_libs? or just ./lrose_runtimelibs? Next step is to see if HawkEye knows about this path. Run ldd on it. Assuming you are in the bin folder where HawkEye is, run this and show me the output. ldd HawkEye Bruno. … <#m-1116628849085754514_> On Wed, Nov 14, 2018 at 4:45 PM Soudaaa @.> wrote: Is LD_LIBRARY_PATH set to something? Sometimes that can cause problems with where programs expect their libraries to be. echo $LD_LIBRARY_PATH A well compiled lrose distribution should package all its dependency libraries, including libxcb.so, under its release area, and the HawkEye executable should know where to find them. So cd to the top of your installation (one folder above where the HawkEye executable is) and then run this command: find . -name "libxcb.so" If you get no result, there was a missing step in the installation. To get an idea where HawkEye thinks the xcb library is, run this command (obviously, replace /path/to, with the appropriate location) I'm assuming you will see a "not found" next to libxcb ldd /path/to/HawkEye | grep libxcb Bruno. … <#m-3000781089364102204> On Tue, Nov 13, 2018 at 4:38 PM Soudaaa **@.**> wrote: Hi. I've compiled the binary version of the LROSE package, which runs fine, but I'm having an issue while trying to display the CF/Radial data on HawkEye. Everytime I try to run HawkEye, I get this error message: This application failed to start because it could not find or load the Qt platform plugin "xcb" in "". Reinstalling the application may fix this problem. The problems is that, I've installed Qt5 and reinstalling it didn't fix the issue, and my attempts to solve it via other means, had no success. By the way, I'm using bash on Ubuntu on Windows 10, and I'm kinda new to linux. Thanks — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#61 https://github.com/NCAR/lrose-core/issues/61 <#61 https://github.com/NCAR/lrose-core/issues/61>>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXnmcNe6NQwZAFtGzD81nFDFSDQIoabks5uu1f5gaJpZM4YcvAz https://github.com/notifications/unsubscribe-auth/ABXnmcNe6NQwZAFtGzD81nFDFSDQIoabks5uu1f5gaJpZM4YcvAz . Thanks for your reply When running find . -name "libxcb.so" i got the following result: ./lrose_runtime_libs/libxcb.so.1 So i tried to set $LD_LIBRARY_PATH with to this path to see what happens, and the error persists. Any idea? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#61 (comment) https://github.com/NCAR/lrose-core/issues/61#issuecomment-438861302>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXnmf3eOIoeGRJ9xUFb6pNriSP2jy07ks5uvKsfgaJpZM4YcvAz .
I set it to the full path
After running ldd, i got the following result:
linux-vdso.so.1 => (0x00007fffda932000) libQt5Widgets.so.5 => /usr/local/lrose/bin/./lrose_runtime_libs/libQt5Widgets.so.5 (0x00007fbd2f7d7000) libQt5Gui.so.5 => /usr/local/lrose/bin/./lrose_runtime_libs/libQt5Gui.so.5 (0x00007fbd2f321000) libQt5Network.so.5 => /usr/local/lrose/bin/./lrose_runtime_libs/libQt5Network.so.5 (0x00007fbd2f199000) libQt5Core.so.5 => /usr/local/lrose/bin/./lrose_runtime_libs/libQt5Core.so.5 (0x00007fbd2ece6000) libFiltAlg.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libFiltAlg.so.0 (0x00007fbd2ea20000) libdsdata.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libdsdata.so.0 (0x00007fbd2e740000) libradar.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libradar.so.0 (0x00007fbd2e2e0000) libhydro.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libhydro.so.0 (0x00007fbd2e0b0000) libtitan.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libtitan.so.0 (0x00007fbd2de20000) libFmq.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libFmq.so.0 (0x00007fbd2dbd0000) libSpdb.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libSpdb.so.0 (0x00007fbd2d920000) libMdv.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libMdv.so.0 (0x00007fbd2d410000) libRefract.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libRefract.so.0 (0x00007fbd2d1c0000) libadvect.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libadvect.so.0 (0x00007fbd2cfb0000) libphysics.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libphysics.so.0 (0x00007fbd2cd80000) librapplot.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/librapplot.so.0 (0x00007fbd2cb00000) libRadx.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libRadx.so.0 (0x00007fbd2c170000) libNcxx.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libNcxx.so.0 (0x00007fbd2be20000) librapformats.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/librapformats.so.0 (0x00007fbd2b960000) libdsserver.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libdsserver.so.0 (0x00007fbd2b6e0000) libdidss.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libdidss.so.0 (0x00007fbd2b450000) libgrib.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libgrib.so.0 (0x00007fbd18cb0000) libgrib2.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libgrib2.so.0 (0x00007fbd18980000) libcontour.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libcontour.so.0 (0x00007fbd18750000) libeuclid.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libeuclid.so.0 (0x00007fbd18400000) librapmath.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/librapmath.so.0 (0x00007fbd18190000) libtoolsa.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libtoolsa.so.0 (0x00007fbd17e60000) libdataport.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libdataport.so.0 (0x00007fbd17c40000) libtdrp.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libtdrp.so.0 (0x00007fbd17a20000) libshapelib.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libshapelib.so.0 (0x00007fbd17810000) libcidd.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libcidd.so.0 (0x00007fbd175f0000) libtrmm_rsl.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libtrmm_rsl.so.0 (0x00007fbd171c0000) libforayRal.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libforayRal.so.0 (0x00007fbd16e90000) libnetcdf_c++.so.4 => /usr/local/lrose/bin/./lrose_runtime_libs/libnetcdf_c++.so.4 (0x00007fbd16c60000) libnetcdf.so.11 => /usr/local/lrose/bin/./lrose_runtime_libs/libnetcdf.so.11 (0x00007fbd138c0000) libhdf5_hl.so.10 => /usr/local/lrose/bin/./lrose_runtime_libs/libhdf5_hl.so.10 (0x00007fbd13690000) libhdf5.so.10 => /usr/local/lrose/bin/./lrose_runtime_libs/libhdf5.so.10 (0x00007fbd13190000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fbd12f70000) libcurl.so.4 => /usr/local/lrose/bin/./lrose_runtime_libs/libcurl.so.4 (0x00007fbd12d00000) libnetcdf.so.7 => /usr/local/lrose/bin/./lrose_runtime_libs/libnetcdf.so.7 (0x00007fbd0f8f0000) libhdf5_cpp.so.8 => /usr/local/lrose/bin/./lrose_runtime_libs/libhdf5_cpp.so.8 (0x00007fbd0f690000) libhdf5_hl.so.8 => /usr/local/lrose/bin/./lrose_runtime_libs/libhdf5_hl.so.8 (0x00007fbd0f450000) libhdf5.so.8 => /usr/local/lrose/bin/./lrose_runtime_libs/libhdf5.so.8 (0x00007fbd0ee40000) libz.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libz.so.1 (0x00007fbd0ec20000) libbz2.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libbz2.so.1 (0x00007fbd0ea10000) libfftw3.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libfftw3.so.3 (0x00007fbd0e670000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fbd0e450000) libexpat.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libexpat.so.1 (0x00007fbd0e220000) libjasper.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libjasper.so.1 (0x00007fbd0dfb0000) libX11.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libX11.so.6 (0x00007fbd0dc70000) libXext.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libXext.so.6 (0x00007fbd0da50000) libpng15.so.15 => /usr/local/lrose/bin/./lrose_runtime_libs/libpng15.so.15 (0x00007fbd0d810000) libgfortran.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libgfortran.so.3 (0x00007fbd0d4e0000) libstdc++.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libstdc++.so.6 (0x00007fbd0d1d0000) libm.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libm.so.6 (0x00007fbd0ceb0000) libgcc_s.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libgcc_s.so.1 (0x00007fbd0cc90000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbd0c8c0000) libGL.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libGL.so.1 (0x00007fbd0c560000) libharfbuzz.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libharfbuzz.so.0 (0x00007fbd0c2f0000) libssl.so.10 => /usr/local/lrose/bin/./lrose_runtime_libs/libssl.so.10 (0x00007fbd0c060000) libcrypto.so.10 => /usr/local/lrose/bin/./lrose_runtime_libs/libcrypto.so.10 (0x00007fbd0bbf0000) libsystemd.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libsystemd.so.0 (0x00007fbd0b9b0000) libicui18n.so.50 => /usr/local/lrose/bin/./lrose_runtime_libs/libicui18n.so.50 (0x00007fbd0b5a0000) libicuuc.so.50 => /usr/local/lrose/bin/./lrose_runtime_libs/libicuuc.so.50 (0x00007fbd0b220000) libicudata.so.50 => /usr/local/lrose/bin/./lrose_runtime_libs/libicudata.so.50 (0x00007fbd09c40000) libpcre2-16.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libpcre2-16.so.0 (0x00007fbd099c0000) libgthread-2.0.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libgthread-2.0.so.0 (0x00007fbd097b0000) libglib-2.0.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libglib-2.0.so.0 (0x00007fbd09490000) /lib64/ld-linux-x86-64.so.2 (0x00007fbd30000000) libidn.so.11 => /usr/local/lrose/bin/./lrose_runtime_libs/libidn.so.11 (0x00007fbd09230000) libssh2.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libssh2.so.1 (0x00007fbd09000000) libssl3.so => /usr/local/lrose/bin/./lrose_runtime_libs/libssl3.so (0x00007fbd08da0000) libsmime3.so => /usr/local/lrose/bin/./lrose_runtime_libs/libsmime3.so (0x00007fbd08b60000) libnss3.so => /usr/local/lrose/bin/./lrose_runtime_libs/libnss3.so (0x00007fbd08830000) libnssutil3.so => /usr/local/lrose/bin/./lrose_runtime_libs/libnssutil3.so (0x00007fbd08600000) libplds4.so => /usr/local/lrose/bin/./lrose_runtime_libs/libplds4.so (0x00007fbd083e0000) libplc4.so => /usr/local/lrose/bin/./lrose_runtime_libs/libplc4.so (0x00007fbd081d0000) libnspr4.so => /usr/local/lrose/bin/./lrose_runtime_libs/libnspr4.so (0x00007fbd07f90000) libgssapi_krb5.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libgssapi_krb5.so.2 (0x00007fbd07d30000) libkrb5.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libkrb5.so.3 (0x00007fbd07a40000) libk5crypto.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libk5crypto.so.3 (0x00007fbd07800000) libcom_err.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libcom_err.so.2 (0x00007fbd075e0000) liblber-2.4.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/liblber-2.4.so.2 (0x00007fbd073d0000) libldap-2.4.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libldap-2.4.so.2 (0x00007fbd07170000) libjpeg.so.62 => /usr/local/lrose/bin/./lrose_runtime_libs/libjpeg.so.62 (0x00007fbd06f00000) libsz.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libsz.so.2 (0x00007fbd06cf0000) libxcb.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libxcb.so.1 (0x00007fbd06ab0000) libquadmath.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libquadmath.so.0 (0x00007fbd06870000) libnvidia-tls.so.340.106 => /usr/local/lrose/bin/./lrose_runtime_libs/libnvidia-tls.so.340.106 (0x00007fbd06650000) libnvidia-glcore.so.340.106 => /usr/local/lrose/bin/./lrose_runtime_libs/libnvidia-glcore.so.340.106 (0x00007fbd03a30000) libfreetype.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libfreetype.so.6 (0x00007fbd03780000) libgraphite2.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libgraphite2.so.3 (0x00007fbd03540000) libcap.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libcap.so.2 (0x00007fbd03330000) librt.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/librt.so.1 (0x00007fbd03110000) libselinux.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libselinux.so.1 (0x00007fbd02ee0000) liblzma.so.5 => /usr/local/lrose/bin/./lrose_runtime_libs/liblzma.so.5 (0x00007fbd02cb0000) liblz4.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/liblz4.so.1 (0x00007fbd02a80000) libgcrypt.so.11 => /usr/local/lrose/bin/./lrose_runtime_libs/libgcrypt.so.11 (0x00007fbd027f0000) libgpg-error.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libgpg-error.so.0 (0x00007fbd025e0000) libresolv.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libresolv.so.2 (0x00007fbd023b0000) libdw.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libdw.so.1 (0x00007fbd02160000) libpcre.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libpcre.so.1 (0x00007fbd01ee0000) libkrb5support.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libkrb5support.so.0 (0x00007fbd01cd0000) libkeyutils.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libkeyutils.so.1 (0x00007fbd01ab0000) libsasl2.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libsasl2.so.3 (0x00007fbd01890000) libaec.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libaec.so.0 (0x00007fbd01670000) libXau.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libXau.so.6 (0x00007fbd01460000) libattr.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libattr.so.1 (0x00007fbd01240000) libelf.so.1 => /usr/local/lrose/bin/lrose_runtime_libs/libelf.so.1 (0x00007fbd01020000) libcrypt.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libcrypt.so.1 (0x00007fbd00dd0000) libfreebl3.so => /usr/local/lrose/bin/./lrose_runtime_libs/libfreebl3.so (0x00007fbd00bc0000)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/NCAR/lrose-core/issues/61#issuecomment-439065428, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXnmdYFoahmqWJVTakJkBtih2MWFN0qks5uvX7egaJpZM4YcvAz .
Looks ok. About ldd on libxcb. Any "Not found" in the output? ldd /usr/local/lrose/bin/./lrose_runtime_libs/libxcb.so.1 Bruno. … On Thu, Nov 15, 2018 at 7:49 AM Soudaaa @.> wrote: Did you set LD_LIBRARY_PATH to the full path to lrose_runtime_libs? or just ./lrose_runtimelibs? Next step is to see if HawkEye knows about this path. Run ldd on it. Assuming you are in the bin folder where HawkEye is, run this and show me the output. ldd HawkEye Bruno. … <#m-1116628849085754514_> On Wed, Nov 14, 2018 at 4:45 PM Soudaaa @.> wrote: Is LD_LIBRARY_PATH set to something? Sometimes that can cause problems with where programs expect their libraries to be. echo $LD_LIBRARYPATH A well compiled lrose distribution should package all its dependency libraries, including libxcb.so, under its release area, and the HawkEye executable should know where to find them. So cd to the top of your installation (one folder above where the HawkEye executable is) and then run this command: find . -name "libxcb.so*" If you get no result, there was a missing step in the installation. To get an idea where HawkEye thinks the xcb library is, run this command (obviously, replace /path/to, with the appropriate location) I'm assuming you will see a "not found" next to libxcb ldd /path/to/HawkEye | grep libxcb Bruno. … <#m-3000781089364102204_> On Tue, Nov 13, 2018 at 4:38 PM Soudaaa @.**> wrote: Hi. I've compiled the binary version of the LROSE package, which runs fine, but I'm having an issue while trying to display the CF/Radial data on HawkEye. Everytime I try to run HawkEye, I get this error message: This application failed to start because it could not find or load the Qt platform plugin "xcb" in "". Reinstalling the application may fix this problem. The problems is that, I've installed Qt5 and reinstalling it didn't fix the issue, and my attempts to solve it via other means, had no success. By the way, I'm using bash on Ubuntu on Windows 10, and I'm kinda new to linux. Thanks — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#61 <#61> <#61 <#61>>>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXnmcNe6NQwZAFtGzD81nFDFSDQIoabks5uu1f5gaJpZM4YcvAz https://github.com/notifications/unsubscribe-auth/ABXnmcNe6NQwZAFtGzD81nFDFSDQIoabks5uu1f5gaJpZM4YcvAz . Thanks for your reply When running find . -name "libxcb.so" i got the following result: ./lrose_runtime_libs/libxcb.so.1 So i tried to set $LD_LIBRARY_PATH with to this path to see what happens, and the error persists. Any idea? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#61 (comment) <#61 (comment)>>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXnmf3eOIoeGRJ9xUFb6pNriSP2jy07ks5uvKsfgaJpZM4YcvAz . I set it to the full path After running ldd, i got the following result: linux-vdso.so.1 => (0x00007fffda932000) libQt5Widgets.so.5 => /usr/local/lrose/bin/./lrose_runtime_libs/libQt5Widgets.so.5 (0x00007fbd2f7d7000) libQt5Gui.so.5 => /usr/local/lrose/bin/./lrose_runtime_libs/libQt5Gui.so.5 (0x00007fbd2f321000) libQt5Network.so.5 => /usr/local/lrose/bin/./lrose_runtime_libs/libQt5Network.so.5 (0x00007fbd2f199000) libQt5Core.so.5 => /usr/local/lrose/bin/./lrose_runtime_libs/libQt5Core.so.5 (0x00007fbd2ece6000) libFiltAlg.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libFiltAlg.so.0 (0x00007fbd2ea20000) libdsdata.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libdsdata.so.0 (0x00007fbd2e740000) libradar.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libradar.so.0 (0x00007fbd2e2e0000) libhydro.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libhydro.so.0 (0x00007fbd2e0b0000) libtitan.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libtitan.so.0 (0x00007fbd2de20000) libFmq.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libFmq.so.0 (0x00007fbd2dbd0000) libSpdb.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libSpdb.so.0 (0x00007fbd2d920000) libMdv.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libMdv.so.0 (0x00007fbd2d410000) libRefract.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libRefract.so.0 (0x00007fbd2d1c0000) libadvect.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libadvect.so.0 (0x00007fbd2cfb0000) libphysics.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libphysics.so.0 (0x00007fbd2cd80000) librapplot.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/librapplot.so.0 (0x00007fbd2cb00000) libRadx.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libRadx.so.0 (0x00007fbd2c170000) libNcxx.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libNcxx.so.0 (0x00007fbd2be20000) librapformats.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/librapformats.so.0 (0x00007fbd2b960000) libdsserver.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libdsserver.so.0 (0x00007fbd2b6e0000) libdidss.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libdidss.so.0 (0x00007fbd2b450000) libgrib.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libgrib.so.0 (0x00007fbd18cb0000) libgrib2.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libgrib2.so.0 (0x00007fbd18980000) libcontour.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libcontour.so.0 (0x00007fbd18750000) libeuclid.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libeuclid.so.0 (0x00007fbd18400000) librapmath.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/librapmath.so.0 (0x00007fbd18190000) libtoolsa.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libtoolsa.so.0 (0x00007fbd17e60000) libdataport.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libdataport.so.0 (0x00007fbd17c40000) libtdrp.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libtdrp.so.0 (0x00007fbd17a20000) libshapelib.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libshapelib.so.0 (0x00007fbd17810000) libcidd.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libcidd.so.0 (0x00007fbd175f0000) libtrmm_rsl.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libtrmm_rsl.so.0 (0x00007fbd171c0000) libforayRal.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libforayRal.so.0 (0x00007fbd16e90000) libnetcdf_c++.so.4 => /usr/local/lrose/bin/./lrose_runtime_libs/libnetcdf_c++.so.4 (0x00007fbd16c60000) libnetcdf.so.11 => /usr/local/lrose/bin/./lrose_runtime_libs/libnetcdf.so.11 (0x00007fbd138c0000) libhdf5_hl.so.10 => /usr/local/lrose/bin/./lrose_runtime_libs/libhdf5_hl.so.10 (0x00007fbd13690000) libhdf5.so.10 => /usr/local/lrose/bin/./lrose_runtime_libs/libhdf5.so.10 (0x00007fbd13190000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fbd12f70000) libcurl.so.4 => /usr/local/lrose/bin/./lrose_runtime_libs/libcurl.so.4 (0x00007fbd12d00000) libnetcdf.so.7 => /usr/local/lrose/bin/./lrose_runtime_libs/libnetcdf.so.7 (0x00007fbd0f8f0000) libhdf5_cpp.so.8 => /usr/local/lrose/bin/./lrose_runtime_libs/libhdf5_cpp.so.8 (0x00007fbd0f690000) libhdf5_hl.so.8 => /usr/local/lrose/bin/./lrose_runtime_libs/libhdf5_hl.so.8 (0x00007fbd0f450000) libhdf5.so.8 => /usr/local/lrose/bin/./lrose_runtime_libs/libhdf5.so.8 (0x00007fbd0ee40000) libz.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libz.so.1 (0x00007fbd0ec20000) libbz2.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libbz2.so.1 (0x00007fbd0ea10000) libfftw3.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libfftw3.so.3 (0x00007fbd0e670000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fbd0e450000) libexpat.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libexpat.so.1 (0x00007fbd0e220000) libjasper.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libjasper.so.1 (0x00007fbd0dfb0000) libX11.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libX11.so.6 (0x00007fbd0dc70000) libXext.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libXext.so.6 (0x00007fbd0da50000) libpng15.so.15 => /usr/local/lrose/bin/./lrose_runtime_libs/libpng15.so.15 (0x00007fbd0d810000) libgfortran.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libgfortran.so.3 (0x00007fbd0d4e0000) libstdc++.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libstdc++.so.6 (0x00007fbd0d1d0000) libm.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libm.so.6 (0x00007fbd0ceb0000) libgcc_s.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libgcc_s.so.1 (0x00007fbd0cc90000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbd0c8c0000) libGL.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libGL.so.1 (0x00007fbd0c560000) libharfbuzz.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libharfbuzz.so.0 (0x00007fbd0c2f0000) libssl.so.10 => /usr/local/lrose/bin/./lrose_runtime_libs/libssl.so.10 (0x00007fbd0c060000) libcrypto.so.10 => /usr/local/lrose/bin/./lrose_runtime_libs/libcrypto.so.10 (0x00007fbd0bbf0000) libsystemd.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libsystemd.so.0 (0x00007fbd0b9b0000) libicui18n.so.50 => /usr/local/lrose/bin/./lrose_runtime_libs/libicui18n.so.50 (0x00007fbd0b5a0000) libicuuc.so.50 => /usr/local/lrose/bin/./lrose_runtime_libs/libicuuc.so.50 (0x00007fbd0b220000) libicudata.so.50 => /usr/local/lrose/bin/./lrose_runtime_libs/libicudata.so.50 (0x00007fbd09c40000) libpcre2-16.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libpcre2-16.so.0 (0x00007fbd099c0000) libgthread-2.0.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libgthread-2.0.so.0 (0x00007fbd097b0000) libglib-2.0.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libglib-2.0.so.0 (0x00007fbd09490000) /lib64/ld-linux-x86-64.so.2 (0x00007fbd30000000) libidn.so.11 => /usr/local/lrose/bin/./lrose_runtime_libs/libidn.so.11 (0x00007fbd09230000) libssh2.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libssh2.so.1 (0x00007fbd09000000) libssl3.so => /usr/local/lrose/bin/./lrose_runtime_libs/libssl3.so (0x00007fbd08da0000) libsmime3.so => /usr/local/lrose/bin/./lrose_runtime_libs/libsmime3.so (0x00007fbd08b60000) libnss3.so => /usr/local/lrose/bin/./lrose_runtime_libs/libnss3.so (0x00007fbd08830000) libnssutil3.so => /usr/local/lrose/bin/./lrose_runtime_libs/libnssutil3.so (0x00007fbd08600000) libplds4.so => /usr/local/lrose/bin/./lrose_runtime_libs/libplds4.so (0x00007fbd083e0000) libplc4.so => /usr/local/lrose/bin/./lrose_runtime_libs/libplc4.so (0x00007fbd081d0000) libnspr4.so => /usr/local/lrose/bin/./lrose_runtime_libs/libnspr4.so (0x00007fbd07f90000) libgssapi_krb5.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libgssapi_krb5.so.2 (0x00007fbd07d30000) libkrb5.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libkrb5.so.3 (0x00007fbd07a40000) libk5crypto.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libk5crypto.so.3 (0x00007fbd07800000) libcom_err.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libcom_err.so.2 (0x00007fbd075e0000) liblber-2.4.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/liblber-2.4.so.2 (0x00007fbd073d0000) libldap-2.4.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libldap-2.4.so.2 (0x00007fbd07170000) libjpeg.so.62 => /usr/local/lrose/bin/./lrose_runtime_libs/libjpeg.so.62 (0x00007fbd06f00000) libsz.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libsz.so.2 (0x00007fbd06cf0000) libxcb.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libxcb.so.1 (0x00007fbd06ab0000) libquadmath.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libquadmath.so.0 (0x00007fbd06870000) libnvidia-tls.so.340.106 => /usr/local/lrose/bin/./lrose_runtime_libs/libnvidia-tls.so.340.106 (0x00007fbd06650000) libnvidia-glcore.so.340.106 => /usr/local/lrose/bin/./lrose_runtime_libs/libnvidia-glcore.so.340.106 (0x00007fbd03a30000) libfreetype.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libfreetype.so.6 (0x00007fbd03780000) libgraphite2.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libgraphite2.so.3 (0x00007fbd03540000) libcap.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libcap.so.2 (0x00007fbd03330000) librt.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/librt.so.1 (0x00007fbd03110000) libselinux.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libselinux.so.1 (0x00007fbd02ee0000) liblzma.so.5 => /usr/local/lrose/bin/./lrose_runtime_libs/liblzma.so.5 (0x00007fbd02cb0000) liblz4.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/liblz4.so.1 (0x00007fbd02a80000) libgcrypt.so.11 => /usr/local/lrose/bin/./lrose_runtime_libs/libgcrypt.so.11 (0x00007fbd027f0000) libgpg-error.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libgpg-error.so.0 (0x00007fbd025e0000) libresolv.so.2 => /usr/local/lrose/bin/./lrose_runtime_libs/libresolv.so.2 (0x00007fbd023b0000) libdw.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libdw.so.1 (0x00007fbd02160000) libpcre.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libpcre.so.1 (0x00007fbd01ee0000) libkrb5support.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libkrb5support.so.0 (0x00007fbd01cd0000) libkeyutils.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libkeyutils.so.1 (0x00007fbd01ab0000) libsasl2.so.3 => /usr/local/lrose/bin/./lrose_runtime_libs/libsasl2.so.3 (0x00007fbd01890000) libaec.so.0 => /usr/local/lrose/bin/./lrose_runtime_libs/libaec.so.0 (0x00007fbd01670000) libXau.so.6 => /usr/local/lrose/bin/./lrose_runtime_libs/libXau.so.6 (0x00007fbd01460000) libattr.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libattr.so.1 (0x00007fbd01240000) libelf.so.1 => /usr/local/lrose/bin/lrose_runtime_libs/libelf.so.1 (0x00007fbd01020000) libcrypt.so.1 => /usr/local/lrose/bin/./lrose_runtime_libs/libcrypt.so.1 (0x00007fbd00dd0000) libfreebl3.so => /usr/local/lrose/bin/./lrose_runtime_libs/libfreebl3.so (0x00007fbd00bc0000) — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#61 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXnmdYFoahmqWJVTakJkBtih2MWFN0qks5uvX7egaJpZM4YcvAz .
if you mean ldd _/usr/local/lrose/bin/./lrose_runtime_libs/libxcb.so.1_, i got a file or directory not found
and without the asterisks, i got this:
linux-vdso.so.1 => (0x00007fffe678f000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f7eb1570000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7eb11a0000) /lib64/ld-linux-x86-64.so.2 (0x00007f7eb1a00000)
Looks like the asterisks were added by github markdown (that's how you do bold fonts) I'm not seeing anything wrong with the library dependency.
Do you see any obvious error if you call HawkEye like this? QT_DEBUG_PLUGINS=1 /usr/local/lrose/bin/HawkEye
On my system I get an entry per plugin. The one for xcb looks like this:
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so" Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2", "MetaData": { "Keys": [ "xcb" ] }, "className": "QXcbIntegrationPlugin", "debug": false, "version": 328450 }
Got keys from plugin meta data ("xcb")
Looks like the asterisks were added by github markdown (that's how you do bold fonts) I'm not seeing anything wrong with the library dependency.
Do you see any obvious error if you call HawkEye like this? QT_DEBUG_PLUGINS=1 /usr/local/lrose/bin/HawkEye
On my system I get an entry per plugin. The one for xcb looks like this:
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so" Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2", "MetaData": { "Keys": [ "xcb" ] }, "className": "QXcbIntegrationPlugin", "debug": false, "version": 328450 }
Got keys from plugin meta data ("xcb")
By running this, i get the following error message:
QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/lrose/bin/platforms" ... This application failed to start because it could not find or load the Qt platform plugin "xcb" in "".
Reinstalling the application may fix this problem. Abortado (imagem do núcleo gravada)
Weird, I don't know why it looks in /usr/local/lrose/bin/platforms.
Is there a /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms folder on your machine? If yes, try this command:
ln -s /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms /usr/local/lrose/bin/
That will create a symbolic link from where Qt looks for plugins to the place where they actually are.
Weird, I don't know why it looks in /usr/local/lrose/bin/platforms.
Is there a /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms folder on your machine? If yes, try this command:
ln -s /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms /usr/local/lrose/bin/
That will create a symbolic link from where Qt looks for plugins to the place where they actually are.
after doing this and running HawkEye, I got this error message:
This application failed to start because it could not find or load the Qt platform plugin "xcb" in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.
Reinstalling the application may fix this problem. Abortado (imagem do núcleo gravada)
What packages are installed on your machine? When I build the docker image on Ubuntu I have the following, (which bring in some more qt5 packages to resolve dependencies)
libqt5gui5 libqt5core5a qt5-default libx11-6 libfreetype6
You can run dpkg -l | grep qt5 and dpkg -l | grep libfreetype6
What packages are installed on your machine? When I build the docker image on Ubuntu I have the following, (which bring in some more qt5 packages to resolve dependencies)
libqt5gui5 libqt5core5a qt5-default libx11-6 libfreetype6
You can run dpkg -l | grep qt5 and dpkg -l | grep libfreetype6
with dpkg -I | grep qt5:
ii libqt5concurrent5:amd64 5.5.1+dfsg-16ubuntu7.5 amd64 Qt 5 concurrent module ii libqt5core5a:amd64 5.5.1+dfsg-16ubuntu7.5 amd64 Qt 5 core module ii libqt5dbus5:amd64 5.5.1+dfsg-16ubuntu7.5 amd64 Qt 5 D-Bus module ii libqt5gui5:amd64 5.5.1+dfsg-16ubuntu7.5 amd64 Qt 5 GUI module ii libqt5network5:amd64 5.5.1+dfsg-16ubuntu7.5 amd64 Qt 5 network module ii libqt5opengl5:amd64 5.5.1+dfsg-16ubuntu7.5 amd64 Qt 5 OpenGL module ii libqt5opengl5-dev:amd64 5.5.1+dfsg-16ubuntu7.5 amd64 Qt 5 OpenGL library development files ii libqt5printsupport5:amd64 5.5.1+dfsg-16ubuntu7.5 amd64 Qt 5 print support module ii libqt5sql5:amd64 5.5.1+dfsg-16ubuntu7.5 amd64 Qt 5 SQL module ii libqt5sql5-sqlite:amd64 5.5.1+dfsg-16ubuntu7.5 amd64 Qt 5 SQLite 3 database driver ii libqt5svg5:amd64 5.5.1-2build1 amd64 Qt 5 SVG module ii libqt5test5:amd64 5.5.1+dfsg-16ubuntu7.5 amd64 Qt 5 test module ii libqt5widgets5:amd64 5.5.1+dfsg-16ubuntu7.5 amd64 Qt 5 widgets module ii libqt5xml5:amd64 5.5.1+dfsg-16ubuntu7.5 amd64 Qt 5 XML module ii libqt5xmlpatterns5:amd64 5.5.1-2build1 amd64 Qt 5 XML patterns module ii qt5-default:amd64 5.5.1+dfsg-16ubuntu7.5 amd64 Qt 5 development defaults package ii qt5-qmake:amd64 5.5.1+dfsg-16ubuntu7.5 amd64 Qt 5 qmake Makefile generator tool
and with dpkg -l | grep libfreetype6
ii libfreetype6:amd64 2.6.1-0.1ubuntu2.3 amd64 FreeType 2 font engine, shared library files
What's your environment? A virtual machine (which one, VirtualBox?) hosted on windows 10?
What's your environment? A virtual machine (which one, VirtualBox?) hosted on windows 10?
There is a Windows Subsystem for Linux that was launched with the Windows 10 anniversary around two years ago, where you can have the linux bash shell running on windows. It always runned fine.
For more info: https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/
Thanks for the link. I don't use Windows so I was not aware of this environment, we haven't tested in it. It sounds like it should work, (other people have run Qt5 apps in this env) but it might require an extra step to make it all work.
Did you install an X server for it (which one if you did)? HawkEye would need one to be able to run.
Thanks for the link. I don't use Windows so I was not aware of this environment, we haven't tested in it. It sounds like it should work, (other people have run Qt5 apps in this env) but it might require an extra step to make it all work.
Did you install an X server for it (which one if you did)? HawkEye would need one to be able to run.
I'm using MobaXterm and I never had any problem with other packages/softwares. In the past i also used to run the environment with Xming, with no issues.
So, is there something else i could do to fix this issue?
Let's try to set the plugins path directly:
QT_PLUGIN_PATH=/usr/local/lrose/bin/lrose-blaze_runtime_libs /usr/local/lrose/bin/HawkEye
If that doesn't work, add the debug flag we used earlier to see if we get a clue (all on one line)
QT_DEBUG_PLUGINS=1 QT_PLUGIN_PATH=/usr/local/lrose/bin/lrose-blaze_runtime_libs /usr/local/lrose/bin/HawkEye
this is what i got with the flag added:
QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/lrose/bin/platforms" ... QFactoryLoader::QFactoryLoader() looking at "/usr/local/lrose/bin/platforms/libqeglfs.so" Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqeglfs.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "eglfs" ] }, "className": "QEglFSIntegrationPlugin", "debug": false, "version": 328961 }
Got keys from plugin meta data ("eglfs") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lrose/bin/platforms/libqlinuxfb.so" Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "linuxfb" ] }, "className": "QLinuxFbIntegrationPlugin", "debug": false, "version": 328961 }
Got keys from plugin meta data ("linuxfb") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lrose/bin/platforms/libqminimal.so" Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimal.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimal" ] }, "className": "QMinimalIntegrationPlugin", "debug": false, "version": 328961 }
Got keys from plugin meta data ("minimal") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lrose/bin/platforms/libqminimalegl.so" Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimalegl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimalegl" ] }, "className": "QMinimalEglIntegrationPlugin", "debug": false, "version": 328961 }
Got keys from plugin meta data ("minimalegl") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lrose/bin/platforms/libqoffscreen.so" Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqoffscreen.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "offscreen" ] }, "className": "QOffscreenIntegrationPlugin", "debug": false, "version": 328961 }
Got keys from plugin meta data ("offscreen") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lrose/bin/platforms/libqxcb.so" Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xcb" ] }, "className": "QXcbIntegrationPlugin", "debug": false, "version": 328961 }
Got keys from plugin meta data ("xcb") Cannot load library /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so: (/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5: undefined symbol: _ZNK14QPlatformTheme14fileIconPixmapERK9QFileInfoRK6QSizeF6QFlagsINS_10IconOptionEE) QLibraryPrivate::loadPlugin failed on "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so" : "Cannot load library /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so: (/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5: undefined symbol: _ZNK14QPlatformTheme14fileIconPixmapERK9QFileInfoRK6QSizeF6QFlagsINS_10IconOptionEE)" This application failed to start because it could not find or load the Qt platform plugin "xcb" in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.
Reinstalling the application may fix this problem. Abortado (imagem do núcleo gravada)
Do you get the same thing if you set QT_PLUGIN_PATH to /usr/lib/x86_64-linux-gnu/qt5/plugins instead?
QT_DEBUG_PLUGINS=1 QT_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins /usr/local/lrose/bin/HawkEye
Same stuff, but with some extra details added:
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms" ... QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqeglfs.so" Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqeglfs.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "eglfs" ] }, "className": "QEglFSIntegrationPlugin", "debug": false, "version": 328961 }
Got keys from plugin meta data ("eglfs") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so" Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "linuxfb" ] }, "className": "QLinuxFbIntegrationPlugin", "debug": false, "version": 328961 }
Got keys from plugin meta data ("linuxfb") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimal.so" Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimal.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimal" ] }, "className": "QMinimalIntegrationPlugin", "debug": false, "version": 328961 }
Got keys from plugin meta data ("minimal") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimalegl.so" Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimalegl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimalegl" ] }, "className": "QMinimalEglIntegrationPlugin", "debug": false, "version": 328961 }
Got keys from plugin meta data ("minimalegl") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqoffscreen.so" Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqoffscreen.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "offscreen" ] }, "className": "QOffscreenIntegrationPlugin", "debug": false, "version": 328961 }
Got keys from plugin meta data ("offscreen") QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so" Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xcb" ] }, "className": "QXcbIntegrationPlugin", "debug": false, "version": 328961 }
Got keys from plugin meta data ("xcb") QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/lrose/bin/platforms" ... QFactoryLoader::QFactoryLoader() looking at "/usr/local/lrose/bin/platforms/libqeglfs.so" Got keys from plugin meta data ("eglfs") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lrose/bin/platforms/libqlinuxfb.so" Got keys from plugin meta data ("linuxfb") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lrose/bin/platforms/libqminimal.so" Got keys from plugin meta data ("minimal") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lrose/bin/platforms/libqminimalegl.so" Got keys from plugin meta data ("minimalegl") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lrose/bin/platforms/libqoffscreen.so" Got keys from plugin meta data ("offscreen") QFactoryLoader::QFactoryLoader() looking at "/usr/local/lrose/bin/platforms/libqxcb.so" Got keys from plugin meta data ("xcb") Cannot load library /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so: (/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5: undefined symbol: _ZNK14QPlatformTheme14fileIconPixmapERK9QFileInfoRK6QSizeF6QFlagsINS_10IconOptionEE) QLibraryPrivate::loadPlugin failed on "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so" : "Cannot load library /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so: (/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5: undefined symbol: _ZNK14QPlatformTheme14fileIconPixmapERK9QFileInfoRK6QSizeF6QFlagsINS_10IconOptionEE)" This application failed to start because it could not find or load the Qt platform plugin "xcb" in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.
Reinstalling the application may fix this problem. Abortado (imagem do núcleo gravada)
What does this command give you?
nm -D /usr/local/lrose/bin/lrose-blaze_runtime_libs/libQt5Gui.so.5 | grep _ZNK14QPlatformTheme14fileIconPixmapERK9QFileInfoRK6QSizeF6QFlagsINS_10IconOptionEE
On my system, it finds the function: 00000000000d39d0 T _ZNK14QPlatformTheme14fileIconPixmapERK9QFileInfoRK6QSizeF6QFlagsINS_10IconOptionEE
I got the following error message.
nm: '/usr/local/lrose/bin/lrose-blaze_runtime_libs/libQt5Gui.so.5': Não é esse arquivo
The translation for the sentence in the end, would be something like "it isn't the file" or "this is not the file".
Sorry, I cut and pasted from a different distribution. Same command but with lroze_runtime_libs instead of lroze-blaze_runtime_libs
nm -D /usr/local/lrose/bin/lrose_runtime_libs/libQt5Gui.so.5 | grep _ZNK14QPlatformTheme14fileIconPixmapERK9QFileInfoRK6QSizeF6QFlagsINS_10IconOptionEE
No problem. With the new command line, I didn't get any message whatsoever.
So that's the problem. This function is supposed to be in libQt5Gui.so, but it isn't in your case.
In the remote chance that the lrose install pulled libQtGui.so in lrose_runtime_libs from somewhere else, please run the nm command on the file the build should have copied into lrose_runtime_libs
nm -D /usr/lib/x86_64-linux-gnu/libQt5Gui.so | grep _ZNK14QPlatformTheme14fileIconPixmapERK9QFileInfoRK6QSizeF6QFlagsINS_10IconOptionEE
On an Ubuntu 16.04 docker image, I have the same qt5 version you have:
dpkg -l | grep -i qt5gui ii libqt5gui5:amd64 5.5.1+dfsg-16ubuntu7.5 amd64 Qt 5 GUI module
nm does show that /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so contains an undefined entry for _ZNK14QPlatformTheme14fileIconPixmapERK9QFileInfoRK6QSizeF6QFlagsINS_10IconOptionEE, but nm shows that the function is in /usr/lib/x86_64-linux-gnu/libQt5Gui.so.
with nm i got the following:
00000000000e0980 T _ZNK14QPlatformTheme14fileIconPixmapERK9QFileInfoRK6QSizeF6QFlagsINS_10IconOptionEE
What's the output of these 2 commands?
ls -l /usr/lib/x86_64-linux-gnu/libQt5Gui and ls -l /usr/local/lrose/bin/lrose_runtime_libs/libQt5Gui
for ls -l /usr/lib/x86_64-linux-gnu/libQt5Gui*:
-rw-r--r-- 1 root root 1039 Mai 12 2017 /usr/lib/x86_64-linux-gnu/libQt5Gui.prl lrwxrwxrwx 1 root root 18 Mai 12 2017 /usr/lib/x86_64-linux-gnu/libQt5Gui.so -> libQt5Gui.so.5.5.1 lrwxrwxrwx 1 root root 18 Mai 12 2017 /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 -> libQt5Gui.so.5.5.1 lrwxrwxrwx 1 root root 18 Mai 12 2017 /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5 -> libQt5Gui.so.5.5.1 -rw-r--r-- 1 root root 5514016 Mai 12 2017 /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1
and ls -l /usr/local/lrose/bin/lrose_runtime_libs/libQt5Gui*:
-rwxr-xr-x 1 vitorgoede vitorgoede 4968384 Abr 12 2018 /usr/local/lrose/bin/lrose_runtime_libs/libQt5Gui.so.5
Interesting. I would have expected /usr/local/lrose/bin/lrose_runtime_libs/libQt5Gui.so.5 and /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1 to be the same. Bug judging from the sizes, they are not.
So try this:
cd /usr/local/lrose/bin/lrose_runtime_libs mv libQt5Gui.so.5 libQt5Gui.so.5.hide ln -s /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1 libQt5Gui.so.5
We might also need to do the same thing with the other libQt5* libraries, but let's start with the obvious issues.
Then try to run HawkEye (with the debug flags)
QT_DEBUG_PLUGINS=1 QT_PLUGIN_PATH=/usr/local/lrose/bin/lrose-blaze_runtime_libs /usr/local/lrose/bin/HawkEye
well, this is what i got:
/usr/local/lrose/bin/HawkEye: /usr/local/lrose/bin/lrose_runtime_libs/libQt5Gui.so.5: version Qt_5' not found (required by /usr/local/lrose/bin/HawkEye) /usr/local/lrose/bin/HawkEye: /usr/local/lrose/bin/lrose_runtime_libs/libQt5Gui.so.5: version
Qt_5' not found (required by /usr/local/lrose/bin/lrose_runtime_libs/libQt5Widgets.so.5)
/usr/local/lrose/bin/HawkEye: /usr/local/lrose/bin/lrose_runtime_libs/libQt5Gui.so.5: version `Qt_5_PRIVATE_API' not found (required by /usr/local/lrose/bin/lrose_runtime_libs/libQt5Widgets.so.5)
Makes sense. All the qt5 libs need to match, so let's do the other ones:
cd /usr/local/lrose/bin/lrose_runtime_libs
mv libQt5Core.so.5 libQt5Core.so.5.hide mv libQt5Network.so.5 libQt5Network.so.5.hide mv libQt5Widgets.so.5 libQt5Widgets.so.5.hide
ln -s /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1 libQt5Core.so.5 ln -s /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.5.1 libQt5Network.so.5 ln -s /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1 libQt5Widgets.so.5
And try HawkEye again.
That does make me curious how lrose was compiled though. The build scripts will copy the libs it linked against into lrose_runtime_libs. So for these not to match what is in /usr/lib/x86_64-linux-gnu/ is puzzling. Was lrose compiled on a different system?
Meh, now i got this:
/usr/local/lrose/bin/HawkEye: /usr/local/lrose/bin/lrose_runtime_libs/libQt5Gui.so.5: version `Qt_5' not found (required by /usr/local/lrose/bin/HawkEye)
/usr/local/lrose/bin/HawkEye: /usr/local/lrose/bin/lrose_runtime_libs/libQt5Core.so.5: version `Qt_5.9' not found (required by /usr/local/lrose/bin/HawkEye)
/usr/local/lrose/bin/HawkEye: /usr/local/lrose/bin/lrose_runtime_libs/libQt5Core.so.5: version `Qt_5' not found (required by /usr/local/lrose/bin/HawkEye)
/usr/local/lrose/bin/HawkEye: /usr/local/lrose/bin/lrose_runtime_libs/libQt5Widgets.so.5: version `Qt_5' not found (required by /usr/local/lrose/bin/HawkEye)
/usr/local/lrose/bin/HawkEye: /usr/local/lrose/bin/lrose_runtime_libs/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/local/lrose/bin/lrose_runtime_libs/libQt5Core.so.5)
/usr/local/lrose/bin/HawkEye: /usr/local/lrose/bin/lrose_runtime_libs/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/x86_64-linux-gnu/libproxy.so.1)
/usr/local/lrose/bin/HawkEye: /usr/local/lrose/bin/lrose_runtime_libs/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/x86_64-linux-gnu/libproxy.so.1)
/usr/local/lrose/bin/HawkEye: /usr/local/lrose/bin/lrose_runtime_libs/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicui18n.so.55)
/usr/local/lrose/bin/HawkEye: /usr/local/lrose/bin/lrose_runtime_libs/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.55)
I compiled LROSE only on the Windows Subsystem for Linux.
Ok, let's put everything back the way it was.
cd /usr/local/lrose/bin/lrose_runtime_libs rm libQt5Core.so.5 libQt5Network.so.5 libQt5Widgets.so.5 mv libQt5Core.so.5.hide libQt5Core.so.5 mv libQt5Network.so.5.hide libQt5Network.so.5 mv libQt5Widgets.so.5.hide libQt5Widgets.so.5
What do these give you?
type qmake qmake --version
Do you have anything else on your system that might have pulled a different version of Qt5 (anaconda for example)?
i do have miniconda on my system, and by running both commands above i got this:
qmake is /home/vitorgoede/miniconda2/bin/qmake
QMake version 2.01a Using Qt version 4.8.7 in /home/vitorgoede/miniconda2/lib
Which points to a Qt 4 version
That would explain the discrepancy!
My suggestion is to rebuild lrose with /home/vitorgoede/miniconda2/bin removed from PATH We can try to play games with LD_LIBRARY_PATH and plugins location but it would be a lot simpler to just have a known configuration. (with a Qt4 qmake I'm really surprised you ended up with Qt5 components in /usr/local/lrose/bin/lrose_runtime_libs)
echo $PATH
Should give you a list of ':' separated places to look for binaries. One of the component will be /home/vitorgoede/miniconda2/bin
My suggestion is to edit your ~/.bashrc file, and comment out the line that looks like export PATH="/home/vitorgoede/miniconda2/bin:$PATH" (add a # at the start of the line)
Then in your shell, set PATH to what the echo command showed you but without /home/vitorgoede/miniconda2/bin. You do that with the 'export PATH=...' command:
export PATH=same list but without /home/vitorgoede/miniconda2/bin
And then do type qmake and verify it is /usr/bin/qmake qmake --version should be a Qt version 5
If it isn't /usr/bin/qmake, then another component you installed might have done the same thing conda did and shipped their own version of qmake. (Another potential source of problem)
From that same shell, build lrose like you did originally. Once done, you can edit ~/.bashrc again and remove the # from the export PATH line.
Well, i did all the steps above and that xcb plugin error message just happened again.
I'm going to try to find a windows 10 machine and try it myself. Probably sometime next week.
Ok. Let me know if you have any results
I got it to work this morning using the steps I use to create Docker images. So something in your setting is causing the build system to grab the wrong Qt5 libraries. It is obviously hard to debug remotely, so let me list the steps I followed. (Note that I built lrose-blaze, which is a subset of the full lrose distribution) Description here: https://nsf-lrose.github.io/
I installed Ubuntu 16.04 because I know it works. Some later versions have dropped a couple of libraries needed (libjasper and libpng12) We'll fix this eventually, but for now 16.04 is the way to go.
export PATH=~/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin//bin
wget "https://raw.githubusercontent.com/NCAR/lrose-core/master/build/checkout_and_build_auto.py" chmod +x checkout_and_build_auto.py
sudo apt-get update sudo apt-get install -y libbz2-dev libx11-dev libpng12-dev libfftw3-dev \ libjasper-dev qtbase5-dev git \ gcc g++ gfortran libfl-dev \ automake make libtool pkg-config libexpat1-dev python
ln -s /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /usr/bin/qmake-qt5
sudo mkdir /usr/local/lrose sudo chown vitorgoede:vitorgoede /usr/local/lrose
./checkout_and_build_auto.py --debug --package lrose-blaze --prefix /usr/local/lrose --clean
This takes a while as it downloads the sources, builds in /tmp/lrose-build, and then installs. Make sure your machine doesn't go to sleep, or does an update that requires a reboot in the middle.
It worked, thanks a lot for all your help.
Good to hear. And thanks for being brave enough to try Lrose on the Linux subsystem :-)
Hi.
I've compiled the binary version of the LROSE package, which runs fine, but I'm having an issue while trying to display the CF/Radial data on HawkEye.
Everytime I try to run HawkEye, I get this error message:
This application failed to start because it could not find or load the Qt platform plugin "xcb" in "". Reinstalling the application may fix this problem.
The problems is that, I've installed Qt5 and reinstalling it didn't fix the issue, and my attempts to solve it via other means, had no success.
By the way, I'm using bash on Ubuntu on Windows 10, and I'm kinda new to linux.
Thanks