Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old October 26th, 2007   #171
Felson
Gee! These Aren't Roasted!
 
Felson's Avatar
 
Join Date: Sep 2007
Location: Canada
Beans: 214
Ubuntu 7.10 Gutsy Gibbon
Re: Install ePSXe Playstation Emulator

More info on the gutsy ePSXe problem.
ePSXe is NOT staticly linked, it is compresses useing "upx"
if you install the upx package from the repositories, you can run
Code:
cp epsxe epsxe_bak
upx -d epsxe
an you will get the "real" executable.
now, if you run ldd the un-compressed file, you get
Code:
:-> ldd epsxe
        linux-gate.so.1 =>  (0xffffe000)
        libncurses.so.5 => /lib32/libncurses.so.5 (0xf7eb1000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf7ead000)
        libXt.so.6 => /usr/lib32/libXt.so.6 (0xf7e5b000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf7e46000)
        libgtk-1.2.so.0 => not found
        libgdk-1.2.so.0 => not found
        libgmodule-1.2.so.0 => not found
        libglib-1.2.so.0 => not found
        libXi.so.6 => /usr/lib32/libXi.so.6 (0xf7e3d000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7e2f000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7d3e000)
        libm.so.6 => /lib32/libm.so.6 (0xf7d19000)
        libc.so.6 => /lib32/libc.so.6 (0xf7bcf000)
        /lib/ld-linux.so.2 (0xf7f0c000)
        libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7bc6000)
        libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7bae000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7bab000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7ba6000)
Now I thought that the ia32-libs had the gtk stuff in it, but it doesn't.
I haven't yet tried getting/extracting the i386 debs yet, but I am going to give that a shot. I searched through the libs, and didn't find a package that has the 32bit libs for those, if someone knows which lib it is, if there is one, please let me know.
Felson is offline   Reply With Quote
Old October 26th, 2007   #172
Felson
Gee! These Aren't Roasted!
 
Felson's Avatar
 
Join Date: Sep 2007
Location: Canada
Beans: 214
Ubuntu 7.10 Gutsy Gibbon
Re: Install ePSXe Playstation Emulator

WORKED!!!!
Well, I think it did anyway. epsxe loads, but I haven't run any games yet, because I am still at work....

The key things are:
1) It can't be run compressed. Some bug?? My guess, is 32bit compressed app on 64 bit OS.
2) You need the missing libs.

Anywho, here is a quick "how-to". As stated in the last post, If you know which lib these "should" be in in the Ubuntu 64bit distro, please let me know.

Code:
sudo aptitude install upx-ucl-beta
cd /path/to/epsxe
cp epsxe epsxe_bak
upx -d epsxe
It seems that some people have the libs already, so if you do, you don't need to do the second part. To check if you need the libs, us ldd.
Code:
ldd epsxe
If you see missing libs, keep reading, if not, you are done.

Code:
cd ~
mkdir tmp_libs
cd tmp_libs
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/gtk+1.2/libgtk1.2_1.2.10-18_i386.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/glib1.2/libglib1.2_1.2.10-17build1_i386.deb
sudo dpkg -x libgtk1.2_1.2.10-18_i386.deb .
sudo dpkg -x libglib1.2_1.2.10-17build1_i386.deb .
cd usr/lib/
if you don't have a "/usr/lib32" dir run, else skip aptitude, and read on to the next block
Code:
sudo  aptitude install ia32-libs
Code:
sudo cp * /usr/lib32/
cd ../../../
sudo rm -rf tmp_libs

Last edited by Felson; October 27th, 2007 at 05:34 PM..
Felson is offline   Reply With Quote
Old October 26th, 2007   #173
dfreer
Chocolate Ubuntu Mocha Blend
 
dfreer's Avatar
 
Join Date: Jan 2006
Beans: 1,842
Ubuntu 7.10 Gutsy Gibbon
Re: Install ePSXe Playstation Emulator

