F8T3 portaudio-19-3.fc8 dependency bug?

Jerry Williams jwilliam at xmission.com
Sat Oct 13 19:50:39 UTC 2007


I think the answers are going in the wrong direction.
And maybe this isn't about portaudio at all, but more of a dependency
problem.

I have a binary crrcsim-0.9.8-1.fc6.i386.rpm that was built on Fedora Core
6.
It installs just fine on Fedora 7, but that could be because when I enter
the command rpm -q portaudio returns portaudio-18.1-8.fc6.

When I try and install it on Fedora 8 Test 3 it complains:
error: Failed dependencies:
	libportaudio.so is needed by crrcsim-0.9.8-1.fc6.i386
and it won't install.

And I think that is a bug of some kind because there is a
/usr/lib/libportaudio.so or at least a file that is a link.
And it does work if I install crrcsim with the --nodeps option.

So am I just lucky that it works?
Should something be changed so that it satisfies the libportaudio.so and so
it should let crrcsim install without having to use the --nodeps option?

And I guess I don't understand the stuff below about sonames and such.
Why does it matter if I list the whole path or not?

So is it the fact that on Fedora 8 I have version 2 of libportaudio.so and
on Fedora 7 I have version 1 or none and that the link in the devel package
is there so that things that require libportaudio.so will compile against
version 2, but the rpm wants to keep thing that where compiled against
version 1 to fail install because they might not work?

Just trying to understand the way things work and if they are right or if
there is a bug.

Thanks for any help,
Jerry

> -----Original Message-----
> From: fedora-test-list-bounces at redhat.com [mailto:fedora-test-list-
> bounces at redhat.com] On Behalf Of Michael Schwendt
> Sent: Saturday, October 13, 2007 11:31 AM
> To: fedora-test-list at redhat.com
> Subject: Re: portaudio-19-3.fc8 or portaudio-devel-19-3.fc8 bug?
> 
> On Sat, 13 Oct 2007 19:05:35 +0200, Michael Schwendt wrote:
> 
> > > libportaudio.so belongs to portaudio-devel
> > > libportaudio.so.2 and libportaudio.so.2.0.0 belong to portaudio
> >
> > It is like that in Fedora 8 Development, because the newer
> > libportaudio has a soname.
> >
> > > "rpm -q --whatprovides libportaudio.so" returns nothing.
> > > "rpm -q --whatprovides libportaudio.so.2" returns portaudio.
> > > "rpm -q --whatprovides libportaudio.so.2.0.0" returns nothing.
> 
> And to add a comment, since I just noticed that in the subject
> you refer to F8 packages while in the message your refer to F7:
> 
> Only "rpm -q --whatprovides libportaudio.so.2" is a _valid_ query,
> since "libportaudio.so.2" is the library's soname, whereas the other
> two are not. They are just files or symlinks, which are provided via
> the filelist, so you would need to change the queries to
> 
>   rpm -q --whatprovides /usr/lib/libportaudio.so
>   rpm -q --whatprovides /usr/lib/libportaudio.so.2
>   rpm -q --whatprovides /usr/lib/libportaudio.so.2.0.0
> 
> if you want to cover the files,
> and only for the soname:
> 
>   rpm -q --whatprovides libportaudio.so.2
> 
> --
> fedora-test-list mailing list
> fedora-test-list at redhat.com
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-test-list




More information about the fedora-test-list mailing list