rpm say I don't have a lib which was already installed.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728
Rep:
rpm say I don't have a lib which was already installed.
Hello everybody.
When I tried to intall xchm software, rpm say:
Code:
# rpm -ivh x*.rpm
error: Failed dependencies:
libwx_gtk-2.4.so.0 is needed by xchm-0.9.8-1.i386
libwx_gtk-2.4.so.0(WXGTK_2.4) is needed by xchm-0.9.8-1.i386
But it could not be since I have installed WXGTK 2.6 before I run that command.
I tried slocate to find out if those lib is exist and I see:
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728
Original Poster
Rep:
Quote:
Originally Posted by Lenard
The rpm is expecting to find; libwx_gtk-2.4.so.0 and you have the 2.6 version installed. Download the source rpm and fix/build the package(s).
See 'man rpmbuild' minus the single quotemarks for the details.
I have the latet version of xchm, what else can I fix it.
Why don't it use the 2.6 version library?
I don't want to downgrade anything.
Is there another way?
And I have copy the 2.6 file to a new file named 2.4, I think that cheat have to work.
I have the latet version of xchm, what else can I fix it.
Why don't it use the 2.6 version library?
Ask the developer
Quote:
I don't want to downgrade anything.
Then don't.
Quote:
Is there another way?
I think the cleanest solution was already mentioned. Get the source of xchm and compile it.
Quote:
And I have copy the 2.6 file to a new file named 2.4, I think that cheat have to work.
It might. It might not. But even if this allows you to install the xchm rpm, you probably shouldn't expect xchm to work. If there are enough differences between the 2 versions of wxGTK, xchm could be unstable and crash prone.
FC4 currently only uses wxGTK 2.4; that means you must have gotten your wxGTK 2.6 from FreshRPMS. This is one of the problems with these 3rd-party repos that replace packages from the distribution.
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728
Original Poster
Rep:
Quote:
Originally Posted by spooon
FC4 currently only uses wxGTK 2.4; that means you must have gotten your wxGTK 2.6 from FreshRPMS.
Really? I did not know that.
The first time I install that package, it said that I don't have libwx_gtk_2.4.so
Then I go to FreshRPMS to get wxGTK 2.6 and it still say the same thing.
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728
Original Poster
Rep:
Quote:
Originally Posted by megaspaz
Ask the developer
Its website it require wxGTK 2.4 or later.
Quote:
I think the cleanest solution was already mentioned. Get the source of xchm and compile it.
The configure say I don't have wxconfig (another lib???)
Quote:
It might. It might not. But even if this allows you to install the xchm rpm, you probably shouldn't expect xchm to work. If there are enough differences between the 2 versions of wxGTK, xchm could be unstable and crash prone.
Really? I did not know that.
The first time I install that package, it said that I don't have libwx_gtk_2.4.so
Then I go to FreshRPMS to get wxGTK 2.6 and it still say the same thing.
Really? I did not know that.
The first time I install that package, it said that I don't have libwx_gtk_2.4.so Then I go to FreshRPMS to get wxGTK 2.6 and it still say the same thing.
Because you don't have the right version of wxGTK. It's not hard to understand. Look on your install cds and check out if they have wxGTK. wxGTK 2.6 is not wxGTK 2.4. You can close your eyes and pretend all you want and cry about how right you are, but xchm will not install with your current version of wxGTK. It's that simple. While the website does say, 2.4 or later, you need to keep in mind they're talking about if you've compiled wxGTK from source where you can set compatibility with 2.4 as an option when configuring. You shouldn't expect this compatibility from rpm pakcages of wxGTK. Again, you've got a couple of options. Rebuild, the xchm source, downgrade your wxGTK, or try another chm viewer package. Stop complaining and arguing and choose an option. If none of these options are pleasing to you, then tough sh*t. You're SOL.
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728
Original Poster
Rep:
With xchm:
I remove the wxGTK package and download the source code for both wxGTK and xchm.
the install from of wxGTK went fine.
Then I compile xchm.
The configure process didn't say I miss wxGTK lib.
It said I don't have lib_chm.h file.
CHMLib was installed using rpm
The xchm rpm package didn't complain anything about it.
Would I download and install CHMLIB from source?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.