View Full Version : For all you Linux gurus...
Dark_Cloud
02-28-2006, 09:11 AM
Ok, I have a problem here. Ahwile ago I was forced to switch to linux because my computer died and I had no money to buy windows. I installed Ubuntu v5.10 and it was working pretty good. Over the course of learning how to use linux, I skrewed up my computer pretty bad. It was to the point that it froze very often. Well, I pretty much learned how to install every program I wanted. So I thought it would be a good idea to format my HD and install the OS again so that all the crap I did while trying to figure stuff out would disapear, and since I knew how to install all the programs, I wouldn't skrew anything up.
Well, I was wrong. I have a whole new set of problems.
I was trying to install epsxe. I thought I remembered how to do it. When I excecuted the program, nothing would happen. So I ran it in terminal, and it said I was missing libgtk-1.2.so.0. So I found the closest that had that name (libgtk-x11-2.0.so.0.800.6) and made a symbolic link to it and renamed it to the file that that program asked for. So then it asked for other names of files, and I did pretty much the same thing as I did the first time. I'm pretty sure this is exactly what I did the first time when I successfully installed epsxe. However, it worked the last time. This time, no such luck. I get a error message that says "gtk_type_check_object_cast". I have no idea what this error message means. Obviously I tried to google it, but that was no help.
So yeah, if anyone understood any of what I just said and has some suggestions, then that would be great.
Loomer
02-28-2006, 10:56 AM
I was missing libgtk-1.2.so.0. So I found the closest that had that name (libgtk-x11-2.0.so.0.800.6) and made a symbolic link to it and renamed it to the file that that program asked for.
Those files are for 2 diff packages (not diff versions of the same package).
Undo all that symbolic link crap if you can, and install "libgtk" (diff from libgtk-x11) since it probably was not installed and see if that works.
Or you can reinstall Ubuntu making sure libgtk is installed.
EDIT: I just noticed So I thought it would be a good idea to format my HD and install the OS again so that all the crap I did while trying to figure stuff out would disapear
Dependencies. Some apps require other apps to work.
Garfunkel
02-28-2006, 11:37 AM
maybe when you were installing stuff you left out a dependancy.....
WolfmanNCSU
02-28-2006, 01:05 PM
You are getting a Type Cast because even though you have a file of the same name, they are of different object types.
It sounds to me what everyone else said, you are just missing something that should be installed first. Hope this helps.
BugenhagenXIII
02-28-2006, 02:16 PM
To be more specific, you need libgtk1.2-common and libgtk1.2 .
Loomer was right when he said they weren't insalled; just do a
sudo apt-get install libgtk1.2-common libgtk1.2
If it still doesn't work, try undoing what you've done and follow this (http://ubuntuforums.org/showthread.php?t=95835) how-to.
Coded-Dude
02-28-2006, 06:11 PM
sorry I'm late......^ what these guys said....good luck
Dark_Cloud
02-28-2006, 10:50 PM
Haha, wow. So not only was I supposed to remember how to install all of the apps, I had to remember the exact order that I did it in? I guess I must have unwittingly installed the libgtk during the process of installing something else.
Ah, linux will be the death of me...
BugenhagenXIII
03-01-2006, 12:51 AM
Usually you don't have to manually install dependencies, apt/synaptic does it for you, provided what you want to install is in the repositories. If it's not, the site you download it from should list dependencies somewhere. Or when you do
./configure
it'll tell you if you're missing dependencies.
The way you install epsxe is very different from normal installation.
Dark_Cloud
03-01-2006, 01:12 AM
Yeah well, it's giving me problem again. The emulator opens just like it will work, and I can configure all my plugins and stuff. However, when I go to run CD Rom, it give me this error:
* Running ePSXe emulator version 1.6.0.
* Memory handlers init.
* ePSXe: PSX BIOS loaded [/home/homer/Desktop/epsxe/bios/SCPH1001.BIN].
* Init internal cdrom ... ok
* First/Last track: 1 1
* Track 1: (DATA) - Start 0: (00,02,00)
* NTSC cdrom detected.
* Init gpu[0][libgpuPeteMesaGL.so.1.0.76]
Xlib: extension "GLX" missing on display ":0.0".
Failed to obtain visual!!!
Xlib: extension "GLX" missing on display ":0.0".
Gdk-ERROR **: BadColor (invalid Colormap parameter)
serial 8 error_code 12 request_code 79 minor_code 0
I tried using a different plugin, but it just says "Segmentation fault". Well, I gotta go out of town for a little while to work, so I can't figure this out by myself right now. Give me your best suggestions, and when I get back I'll try em. Thanks a lot guys.
Oh yeah, and I installed Nvidia Legacy Driver, and it supposedly had GLX support, open gl, and mesa. Not sure what any of that means, but it was written on my plugin, so I figured I needed it. Still doesnt work though.
Coded-Dude
03-01-2006, 01:20 AM
ensure that the "glx" module is indeed enabled/loaded in your relative X config file.
(Xf86Config, xorg.conf, etc.)
I have not seen this before, and would have to dig further for another viable solution
Will post more tomorrow(buyt someone will probably help you out in the meantime)
[EDIT]Also, what is your grapchis card, and what driver are you using?
Dark_Cloud
03-01-2006, 01:48 AM
Ah, I figured it out. I was just being retarded and forgot to enable the driver. Haha, well, you live and learn I guess. Thanks for all your help guys. Works awsome now.
WolfmanNCSU
03-01-2006, 02:15 PM
Excellent, welcome back to the PC world, HAHA
vBulletin® v3.6.7, Copyright ©2000-2008, Jelsoft Enterprises Ltd.