ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] libQt5Core.so.5: cannot open shared object file: No such file or directory
@ 2018-08-25 20:43 Vitaly Lipatov
  2018-08-27 14:43 ` Sergey V Turchin
  0 siblings, 1 reply; 7+ messages in thread
From: Vitaly Lipatov @ 2018-08-25 20:43 UTC (permalink / raw)
  To: ALT Devel discussion list

Добрый день!

После сегодняшнего обновления из Сизифа наткнулся на странную проблему:
при запуске любой программы на Qt5 получаю

libQt5Core.so.5: cannot open shared object file: No such file or 
directory

При этом:
$ rpm -qf /usr/lib64/libQt5Core.so.5.11.1
libqt5-core-5.11.1-alt2.S1.x86_64


$ rpm -V libqt5-core
(ничего)

$ md5sum /usr/lib64/libQt5Core.so.5.11.1
ced0046e5799de6b0a10542611c91638  /usr/lib64/libQt5Core.so.5.11.1

$ strace bibletime
...
openat(AT_FDCWD, "/usr/lib64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, 
"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pd\t\0\0\0\0\0"..., 832) 
= 832
lseek(3, 4649868, SEEK_SET)             = 4649868
read(3, 
"\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\3\0\0\0\21\0\0\0\0\0\0\0", 32) = 
32
close(3)                                = 0
stat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=167936, ...}) = 0
writev(2, [{iov_base="bibletime", iov_len=9}, {iov_base=": ", 
iov_len=2}, {iov_base="error while loading shared libra"..., 
iov_len=36}, {iov_base=": ", iov_len=2}, {iov_base="libQt5Core.so.5", 
iov_len=15}, {iov_base=": ", iov_len=2}, {iov_base="cannot open shared 
object file", iov_len=30}, {iov_base=": ", iov_len=2}, {iov_base="No 
such file or directory", iov_len=25}, {iov_base="\n", iov_len=1}], 
10bibletime: error while loading shared libraries: libQt5Core.so.5: 
cannot open shared object file: No such file or directory


$ ldd /usr/bin/bibletime
	linux-vdso.so.1 (0x00007ffe0b3a4000)
...
	libQt5Core.so.5 => not found
...


Воспроизводится на двух системах.
Подскажите, пожалуйста, как понять, что случилось?

-- 
С уважением,
Виталий Липатов,
Etersoft


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] libQt5Core.so.5: cannot open shared object file: No such file or directory
  2018-08-25 20:43 [devel] libQt5Core.so.5: cannot open shared object file: No such file or directory Vitaly Lipatov
@ 2018-08-27 14:43 ` Sergey V Turchin
  2018-08-27 20:20   ` Vitaly Lipatov
  0 siblings, 1 reply; 7+ messages in thread
From: Sergey V Turchin @ 2018-08-27 14:43 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Saturday, 25 August 2018 23:43:41 MSK Vitaly Lipatov wrote:
> Добрый день!
> 
> После сегодняшнего обновления из Сизифа наткнулся на странную проблему:
> при запуске любой программы на Qt5 получаю
> 
> libQt5Core.so.5: cannot open shared object file: No such file or
> directory
Что-то локально с системой.

[...]

> $ ldd /usr/bin/bibletime
> 	linux-vdso.so.1 (0x00007ffe0b3a4000)
> ...
> 	libQt5Core.so.5 => not found
> ...
Посмотреть, не завалялось ли чего лишнего в /etc/ld.so.conf.d/
и сделать ldconfig.

> Воспроизводится на двух системах.
> Подскажите, пожалуйста, как понять, что случилось?
Подозреваю, что проблема в каком-то другом пакете.

-- 
Regards, Sergey.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] libQt5Core.so.5: cannot open shared object file: No such file or directory
  2018-08-27 14:43 ` Sergey V Turchin
@ 2018-08-27 20:20   ` Vitaly Lipatov
  2018-08-27 23:23     ` Leonid Krivoshein
  0 siblings, 1 reply; 7+ messages in thread
From: Vitaly Lipatov @ 2018-08-27 20:20 UTC (permalink / raw)
  To: ALT Linux Team development discussions; +Cc: Sergey V Turchin

Sergey V Turchin писал 27.8.18 17:43:
> On Saturday, 25 August 2018 23:43:41 MSK Vitaly Lipatov wrote:
>> Добрый день!
>> 
>> После сегодняшнего обновления из Сизифа наткнулся на странную 
>> проблему:
>> при запуске любой программы на Qt5 получаю
>> 
>> libQt5Core.so.5: cannot open shared object file: No such file or
>> directory
> Что-то локально с системой.
При этом файл имеется и читается при линковке.

Более того, забыл главное — проблема воспроизводится в hasher.

> [...]
> 
>> $ ldd /usr/bin/bibletime
>> 	linux-vdso.so.1 (0x00007ffe0b3a4000)
>> ...
>> 	libQt5Core.so.5 => not found
>> ...
> Посмотреть, не завалялось ли чего лишнего в /etc/ld.so.conf.d/
> и сделать ldconfig.

Нет.

