LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-28-2010, 04:35 PM   #1
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Rep: Reputation: 34
PCSX2 emulator error


I'm trying to install PCSX2 (PS2 emulator) and I get the following error:

./pcsx2: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

I've followed the instructions here http://pcsx2.net/downloads.php and believe I have all the dependencies installed.

My system has the following file:

/usr/lib/libgtk-x11-2.0.so.0

So I don't understand what the problem is.
 
Old 03-29-2010, 12:19 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The link, you provide, is down now, can't test the package.
Not finding /usr/lib/libgtk-x11-2.0.so.0 : May be a wrong
architecture, is your OS x86_64, 64 Bits AMD or similar ?

Building a new binary is easy : pcsx2/bin/pcsx2
http://ubuntuforums.org/showthread.php?t=631979

# apt-get install subversion libsdl1.2-dev libjpeg62-dev build-essential \
libgtk2.0-dev libxxf86vm-dev x11proto-xf86vidmode-dev automake1.9 \
libbz2-dev libasound-dev nvidia-cg-toolkit libglu1-mesa-dev libglew1.5-dev

exit

svn co https://pcsx2.svn.sourceforge.net/svnroot/pcsx2 pcsx2
cd pcsx2/ && sh build.sh all
.....
And just click pcsx2/bin/pcsx2
.....

Last edited by knudfl; 03-29-2010 at 06:42 AM.
 
Old 03-29-2010, 02:49 AM   #3
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Original Poster
Rep: Reputation: 34
> The link, you provide, is down now

Strange, works fine for me

> Not finding /usr/lib/libgtk-x11-2.0.so.0 : May be a wrong
> architecture, is your OS x86_64, 64 Bits AMD or similar ?

Ah thanks! That's it

> Building a new binary is easy : pcsx2/bin/pcsx2
> http://ubuntuforums.org/showthread.php?t=631979

Thanks I'll look into that.
 
Old 03-29-2010, 06:33 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Sorry, typo : The packages linked to
http://pcsx2.net/downloads.php
> > no luck.

'pcsx2' builds OK on a 64 Bit OS. Debian Etch was used.
( Using libglew-dev , version 1.3.4 ).
.....

Last edited by knudfl; 03-29-2010 at 06:36 AM.
 
Old 04-15-2010, 03:09 PM   #5
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Original Poster
Rep: Reputation: 34
I'm trying to compile this on Fedora 12. I believe I have all of the dependencies apart from:

opengl
libbz2
libasound-dev
x11proto-xf86vidmodeautomake

... which do not seem to be in my repositories (under those names at least). Are they called something different in Fedora?

Thanks
 
Old 04-16-2010, 03:27 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@ jsteel , post # 5.
svn co https://pcsx2.svn.sourceforge.net/svnroot/pcsx2 pcsx2

Fedora 12 : # yum install \
bzip2-devel glew-devel mesa-libGL-devel mesa-libGLU-devel \
mesa-libGLw-devel mesa-libOSMesa-devel alsa-lib-devel \
Cg libXxf86vm-devel xorg-x11-proto-devel libX11-devel \
xorg-x11-xtrans-devel
.....

And : cd pcxs/ && sh build.sh all → no errors.
.....
 
Old 04-16-2010, 07:05 AM   #7
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Original Poster
Rep: Reputation: 34
Thanks, that's great. I have it installed now. When I choose Run CD I get the following:

Error Opening GS Plugin

ZeroGS: creating
ZeroGS: Got Doublebuffered Visual!
ZeroGS: glX-Version 1.4
ZeroGS: Depth 24
ZeroGS: you have Direct Rendering!
ZeroGS: ******
ZeroGS: GS WARNING: Floating point render targets not supported, switching to 32bit
ZeroGS: *********
ZeroGS: Disabling MRT depth writing

When I "test" the plugins they all say they seem fine.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing PCSX2 on Ubuntu via terminal TylerJTF2 Linux - Software 3 12-02-2009 02:05 PM
GS Plugin error with Pcsx2 fakie_flip Linux - Games 2 11-02-2009 03:59 PM
PCSX2 Install Terminal Building Error fedorauser15 Linux - Software 8 06-30-2008 09:30 AM
Pcsx2 Cant Choose Plugins Directory fakie_flip Linux - Games 5 12-03-2007 09:32 AM
Can't compile PCSX2 - please help Lord_Grave Linux - Software 6 06-02-2007 05:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:23 PM.

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