Missing librpmbuild.so.8 for local build

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Missing librpmbuild.so.8 for local build

Kyrill Detinov

Hello.

Local build failed because of missing librpmbuild.so.8.

+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/python-djvulibre.spec
rpmbuild: error while loading shared libraries: librpmbuild.so.8: cannot open shared object file: No such file or directory

% osc chroot
mounting proc: sudo mount -n -tproc none /home/kent/rpmbuild/BUILD-osc/openSUSE_Tumbleweed-x86_64/proc
mounting sys: sudo mount -n -tsysfs none /home/kent/rpmbuild/BUILD-osc/openSUSE_Tumbleweed-x86_64/sys
[sudo] пароль для root:
running: sudo chroot /home/kent/rpmbuild/BUILD-osc/openSUSE_Tumbleweed-x86_64 su - abuild

abuild@lazy:~> rpm -ql rpm | grep librpmbuild.so  
/usr/lib64/librpmbuild.so.7
/usr/lib64/librpmbuild.so.7.0.1

Why it requires librpmbuild.so.8?

--
WBR
  Kyrill

attachment0 (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Missing librpmbuild.so.8 for local build

Andreas Schwab
On Jan 17 2018, Kyrill Detinov <[hidden email]> wrote:

> Local build failed because of missing librpmbuild.so.8.
>
> + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/python-djvulibre.spec
> rpmbuild: error while loading shared libraries: librpmbuild.so.8: cannot open shared object file: No such file or directory
>
> % osc chroot
> mounting proc: sudo mount -n -tproc none /home/kent/rpmbuild/BUILD-osc/openSUSE_Tumbleweed-x86_64/proc
> mounting sys: sudo mount -n -tsysfs none /home/kent/rpmbuild/BUILD-osc/openSUSE_Tumbleweed-x86_64/sys
> [sudo] пароль для root:
> running: sudo chroot /home/kent/rpmbuild/BUILD-osc/openSUSE_Tumbleweed-x86_64 su - abuild
>
> abuild@lazy:~> rpm -ql rpm | grep librpmbuild.so  
> /usr/lib64/librpmbuild.so.7
> /usr/lib64/librpmbuild.so.7.0.1
>
> Why it requires librpmbuild.so.8?

You must be using a mixup of rpm and rpm-build packages of different
versions.

Andreas.

--
Andreas Schwab, [hidden email]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Missing librpmbuild.so.8 for local build

Kyrill Detinov

On Wed, 17 Jan 2018 22:15:24 +0100 Andreas Schwab wrote:

> > Why it requires librpmbuild.so.8?  
>
> You must be using a mixup of rpm and rpm-build packages of different
> versions.


'osc build --clean' helps.
Thanks.

--
WBR
  Kyrill

attachment0 (201 bytes) Download Attachment