..:: PCSX2 Forums ::..

Full Version: [Howto] PCSX2 on AMD64 Ubuntu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
OK so I know some of us AMD64 users have been having trouble with 0.9.6 and by read some threads everyone was saying run a 32bit chroot which in my opinion is a little overkill so I found a better way to do and in the spirit of open source I'm sharing it with you. Smile

This is wrote with Ubuntu in mind but I'm sure if you change the packages to your package manager system it will work just the same.

First you need to download the Linux version of PCSX2 from the website and unpack:

Code:
# tar zxvf PCSX2_0.9.6_linux.tar.gz
# cd pcsx2/

Next lets meet all the needed dependences:

Code:
# sudo apt-get install libxxf86vm-dev x11proto-xf86vidmode-dev automake1.9 libbz2-dev libasound-dev nvidia-cg-toolkit libglu1-mesa-dev libglew1.5-dev;

Running PCSX2 now will result in the program running but not being able to show and graphic output due to the hard coding of looking for some 32bit libs so now we are going copy over some of the need libs.

Download the needed files:

Code:
# mkdir tmp
# cd tmp/
# wget http://mirrors.kernel.org/ubuntu/pool/main/g/glew/libglew1.5_1.5.0dfsg1-3ubuntu1_i386.deb
# wget http://mirrors.kernel.org/ubuntu/pool/main/g/glew/libglew1.5-dev_1.5.0dfsg1-3ubuntu1_i386.deb
# wget http://developer.download.nvidia.com/cg/Cg_2.1/2.1.0017/Cg-2.1_February2009_x86.tgz

Now we can extract the files:

Code:
# dpkg -x libglew1.5_1.5.0dfsg1-3ubuntu1_i386.deb .
# dpkg -x libglew1.5-dev_1.5.0dfsg1-3ubuntu1_i386.deb .
# tar zxvf Cg-2.1_February2009_x86.tgz

Next we need to copy the libraries to the lib32 directory:

Code:
# sudo cp usr/lib/* /usr/lib32/

Lets do a little clean up:

Code:
# cd ..
# rm -r tmp/
# rm ../PCSX2_0.9.6_linux.tar.gz

OK now run PCSX2:

Code:
# ./pcsx2

Now you will see everything works as normal.

Hope this helps you guys.
Thanks, I was having trouble with PCSX2 not recognizing the plugins. Your post fixed everything. Smile
fix the url bbcode (remove the quotation marks) and also remove the "[/code]" Tongue
There you go fixed Tongue and I'm glad you found it helpful.
i get this error message



./pcsx2: error while loading shared libraries: libwx_gtk2u_adv-2.8.so.0: cannot open shared object file: No such file or directory
Probably because this is almost a 2 year old thread, so none of that still applies...you can check the linux compile guide/notes here: http://code.google.com/p/pcsx2/wiki/Chro...tatusLinux
Just for information: you have an error because you does have wxwidget 32BITS library.

Read the previous link to have more details how to install properly.

Note the idea of this thread is valid but do not blame anyone if you made somethings bad to your system.
The idea is : download 32bits ubuntu package, extract them, copy the 32bits library into /usr/lib32

For the moment debian is freeze, so the target to improve the situation is ubuntu 11.04
hey can anyone post how to do this on fedora 64 bit or any rpm linux in general i am having trouble running it on my system, thanks
If you are not afraid to spend some time to build PCSX2, I can help you.

Let's make a deal, you help me to create an howto for fedora 64 bits and to improve cmake support. Then in exchange, I support you to build PCSX2 and plugins.

First you can look http://code.google.com/p/pcsx2/wiki/Comp...deForLinux
-> look at debian package name and try to install all ia32 developpement libs in fedora. Please told me what you install
-> Remove the fatal error on cmake
-> try to run cmake. Look if there any error. Then try to run make pcsx2
The solution by immolo worked just fine for me, thanks a lot. But let me contribute a small modification so that your /usr/lib32 directory remains intact.

Follow immolo's guide and stop right before running the command
Code:
# sudo cp usr/lib/* /usr/lib32/

Now, provided you're under the 'tmp' directory, do the following:
Code:
# mv usr ..
# cd ..
# rm -rf tmp
# echo "env LD_LIBRARY_PATH=\"usr/lib/:/usr/lib32/:\$LD_LIBRARY_PATH\" ./pcsx2" > pcsx2-32.sh
# chmod +x pcsx2-32.sh

Now everytime you want to run pcsx2, all you have to do is execute the new script pcsx2-32.sh

Code:
# ./pcsx2-32.sh

This way you don't have to mess with the system's directories.

Hope it helps.

(03-14-2009, 01:44 PM)immolo Wrote: [ -> ]OK so I know some of us AMD64 users have been having trouble with 0.9.6 and by read some threads everyone was saying run a 32bit chroot which in my opinion is a little overkill so I found a better way to do and in the spirit of open source I'm sharing it with you. Smile

This is wrote with Ubuntu in mind but I'm sure if you change the packages to your package manager system it will work just the same.

First you need to download the Linux version of PCSX2 from the website and unpack:

Code:
# tar zxvf PCSX2_0.9.6_linux.tar.gz
# cd pcsx2/

Next lets meet all the needed dependences:

Code:
# sudo apt-get install libxxf86vm-dev x11proto-xf86vidmode-dev automake1.9 libbz2-dev libasound-dev nvidia-cg-toolkit libglu1-mesa-dev libglew1.5-dev;

Running PCSX2 now will result in the program running but not being able to show and graphic output due to the hard coding of looking for some 32bit libs so now we are going copy over some of the need libs.

Download the needed files:

Code:
# mkdir tmp
# cd tmp/
# wget http://mirrors.kernel.org/ubuntu/pool/main/g/glew/libglew1.5_1.5.0dfsg1-3ubuntu1_i386.deb
# wget http://mirrors.kernel.org/ubuntu/pool/main/g/glew/libglew1.5-dev_1.5.0dfsg1-3ubuntu1_i386.deb
# wget http://developer.download.nvidia.com/cg/Cg_2.1/2.1.0017/Cg-2.1_February2009_x86.tgz

Now we can extract the files:

Code:
# dpkg -x libglew1.5_1.5.0dfsg1-3ubuntu1_i386.deb .
# dpkg -x libglew1.5-dev_1.5.0dfsg1-3ubuntu1_i386.deb .
# tar zxvf Cg-2.1_February2009_x86.tgz

Next we need to copy the libraries to the lib32 directory:

Code:
# sudo cp usr/lib/* /usr/lib32/

Lets do a little clean up:

Code:
# cd ..
# rm -r tmp/
# rm ../PCSX2_0.9.6_linux.tar.gz

OK now run PCSX2:

Code:
# ./pcsx2

Now you will see everything works as normal.

Hope this helps you guys.

Pages: 1 2 3 4