Bug 33703 - Ищет модули libxmlsec1-openssl.so, а запакованы rpm -ql libxmlsec1-openssl /usr/lib64/libxmlsec1-openssl.so.1 libxmlsec1-openssl.so.1.* как библиотеки
Summary: Ищет модули libxmlsec1-openssl.so, а запакованы rpm -ql libxmlsec1-openssl /u...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libxmlsec1 (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Fr. Br. George
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-30 18:55 MSK by Vitaly Lipatov
Modified: 2017-08-08 12:55 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Lipatov 2017-07-30 18:55:24 MSK
$ xmlsec1 --verify /dev/null
func=xmlSecCryptoDLLibraryCreate:file=dl.c:line=130:obj=unknown:subj=lt_dlopenext:error=7:io function failed:name="libxmlsec1-openssl"; errno=2
func=xmlSecCryptoDLGetLibraryFunctions:file=dl.c:line=436:obj=unknown:subj=xmlSecCryptoDLLibraryCreate:error=1:xmlsec library function failed:crypto=openssl
func=xmlSecCryptoDLLoadLibrary:file=dl.c:line=393:obj=unknown:subj=xmlSecCryptoDLGetLibraryFunctions:error=1:xmlsec library function failed: 
Error: unable to load xmlsec-openssl library. Make sure that you have
this it installed, check shared libraries path (LD_LIBRARY_PATH)
envornment variable or use "--crypto" option to specify different
crypto engine.
Error: initialization failed

что в пакете:
rpm -ql libxmlsec1-openssl
/usr/lib64/libxmlsec1-openssl.so.1
/usr/lib64/libxmlsec1-openssl.so.1.2.24

Что ищем:
strace -f xmlsec1 --verify /dev/null | grep libxmlsec1-openssl
open("/lib64/libxmlsec1-openssl.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libxmlsec1-openssl.la", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/lib64/libxmlsec1-openssl.so", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib64/libxmlsec1-openssl.so", R_OK) = -1 ENOENT (No such file or directory)
open("/lib64/tls/x86_64/libxmlsec1-openssl.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib64/tls/libxmlsec1-openssl.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib64/x86_64/libxmlsec1-openssl.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib64/libxmlsec1-openssl.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/x86_64/libxmlsec1-openssl.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libxmlsec1-openssl.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/x86_64/libxmlsec1-openssl.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libxmlsec1-openssl.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)


Установка libxmlsec1-openssl-devel помогает. Видимо, придётся .so-файл перенести.
Comment 1 Alexey Shabalin 2017-08-07 15:54:02 MSK
+1. тоже нарвался
Comment 2 Repository Robot 2017-08-07 21:38:24 MSK
libxmlsec1-1.2.24-alt2 -> sisyphus:

Mon Aug 07 2017 Alexey Shabalin <shaba@altlinux.ru> 1.2.24-alt2
- Fix missing links to unversioned shared library files (ALT#33703)
Comment 3 Vitaly Lipatov 2017-08-08 10:06:01 MSK
(В ответ на комментарий №2)
> libxmlsec1-1.2.24-alt2 -> sisyphus:
> 
> Mon Aug 07 2017 Alexey Shabalin <shaba@altlinux.ru> 1.2.24-alt2
> - Fix missing links to unversioned shared library files (ALT#33703)
Спасибо! В p8 отправите?
Comment 4 Alexey Shabalin 2017-08-08 12:55:51 MSK
да. отправлю.