# GenICamBrowser error loading shared library libQt5CoreCvb.so.5

**URL:** <https://forum.commonvisionblox.com/t/genicambrowser-error-loading-shared-library-libqt5corecvb-so-5/949>\
**Category:** General Questions\
**Tags:** linux\
**Created:** [November 6, 2019, 3:25pm UTC](https://forum.commonvisionblox.com/t/genicambrowser-error-loading-shared-library-libqt5corecvb-so-5/949 "2019-11-06T15:25:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![PhotonL](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@PhotonL](https://forum.commonvisionblox.com/u/PhotonL)\
**Post date:** [November 6, 2019, 3:25pm UTC](https://forum.commonvisionblox.com/t/genicambrowser-error-loading-shared-library-libqt5corecvb-so-5/949/1 "2019-11-06T15:25:27Z")

</div>

Hello everyone,

I recently installed the latest CVB version (13.02.002) for Ubuntu 18.04 x64 using the provided install.sh script. It is, however, not possible to execute any of the binaries that are using the libQt5CoreCvb.so.5 shared library, such as the GenICamBrowser, the LicenseManager or any of the tutorial examples. I confirmed that it is finding all the other libQt5\*Cvb.so libraries from _/opt/cvb/qt_ using **ldd**.

Did I miss anything during the installation process?

---

<div class="post-metadata">

**Author:** ![Andreas](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/andreas/32/75_2.png) [@Andreas](https://forum.commonvisionblox.com/u/Andreas)\
**Post date:** [November 7, 2019, 12:01pm UTC](https://forum.commonvisionblox.com/t/genicambrowser-error-loading-shared-library-libqt5corecvb-so-5/949/2 "2019-11-07T12:01:11Z")

</div>

Hi @Photon,

I just checked the installation on clean Ubuntu and it works for me.  
Did you see any error messages during installation? If there are any errors the installation might be incomplete, and the RPATH might not be set correctly.

---

<div class="post-metadata">

**Author:** ![PhotonL](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@PhotonL](https://forum.commonvisionblox.com/u/PhotonL)\
**Post date:** [November 7, 2019, 2:13pm UTC](https://forum.commonvisionblox.com/t/genicambrowser-error-loading-shared-library-libqt5corecvb-so-5/949/3 "2019-11-07T14:13:30Z")

</div>

Hi @Andreas,

There were no error messages during installation as far as I recall. What I perhaps should have mentioned is that I tried installing it in the Windows Subsystem for Linux for testing purposes, which I am aware is not explicitly supported, but I couldn’t think of why that would interfere with the linking process. It’s working fine on an actual native installation, so this probably won’t be an issue for us going forward.

Thanks for checking!

---

<div class="post-metadata">

**Author:** ![illusive](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/illusive/32/61_2.png) [@illusive](https://forum.commonvisionblox.com/u/illusive)\
**Post date:** [November 8, 2019, 1:25pm UTC](https://forum.commonvisionblox.com/t/genicambrowser-error-loading-shared-library-libqt5corecvb-so-5/949/4 "2019-11-08T13:25:43Z")

</div>

> [@PhotonL](#):
>
> What I perhaps should have mentioned is that I tried installing it in the Windows Subsystem for Linux for testing purposes

Did you try to invoke the applications (GenICamBrowser, LogGui, LicenseManager) from within WSL? If so, then this is the issue here: WSL currently comes without an X-Server, therefore WSL alone is incapable of launching an application with a GUI. There are workarounds for this that rely on an X-Server that is external to the WSL environment (see [here](https://token2shell.com/howto/x410/setting-up-wsl-for-linux-gui-apps/) for a guide based on X410; something similar might work with Cygwin-X). These might work with the :cvb: applications, but I never tested something like that…

---

<div class="post-metadata">

**Author:** ![PhotonL](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@PhotonL](https://forum.commonvisionblox.com/u/PhotonL)\
**Post date:** [November 11, 2019, 7:51am UTC](https://forum.commonvisionblox.com/t/genicambrowser-error-loading-shared-library-libqt5corecvb-so-5/949/5 "2019-11-11T07:51:22Z")

</div>

I used VcXsrv for an X-Server and other GUI applications are working fine. Based on the error message I don’t think this is an X-Server issue.

---

<div class="post-metadata">

**Author:** ![Andreas](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/andreas/32/75_2.png) [@Andreas](https://forum.commonvisionblox.com/u/Andreas)\
**Post date:** [November 11, 2019, 1:17pm UTC](https://forum.commonvisionblox.com/t/genicambrowser-error-loading-shared-library-libqt5corecvb-so-5/949/6 "2019-11-11T13:17:46Z")

</div>

> [@PhotonL](#):
>
> I have used VcXsrv

Ok, you are in untested territory. However I can provide the following tips…

1. Install the Ubuntu1804 stock Qt and compile a UI tutorial with it. If this works it is likely that a plugin is missing from the CVB installation. We do not ship all available plugins!
2. Backup the /opt/cvb/qt folder
3. In order to fix the GeniCam browser and other CVB UI tools, which we do not ship in source you can create symlinks in /opt/cvb/qt containing the infix, but actually pointing to the stock Qt libs.

Don’t forget to run ldconfig 😉

---

<div class="post-metadata">

**Author:** ![c.hartmann](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/c.hartmann/32/247_2.png) [@c.hartmann](https://forum.commonvisionblox.com/u/c.hartmann)\
**Post date:** [November 18, 2019, 8:27am UTC](https://forum.commonvisionblox.com/t/genicambrowser-error-loading-shared-library-libqt5corecvb-so-5/949/7 "2019-11-18T08:27:33Z")

</div>

I have been using Genicambrowser with VcXsrv for a while now. It works.(other services may not be started and USB is an issue in WSL).

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/commonvisionblox/original/1X/08b576460fc98581560e588a6e1b8051faaa5b9a.png)

---

<div class="post-metadata">

**Author:** ![c.hartmann](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/c.hartmann/32/247_2.png) [@c.hartmann](https://forum.commonvisionblox.com/u/c.hartmann)\
**Post date:** [November 18, 2019, 8:33am UTC](https://forum.commonvisionblox.com/t/genicambrowser-error-loading-shared-library-libqt5corecvb-so-5/949/8 "2019-11-18T08:33:23Z")

</div>

> [@PhotonL](#):
>
> Based on the error message I don’t think this is an X-Server issue.

I don’t actually see the error message in the post. Am I missing something?

Could you post it again?

---

<div class="post-metadata">

**Author:** ![PhotonL](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@PhotonL](https://forum.commonvisionblox.com/u/PhotonL)\
**Post date:** [November 18, 2019, 10:22am UTC](https://forum.commonvisionblox.com/t/genicambrowser-error-loading-shared-library-libqt5corecvb-so-5/949/9 "2019-11-18T10:22:35Z")

</div>

IIRC it was

> error while loading shared libraries: libQt5CoreCvb.so.5: cannot open shared object file: No such file or directory

I migrated my entire development environment to Ubuntu 18.04, so I cannot reproduce the error anymore.