$ cat /etc/ld.so.conf
include /etc/ld.so.conf.d/*.conf
$ ls /etc/ld.so.conf.d/*.conf
/etc/ld.so.conf.d/libnsl2-x86_64.conf

> 
>> Воспроизводится на двух системах.
>> Подскажите, пожалуйста, как понять, что случилось?
> Подозреваю, что проблема в каком-то другом пакете.
+1


-- 
С уважением,
Виталий Липатов,
Etersoft


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] libQt5Core.so.5: cannot open shared object file: No such file or directory
  2018-08-27 20:20   ` Vitaly Lipatov
@ 2018-08-27 23:23     ` Leonid Krivoshein
  2018-08-28 10:14       ` Vitaly Lipatov
  0 siblings, 1 reply; 7+ messages in thread
From: Leonid Krivoshein @ 2018-08-27 23:23 UTC (permalink / raw)
  To: devel


27.08.2018 23:20, Vitaly Lipatov пишет:
> Sergey V Turchin писал 27.8.18 17:43:
>> On Saturday, 25 August 2018 23:43:41 MSK Vitaly Lipatov wrote:
>>> После сегодняшнего обновления из Сизифа наткнулся на странную проблему:
>>> при запуске любой программы на Qt5 получаю
>>>
>>> libQt5Core.so.5: cannot open shared object file: No such file or
>>> directory
>> Что-то локально с системой.
> При этом файл имеется и читается при линковке.
>
> Более того, забыл главное — проблема воспроизводится в hasher.
>

Так а что говорит objdump -x /usr/bin/bibletime | grep RPATH ?


-- 
Best regards,
Leonid Krivoshein.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] libQt5Core.so.5: cannot open shared object file: No such file or directory
  2018-08-27 23:23     ` Leonid Krivoshein
@ 2018-08-28 10:14       ` Vitaly Lipatov
  2018-08-28 12:55         ` Leonid Krivoshein
  0 siblings, 1 reply; 7+ messages in thread
From: Vitaly Lipatov @ 2018-08-28 10:14 UTC (permalink / raw)
  To: ALT Linux Team development discussions; +Cc: Leonid Krivoshein

Leonid Krivoshein писал 28.8.18 2:23:
...
> Так а что говорит objdump -x /usr/bin/bibletime | grep RPATH ?
ничего.

Но всё уже успешно свалили на ядро 2.6.32-ovz-el:
https://bugzilla.altlinux.org/show_bug.cgi?id=35297#c5

-- 
С уважением,
Виталий Липатов,
Etersoft


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] libQt5Core.so.5: cannot open shared object file: No such file or directory
  2018-08-28 10:14       ` Vitaly Lipatov
@ 2018-08-28 12:55         ` Leonid Krivoshein
  2018-08-28 18:40           ` Vitaly Lipatov
  0 siblings, 1 reply; 7+ messages in thread
From: Leonid Krivoshein @ 2018-08-28 12:55 UTC (permalink / raw)
  To: ALT Linux Team development discussions



28.08.2018 13:14, Vitaly Lipatov пишет:
> Leonid Krivoshein писал 28.8.18 2:23:
> ...
>> Так а что говорит objdump -x /usr/bin/bibletime | grep RPATH ?
> ничего.
>
> Но всё уже успешно свалили на ядро 2.6.32-ovz-el:
> https://bugzilla.altlinux.org/show_bug.cgi?id=35297#c5
>


И они правы: корь 5.10 требует ядра >= 3.17.0 ибо getrandom(2) syscall. 
Возможно решение:


|strip --remove-section=.note.ABI-tag /usr/lib/libQt5Core.so.5.11.1|


Грабля довольно известная.


-- 
Best regards,
Leonid Krivoshein.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] libQt5Core.so.5: cannot open shared object file: No such file or directory
  2018-08-28 12:55         ` Leonid Krivoshein
@ 2018-08-28 18:40           ` Vitaly Lipatov
  0 siblings, 0 replies; 7+ messages in thread
From: Vitaly Lipatov @ 2018-08-28 18:40 UTC (permalink / raw)
  To: ALT Linux Team development discussions; +Cc: Leonid Krivoshein

Leonid Krivoshein писал 28.8.18 15:55:
...

> 
> |strip --remove-section=.note.ABI-tag /usr/lib/libQt5Core.so.5.11.1|
> 
> 
> Грабля довольно известная.
Действительно,
# strip --remove-section=.note.ABI-tag /usr/lib64/libQt5Core.so.5.11.1|
помогло и программы запускаются.


-- 
С уважением,
Виталий Липатов,
Etersoft


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-08-28 18:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-25 20:43 [devel] libQt5Core.so.5: cannot open shared object file: No such file or directory Vitaly Lipatov
2018-08-27 14:43 ` Sergey V Turchin
2018-08-27 20:20   ` Vitaly Lipatov
2018-08-27 23:23     ` Leonid Krivoshein
2018-08-28 10:14       ` Vitaly Lipatov
2018-08-28 12:55         ` Leonid Krivoshein
2018-08-28 18:40           ` Vitaly Lipatov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git