LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-22-2003, 03:13 PM   #1
james3mg
LQ Newbie
 
Registered: Jul 2003
Location: Arizona
Distribution: Redhat 9.0
Posts: 25

Rep: Reputation: 15
RPM dependancies


I downloaded an .rpm package I wish to use, but when I try to install it, it checks dependancies and says it needs but doesn't have:

libvgagl.so.1
libvga.so.1
libwx-gtk-2.3.so.2

I searched google, and can find what they do, but not how to get them. I looked on all three redhat cds, but still can't find these packages. How do I get them?

Thanks
Michael
 
Old 07-22-2003, 03:27 PM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
Enter one of the names in the search box at
http://www.rpmfind.net

Sometimes it can find the package that contains the files.
 
Old 07-22-2003, 03:46 PM   #3
james3mg
LQ Newbie
 
Registered: Jul 2003
Location: Arizona
Distribution: Redhat 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
ok, that took care of the first 2, but it can't find anything for

libwx_gtk-2.3.so.2

Any idea what this is or where I can find it?

Thanks
 
Old 07-22-2003, 04:01 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
wxGTK-2.3.3
 
Old 07-22-2003, 04:02 PM   #5
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Hi james3mg!!!

Yeah, dependancies are a big problem. That's why most of the peoples don't like rpm packages. Which program are you trying to install?. I mean, because, have you heard of apt-get?

http://freshrpms.net/

It's a program that download, check and install programs with all it's dependancies. If I was you, I'd give it a try. For example, let's suppose you want to install mplayer... you would only need to type

apt-get install mplayer

at the terminal. All needed packages would be downloaded and installed. Again, if you are planning to stick using rpm's, apt-get is your best shot. Otherwise, source compiling is more effective.
Well, it's just a tip. I remember how painfully it was to install rpm's

Good luck!
 
Old 07-23-2003, 09:45 AM   #6
james3mg
LQ Newbie
 
Registered: Jul 2003
Location: Arizona
Distribution: Redhat 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
GREAT...I'll give that a shot. Sounds perfect. Thanks so much

Michael
 
Old 07-23-2003, 02:07 PM   #7
james3mg
LQ Newbie
 
Registered: Jul 2003
Location: Arizona
Distribution: Redhat 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
OK, can't get apt-get to work. I installed the RPM (fortunately no unresolved dependacies this time), and it worked, because if I type apt-get on the commandline now, it gives me the switches.

Now the package I'm trying to install is on my zip drive as bochs-2.0.2.i386.rpm. If I type rpm -i bochs-2.0.2.i386.rpm, it tells me:

E: Couldn't find package libwx_gtk-2.3.so.2

So I type apt-get install bochs-2.0.2.i386.rpm, and it says it can't find bochs-2.0.2.i386.rpm. I typed man apt-get and find out you only type the name of the package after the install switch. So I type

apt-get install bochs

and it says

E: Can't find package bochs.

What am I doing wrong?
 
Old 07-23-2003, 02:28 PM   #8
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
You are doing just fine . Well, I would make a wild guess that you need to install wxGTK-devel to get bochs to work. Try installing wxGTK-devel and run again:

rpm -ivh bochs-2.0.2.i386.rpm

There's one more tip for apt-get. As you see, apt-get is a command line tool. There's a nice graphical tool for it called synaptic. Type at the console:

apt-get install synaptic

You can run synaptic typing synaptic at the terminal. You need to have root permissions for it. This cool tool allows you too install/remove packages and general softwares to your machine and all possibles packages to download and install thru it downloading from internet (just as apt-get, but graphicaly). When you try to install an rpm that you've got from internet, and get an error message as yours above:

libwx_gtk-2.3.so.2

I use synaptic to "try" to find what it's missing. I then typed the hole message (libwx_gtk-2.3.so.2) no results. Then I've changed a little... typed only libwx, then only gtk, till I find something that possible would match what you need. Again, my wild guess was/is to install wxGTK-devel.

Unfortunately, you can't install bochs via synaptic/apt-get ( At least, I did not find any package). So you have not done anything wrong. (although apt-get is outstanding program, not all packages are available). Anyway, it is always good to have synaptic installed to find possible missing matches and maintain a system fully operational and indeed, upgrade packages and install new programs thru it. So get synaptic and check to see if any programs (including games and emulators as gxmame...ghehe) are of interesting to you. Plus, update your distro, packages and apt-get/synaptic itselfs.

Another good way to find which package you are missing out, is to type the full error message at google as:

E: Couldn't find package libwx_gtk-2.3.so.2

It'll return possible matches to fix your missing packages. Any problem, let me know.
Good luck

Last edited by Mega Man X; 07-23-2003 at 02:38 PM.
 
Old 07-23-2003, 02:37 PM   #9
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
@ DrOzz

Oops...

You've already suggested wxGTK-2.3.3. Sorry buddy, I didn't see you've written it already. At least, I'm glad that I was not out of spot .
 
Old 07-23-2003, 02:45 PM   #10
james3mg
LQ Newbie
 
Registered: Jul 2003
Location: Arizona
Distribution: Redhat 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
When I type apt-get install synaptic, it says E: Couldn't find package synaptic. Do I have a bad install of apt-get?
 
Old 07-23-2003, 02:51 PM   #11
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Odd... if you've typed really correctly, it should install...

apt-get install synaptic

anyway, try this before:

apt-get update

then

apt-get upgrade

This would upgrade and update some packages, including apt-get itselfs. Try once again apt-get install synaptic and let me know, thanks
 
Old 07-23-2003, 02:59 PM   #12
james3mg
LQ Newbie
 
Registered: Jul 2003
Location: Arizona
Distribution: Redhat 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
ok, well it's working on the upgrade part now...it says 20 minutes left. In the mean time however, I've installed several wxGTK-devel rpms, most failed, one worked (wxGTK-2.4.0...none of the devels worked). However, I still get the same module missing error when installing bochs. I guess I'll see what happens after I upgrade apt-get?
 
Old 07-23-2003, 03:04 PM   #13
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Let's think positive and cross our fingers . You know, we both are online and many others... Just a suggestion to the webmaster... This forum could have an online chat . Would be nice to have a real time support + debates on SCO and others. Perhaps I should write this to jeremy
 
Old 07-23-2003, 03:25 PM   #14
james3mg
LQ Newbie
 
Registered: Jul 2003
Location: Arizona
Distribution: Redhat 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
The install of synaptic appears to have worked. Now to get bochs working. How can I use synaptec or apt-get to do this? apt-get install wxGTK-2.3.3 doesn't do anything.

Last edited by james3mg; 07-23-2003 at 03:29 PM.
 
Old 07-23-2003, 03:30 PM   #15
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
GREAT. no no, try running first:

synaptic

That will open synaptic. Note that synaptic has a search tab called "Find package". Type now into find package path:

wxGTK

You will actually get an even newer version (2.4.1 I think).
 
  


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
Problems with Apt, RPM and Dependancies in Redhat 9 Rounan Linux - Software 9 04-13-2008 09:55 AM
RPM Circular Dependancies - Another Way? Kilo Linux - General 3 02-19-2004 11:35 AM
rpm says missing dependancies but I do have the files davoman Linux - Software 7 11-25-2003 06:16 AM
RPM dependancies are met, but... bestmehr Linux - General 3 11-14-2003 03:07 PM
rpm dependancies j-charles Linux - Newbie 1 09-26-2001 11:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:06 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