Skip to contentSkip to conversation

libQt5Core.so.5 not found

DISCUSSION 구동현 2 participants 3 messages Jan 24, 2018 1 message not in the archive

lore
Share & tools
lore

구동현

author
#0 lore raw

Hi.

Since last year, I worked with Qt5 with Yocto, exactly 5.9.2.

And few days ago, I lost whole working environment. So I should re-download openembedded layers, include meta-qt5.

After that, when I going to use Qt5 applications, Kernel prints error likes below

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

And here is ldd message of Qt5.

libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0xb6ab8000)

libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0xb665c000)

libQt5Core.so.5 => not found

As you see, every Qt5 library linked successfully except libQt5Core.so.5.

I checked meta-qt5 repository, and found It upgraded to 5.10.0 at 17. Dec. 2017.

If I downgrade Qt5 to 5.9.2, this error not occurs. I can solve my problem by using Qt 5.9.2, but you know, some latest skills like Qt MQTT can only be used after Qt 5.10.

Is there any ideas?

===========================================

구동현(한글)

(주)엠투아이코퍼레이션 / <http://www.m2i.co.kr> http://www.m2i.co.kr

신) (14086) 경기 안양시 만안구 전파로24번길 35-11(안양동) 엠투아이빌딩

구) (14086) 경기 안양시 만안구 안양7동 196-38 엠투아이빌딩

직통. 070-4844-3624 Fax. 031-465-3355 E-mail: [email protected]

#1 lore raw

Hi,

2018-01-24 8:01 GMT+01:00 구동현 <[email protected]>:

Quoted 31 lines

Hi.

Since last year, I worked with Qt5 with Yocto, exactly 5.9.2.

And few days ago, I lost whole working environment. So I should re-download openembedded layers, include meta-qt5.

After that, when I going to use Qt5 applications, Kernel prints error likes below

*# error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory*

And here is ldd message of Qt5.

*libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0xb6ab8000)*

*libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0xb665c000)*

*libQt5Core.so.5 => not found*

As you see, every Qt5 library linked successfully except libQt5Core.so.5.

Quoted 9 lines

I checked meta-qt5 repository, and found It upgraded to 5.10.0 at 17. Dec. 2017.

If I downgrade Qt5 to 5.9.2, this error not occurs. I can solve my problem by using Qt 5.9.2, but you know, some latest skills like Qt MQTT can only be used after Qt 5.10.

What is your Kernel version ?

---
Pierre-Jean Texier

Quoted 26 lines

Is there any ideas?

===========================================

[image: 구동현(한글)]

*(**주)엠투아이코퍼레이션 / **http://www.m2i.co.kr <http://www.m2i.co.kr>*

*신) (14086) 경기 안양시 만안구 전파로24번길 35-11(안양동) 엠투아이빌딩 *

*구) (14086) 경기 안양시 만안구 안양7동 196-38 엠투아이빌딩*

*직통. 070-4844-3624 Fax. 031-465-3355 E-mail: [email protected]
<http://[email protected]>*

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Hi,

2018-01-24 8:50 GMT+01:00 구동현 <[email protected]>:

Quoted 4 lines

Hello Pierre.

Quoted 9 lines

I'm using 3.8 Kernel.

Thanks for your reply.

from Koo.

it seems old kernels (<3.17) have a problem with the getentropy feature with qtbase.
Try to add the line below in your qtbase_git.bbappend:

QT_CONFIG_FLAGS += "--no-feature-getentropy" (see example
<https://github.com/B2Qt/b2qt/blob/74e070d149f2bb8aaf3bf2d7889c21d8467748b5/meta-tegra-extras/recipes/qt5/qtbase_git.bbappend>
)

---
Pierre-Jean

Quoted 94 lines

*From:* TEXIER Pierre-Jean [mailto:[email protected]] *Sent:* Wednesday, January 24, 2018 4:42 PM *To:* 구동현
*Cc:* [email protected]
*Subject:* Re: [yocto] libQt5Core.so.5 not found

Hi,

2018-01-24 8:01 GMT+01:00 구동현 <[email protected]>:

Hi.

Since last year, I worked with Qt5 with Yocto, exactly 5.9.2.

And few days ago, I lost whole working environment. So I should re-download openembedded layers, include meta-qt5.

After that, when I going to use Qt5 applications, Kernel prints error likes below

*# error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory*

And here is ldd message of Qt5.

*libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0xb6ab8000)*

*libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0xb665c000)*

*libQt5Core.so.5 => not found*

As you see, every Qt5 library linked successfully except libQt5Core.so.5.

I checked meta-qt5 repository, and found It upgraded to 5.10.0 at 17. Dec. 2017.

If I downgrade Qt5 to 5.9.2, this error not occurs. I can solve my problem by using Qt 5.9.2, but you know, some latest skills like Qt MQTT can only be used after Qt 5.10.

What is your Kernel version ?

---

Pierre-Jean Texier

Is there any ideas?

===========================================

[image: 구동현(한글)]

*(**주)엠투아이코퍼레이션 / **http://www.m2i.co.kr <http://www.m2i.co.kr>*

*신) (14086) 경기 안양시 만안구 전파로24번길 35-11(안양동) 엠투아이빌딩 *

*구) (14086) 경기 안양시 만안구 안양7동 196-38 엠투아이빌딩*

*직통. 070-4844-3624 Fax. 031-465-3355 E-mail: [email protected]
<http://[email protected]>*

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto