![](https://seccdn.libravatar.org/avatar/638c5f9b9a41e53d4663197a58261c49.jpg?s=120&d=mm&r=g)
Hello, On Sat, 10 Aug 2019, Axel Braun wrote:
Am Freitag, 9. August 2019, 23:35:20 CEST schrieb Aaron Puchert:
Log file: https://build.opensuse.org/build/home:DocB:Orthanc/openSUSE_Tumbleweed/x86 _64/ orthanc/_log
The specfile seems to be missing
BuildRequires: libicu-devel
That was obviously...too obvious.
That should contain /usr/lib64/libicuuc.so. Generally .so files are in -devel packages (together with headers, which you probably also need here), and .so.* files are in non-devel packages.
On the other distributions libicu-devel might come in via another package, and perhaps that dependency has been removed in Factory.
Looks like, yes. Now it builds, thanks for the hint
Please, please do no longer use deps on -devel packages, but depend on pkgconfig() deps. There are some libs left without pkgconfig files (e.g. libjpeg IIRC), but in all other cases, use pkgconfig(). In this case, it's: BuildRequires: pkgconfig(icu-uc) $ rpm -qlf /usr/lib64/libicuuc.so | grep pkgconfig | xargs grep cuuc /usr/lib64/pkgconfig/icu-uc.pc:Libs: -L${libdir} -licuuc -licudata ^^^^^^ ^^^^^ which means that the dep to libicuuc.so is in icu-uc.pc, i.e. use pkgconfig(icu-uc) as a dep. Generally, 'rpm -qlf foo.so | grep pkg' gives you the pkgconfig files, and if you're missing some specific lib, grep those for the lib as shown above, if the package has more than one .pc file. And BTW, this has been valid since *at least* 8 years ago! There just is no excuse for using -devel deps unless a package has no pkgconfig files. HTH, -dnh -- Most people would say I write code like I've already lost my mind. -- Randal L. Schwartz -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org