Quote:
Originally Posted by Felson View Post
Code:
:-> ldd epsxe
        linux-gate.so.1 =>  (0xffffe000)
        libncurses.so.5 => /lib32/libncurses.so.5 (0xf7eb1000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf7ead000)
        libXt.so.6 => /usr/lib32/libXt.so.6 (0xf7e5b000)
        libz.so.1 => /usr/lib32/libz.so.1 (0xf7e46000)
        libgtk-1.2.so.0 => not found
        libgdk-1.2.so.0 => not found
        libgmodule-1.2.so.0 => not found
        libglib-1.2.so.0 => not found
        libXi.so.6 => /usr/lib32/libXi.so.6 (0xf7e3d000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7e2f000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7d3e000)
        libm.so.6 => /lib32/libm.so.6 (0xf7d19000)
        libc.so.6 => /lib32/libc.so.6 (0xf7bcf000)
        /lib/ld-linux.so.2 (0xf7f0c000)
        libSM.so.6 => /usr/lib32/libSM.so.6 (0xf7bc6000)
        libICE.so.6 => /usr/lib32/libICE.so.6 (0xf7bae000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7bab000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7ba6000)
Newer versions of these 32-bit libraries (specifically libgtk2.0-0 and libglib2.0) have been repackaged in the AMD64 package ia32-libs, available in the universe repository as seen here: http://packages.ubuntu.com/gutsy/libs/ia32-libs

AFAIK, they never repackaged the older version 1.2 libraries. In older versions of ubuntu like Dapper, ia32-libs and ia32-libs-gtk are separate packages btw. And ia32-libs-gtk only has libgtk2.0 and libglib2.0, as seen here:
http://packages.ubuntu.com/cgi-bin/s...ge=2&number=50
dfreer is offline   Reply With Quote
Old October 26th, 2007   #174
mekura
First Cup of Ubuntu
 
mekura's Avatar
 
Join Date: Oct 2007
My beans are hidden!
Ubuntu 7.10 Gutsy Gibbon
Talking Re: Install ePSXe Playstation Emulator

Quote:
Originally Posted by Felson View Post
More info on the gutsy ePSXe problem.
ePSXe is NOT statically linked, it is compressed using "upx"
if you install the upx package from the repositories, you can run
Code:
cp epsxe epsxe_bak
upx -d epsxe
and you will get the "real" executable.
Installing the 'upx-ucl' package through Synaptic and running the above code from within the ePSXe folder worked perfectly for me - Wipeout and Gran Turismo 2 are all I've tested so far.

BONUS: the "Run > Continue" menu option now works for me, instead of segfaulting like in Feisty.

Great news to find on a Friday! Thanks, Felson!
__________________
Quote:
<Aoi-chan> everyone's first vi session. ^C^C^X^X^X^XquitqQ!qdammit[esc]qwertyuiopasdfghjkl;: xwhat
mekura is offline   Reply With Quote
Old October 26th, 2007   #175
timbobsteve
5 Cups of Ubuntu
 
Join Date: Jul 2006
Beans: 31
Re: Install ePSXe Playstation Emulator

Hi All,

I downloaded the epsxe binaries and used the guide from the OP, the only modification was to use upx to extract the binary. Everything now works fine on my gutsy system!

-Timbobsteve
timbobsteve is offline   Reply With Quote
Old October 27th, 2007   #176
vlo
First Cup of Ubuntu
 
Join Date: Oct 2006
Beans: 5
Re: Install ePSXe Playstation Emulator

upx -d epsxe

Solved everything
__________________
AMD Athlon(tm) 64 X2 Dual Core Processor 4200+, 2 GB RAM, NVIDIA GeForce 7950GT, running Ubuntu Gutsy Gibbon 64-bit
vlo is offline   Reply With Quote
Old October 27th, 2007   #177
dfreer
Chocolate Ubuntu Mocha Blend
 
dfreer's Avatar
 
Join Date: Jan 2006
Beans: 1,842
Ubuntu 7.10 Gutsy Gibbon
Re: Install ePSXe Playstation Emulator

Looks like a good catch, Felson. How did you know to use that upx program to extract it?
dfreer is offline   Reply With Quote
Old October 27th, 2007   #178
@vijay@
Just Give Me the Beans!
 
@vijay@'s Avatar
 
Join Date: Jun 2007
Beans: 76
Re: Install ePSXe Playstation Emulator

i have done
udx -d epsxe
----------------------------------
vijay@vijay-desktop:~/Desktop/ePSXe$ upx -d epsxe
Ultimate Packer for eXecutables
Copyright (C) 1996,1997,1998,1999,2000,2001,2002,2003,2004,2005, 2006,2007
UPX 3.00 Markus Oberhumer, Laszlo Molnar & John Reiser Apr 27th 2007

File size Ratio Format Name
-------------------- ------ ----------- -----------
657368 <- 149019 22.67% linux/386 epsxe

Unpacked 1 file.
----------------------------------------------
but still no fonts in the application

and here is my out put of ldd ./epsxe
---------------------------------------
vijay@vijay-desktop:~/Desktop/ePSXe$ ldd ./epsxe
linux-gate.so.1 => (0xffffe000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb7f58000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f54000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xb7f02000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7eed000)
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0xb7db2000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0xb7d7c000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0xb7d79000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0xb7d53000)
libXi.so.6 => /usr/lib/libXi.so.6 (0xb7d4b000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7d3c000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7c4b000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7c26000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7adc000)
/lib/ld-linux.so.2 (0xb7fad000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb7ad4000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb7abc000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7ab8000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7ab3000)
------------------------------------------------
it looks like every dependencies are installed ,... whr is the problem???
Attached Images
File Type: jpg Screenshot.jpg (222.3 KB, 23 views)
@vijay@ is offline   Reply With Quote
Old October 27th, 2007   #179
Rinzwind
Dipped in Ubuntu
 
Join Date: Dec 2005
Location: The Netherlands
Beans: 617
Ubuntu 9.10 Karmic Koala
Re: Install ePSXe Playstation Emulator

I followed this guide but when I type
epsxe
the command prompt just returns
No notice whatsoever.

AFAICT I checked all the settings and did it perfectly

Any idea?

edit: it seems this is a +6
sorry missed the 2nd page. Same problem as many others ... Gutsy.

Felson: your code words.

2 things:
1. the dpkg need a location to extract to. Added a ' .' at the end of both lines.
2. /usr/lib32/ does not exist. I used /usr/lib
__________________
Hello, all my posts come without warranty

Last edited by Rinzwind; October 27th, 2007 at 07:03 AM..
Rinzwind is offline   Reply With Quote
Old October 27th, 2007   #180
dfreer
Chocolate Ubuntu Mocha Blend
 
dfreer's Avatar
 
Join Date: Jan 2006
Beans: 1,842
Ubuntu 7.10 Gutsy Gibbon
Re: Install ePSXe Playstation Emulator

Quote:
Originally Posted by Rinzwind View Post
2 things:
1. the dpkg need a location to extract to. Added a ' .' at the end of both lines.
2. /usr/lib32/ does not exist. I used /usr/lib
Ummm.... that isn't the greatest idea. Those are 32-bit libraries, and really don't belong in /usr/lib/. It may not cause you any problems right now, but it just isn't the proper solution (it's exactly what --force-architecture would've done). If you ever install the 64-bit versions of libgtk1.2 and libglib1.2, they will either overwrite the existing 32-bit libs, or won't install due to the existing files.

You can install ia32-libs, and that will install a majority of 32-bit libs in /usr/lib32/, both creating the directory for you and then running ldconfig properly. From the man page:
Quote:
ldconfig creates, updates, and removes the necessary links and cache
(for use by the run-time linker, ld.so) to the most recent shared
libraries found in the directories specified on the command line, in
the file /etc/ld.so.conf, and in the trusted directories (/usr/lib and
/lib).
dfreer is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 07:37 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry