RE: not finding library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: rpm-list-bounces@xxxxxxxxxx 
> [mailto:rpm-list-bounces@xxxxxxxxxx] On Behalf Of Hayim Shaul
> Sent: Tuesday, June 06, 2006 10:44
> To: rpm-list@xxxxxxxxxx
> Subject: not finding library
> 
> Hi all,
> 
> I have an RPM I want to install. Trying to install it I get the error:
> error: Failed dependencies:
>         libstdc++-libc6.2-2.so.3 is needed by hpadu-7.50-16.i386
> 
> However, libstdc++-libc6.2-2.so.3 exists on the system !?!
> 
> How can I update the rpm-database to be aware of the library?
> 
> 
> 
> Alternatively, I converted the rpm into cpio to install it, 
> but then the %pre scriptlet is not executed.
> Is there a way to execute/extract the %pre scriptlet?
> 
> Thanks,
>   Hayim.
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
> 

Is  libstdc++-libc6.2-2.so.3 provided by any installed package? What
does "rpm -q --whatprovides libstdc++-libc6.2-2.so.3" give you?
Alternatively, you can query to-whom libstdc++-libc6.2-2.so.3 belongs by
"rpm -qf /full/path/to/libstdc++-libc6.2-2.so.3". Might this lib be
unrelated to any RPM?
I don't know how to make RPM's DB aware of this. IMHO, it sounds like a
bad idea. I think you can --force an installation (not too good-an-idea
either).

Extracting scriptlets is possible by "rpm -qp --scripts" the RPM file.
This was discussed here in the past, I believe.

Amit

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux