LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-21-2006, 12:37 PM   #1
Thatusr
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Rep: Reputation: 0
Unhappy Problem with Xchm viewer for linux


Hi!
i was trying to open my chm files on linux suse 10 using xchm viewer
installed all the needed packages by that application but after doing so i was not able to execute it
and when i tried to run it from the command line it show this error message
|~xchm: error while loading shared libraries: libwx_gtk2-2.4.so.0: cannot open shared object file: No such file or directory~|

Any suggestions how i can run it?
i doing a move from win to linux and i really need to open such files coz they are mostly books related to linux.
 
Old 01-21-2006, 01:52 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Have you got the WXGTK packages installed? If you use KDE, you can install kchmviewer via YAST.
 
Old 01-21-2006, 02:45 PM   #3
Thatusr
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Original Poster
Rep: Reputation: 0
at first i didn't have the needed packages by that viewer they were chmlib and wxgtk both been installed and i also installed the xchm but it wont run.. also tried to install install kchmviewer i didn't find it using yast or package pkg -warn //root/.kpackage/kchmviewer-1.3.tar.gz ;echo RESULT=$? sh: installpkg: command not found RESULT=127 thats the error message i see when trying to install it i downloaded the latest version of it but also no luck.. i think ill need to convert my chm files to pdf.. Thanks for replaying reddazz! well here is a screenshot when i opened yast
http://img529.imageshack.us/my.php?i...apshot14ez.png

Last edited by Thatusr; 01-21-2006 at 03:02 PM.
 
Old 01-21-2006, 04:04 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
I installed kchmviewer using YAST. I have all the Suse repos setup (including the GNOME and KDE supplementary) as well as packman and guru, so it maybe a good idea for you to do the same.
 
Old 01-21-2006, 09:12 PM   #5
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:
xchm: error while loading shared libraries: libwx_gtk2-2.4.so.0: cannot open shared object file: No such file or directory~
That's your problem. the version of wxGTK you have isn't 2.4. xchm is particular about the version of wxGTK. chances are you're using a higher version of wxGTK. If you want xchm to work, you're going to need to uninstall your wxGTK rpms and build wxGTK from source and compile it with support for older versions of wxGTK.
 
Old 01-22-2006, 02:59 AM   #6
arunvk
Member
 
Registered: Nov 2005
Location: India
Distribution: Fedora 11
Posts: 196

Rep: Reputation: 30
i dont know the solution to ur problem. but i do recommend that u install GnoChm viewer which is better than xchm.
 
Old 01-22-2006, 12:38 PM   #7
Thatusr
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Original Poster
Rep: Reputation: 0
nothing works...
thx everyone
 
Old 01-22-2006, 12:43 PM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Quote:
Originally Posted by Thatusr
nothing works...
thx everyone
In my post above, I mentioned that kchmviewer is in the Suse YAST repos. Did you set them up like I said and searched for kchmviewer?
 
Old 01-22-2006, 12:47 PM   #9
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:
Originally Posted by Thatusr
nothing works...
thx everyone
Have you tried compiling wxGTK?

http://prdownloads.sourceforge.net/w...K-2.6.2.tar.gz

then you can do something like:

./configure --prefix=/usr --enable-compat22 --enable-compat24

* use ./configure --help first to see all of the available options you might want to enable.

make
su

rpm -qa | grep wxGTK

* uninstall any rpms that start with wxGTK which will be 2 packages - wxGTK and wxGTK-devel

rpm -e wxGTK-devel wxGTK

* install the compiled wxGTK

make install


Now you can install xchm.

Last edited by megaspaz; 01-22-2006 at 12:51 PM.
 
Old 01-22-2006, 01:04 PM   #10
Thatusr
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Original Poster
Rep: Reputation: 0
ill try both suggestions
i m trying to install it from yesterday!
 
Old 01-22-2006, 01:31 PM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Take a look here if you are using the default KDE installation.
 
Old 01-22-2006, 02:01 PM   #12
Thatusr
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks reddazz it works!
h+tp://img501.imageshack.us/my.php?image=snapshot24qs.png
Thank u very much!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Anyone using xchm on Slackware? JockVSJock Slackware 19 02-08-2006 06:00 PM
xchm problem kb_ganesh Red Hat 0 07-24-2005 01:23 AM
PDF viewer problem tjd Fedora 3 09-16-2004 02:21 PM
xchm problem Nizzuri Linux - Newbie 5 08-16-2004 10:49 PM
xchm problem Nizzuri Linux - Software 1 08-15-2004 04:16 PM

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

All times are GMT -5. The time now is 04:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration