LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-24-2005, 12:02 PM   #1
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
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:

Code:
# slocate libwx_gtk
/usr/lib/libwx_gtk_qa-2.6.so.0
/usr/lib/libwx_gtk_qa-2.6.so.0.0.0
/usr/lib/libwx_gtk_html-2.6.so.0
/usr/lib/libwx_gtk_adv-2.6.so.0
/usr/lib/libwx_gtk_adv-2.6.so.0.0.0
/usr/lib/libwx_gtk_core-2.6.so.0
/usr/lib/libwx_gtk_html-2.6.so.0.0.0
/usr/lib/libwx_gtk_core-2.6.so.0.0.0
/usr/lib/libwx_gtk_media-2.6.so.0.0.0
/usr/lib/libwx_gtk_media-2.6.so.0
/lib/libwx_gtk_adv-2.6.so.0
Why couldn't I install xchm.
Please help me out because I face the same problem with many software.
 
Old 12-24-2005, 12:44 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
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.
 
Old 12-24-2005, 12:50 PM   #3
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Original Poster
Rep: Reputation: 33
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.
 
Old 12-24-2005, 01:00 PM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Quote:
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.

Last edited by megaspaz; 12-24-2005 at 01:03 PM.
 
Old 12-24-2005, 02:49 PM   #5
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
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.
 
Old 12-24-2005, 05:32 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Why not just install gnochm. I am sure there is a FC rpm somewhere (check dags repo).
 
Old 12-24-2005, 08:16 PM   #7
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Yep, you need to get the xchm source rpm and do a small edit to the xchm.spec file then build and install the binary. From the xchm.spec file;

%configure --enable-optimize --with-wx-config=wxgtk-2.4-config
 
Old 12-24-2005, 08:24 PM   #8
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Original Poster
Rep: Reputation: 33
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.
 
Old 12-24-2005, 08:40 PM   #9
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Original Poster
Rep: Reputation: 33
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.
It don't work in this case

Last edited by TruongAn; 12-24-2005 at 08:41 PM.
 
Old 12-24-2005, 08:40 PM   #10
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by TruongAn
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.
So is gnochm no good for you?
 
Old 12-24-2005, 08:42 PM   #11
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Quote:
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.

Last edited by megaspaz; 12-24-2005 at 08:46 PM.
 
Old 12-24-2005, 09:01 PM   #12
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by reddazz
So is gnochm no good for you?
no, I didn't mean so.
I have downloaded it and I will install it later.
I hope it will work.
 
Old 12-24-2005, 09:14 PM   #13
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I was just aksing because you may not have wanted to install it for some reason.
 
Old 12-25-2005, 05:01 AM   #14
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by reddazz
Why not just install gnochm. I am sure there is a FC rpm somewhere (check dags repo).
The install process say that:
Code:
rpm -ivh gnochm-0.9.6-1fc3.noarch.rpm
error: Failed dependencies:
        pychm >= 0.8.2 is needed by gnochm-0.9.6-1fc3.noarch
I have downloaded pychm, I hope it will work
 
Old 12-25-2005, 05:10 AM   #15
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Original Poster
Rep: Reputation: 33
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm -ivh says installed rpm -e says not installed ??? skog Fedora 3 12-22-2004 03:52 PM
lib that is installed but ./configure can't find mandrakemikael Linux - Newbie 3 09-01-2004 03:31 PM
Lib Packages Not Installed? Please Help! DozenEggs Linux - Software 8 07-19-2004 06:47 AM
Where is libgd installed? [/usr/lib] dexter_modem Slackware 1 07-16-2003 11:18 AM
Rpm Lib version conflict saravanan1979 Linux - Software 11 06-15-2002 12:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration