Emuforums.com

Go Back   Emuforums.com > PSX Emulation > ePSXe Discussion > Generic ePSXe Queries
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

WON'T YOU JOIN US?
You are not a registered member and
are viewing this site as a guest.
Registration is simple and FREE.
Join this CrowdGather community today.
Registration offers the following perks:

» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging

join

Reply
 
Thread Tools Display Modes
Old March 30th, 2006, 22:49   #1
yuna49
Registered User
 
Join Date: Mar 2006
Location: America
Posts: 1
Dependency issues

LINUX

Apparently either epxse or some of the common plugins require libbz2.so.1.0. Unfortunately on my Fedora Core 5 system the only libbz is libbz2.so.1.0.3. I tried the usual trick of symlinking the libbz2.so.1.0.3 to libbz2.so.1.0, but that didn't work (even after running ldconfig just to make sure).

What's the status with source code for these items? If I can't rebuild from source, do you have any other suggestions?

The best solution would be for all these programs to be built statically so there wouldn't be any dependency issues at all.

Peter
yuna49 is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old May 7th, 2006, 18:12   #2
semicolon
Registered User
 
Join Date: Apr 2006
Location: T
Posts: 2
I also use Fedora Core 5 and I can run epsxe. This is the output from "for f in $(locate libbz2); do ls -l $f; done".

-rwxr-xr-x 1 root root 69142 Feb 11 01:24 /usr/lib/libbz2.a
lrwxrwxrwx 1 root root 11 Mar 25 14:45 /usr/lib/libbz2.so -> libbz2.so.1
lrwxrwxrwx 1 root root 15 Mar 25 14:43 /usr/lib/libbz2.so.1 -> libbz2.so.1.0.3
-rwxr-xr-x 1 root root 67784 Feb 11 01:24 /usr/lib/libbz2.so.1.0.3
semicolon is offline   Reply With Quote
Old May 22nd, 2006, 05:26   #3
Proto
Knowledge is the solution
 
Proto's Avatar
 
Join Date: Dec 2002
Location: Pittsburgh, US. Previously in Mexico City
Posts: 7,160
I ran under the same problem, what I did was simlinking /usr/liblibbz2.so.1.0.3 to /lib/libbz2.so.1.0, however soon after I had this problem with mooby plugin

plugins/libcdrmooby-2.8.so: undefined symbol: XftDrawSetClip

I deleted it just to see if I could go a little further but it gave me the following error

libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory

Installing the compat libraries compat-libstdc++-296-2.96-135 from ftp://fr2.rpmfind.net/linux/fedora/c...6-135.i386.rpm

solved that...

Well then, when I finally playing my game (I tested with Star Ocean 2, the second story), the application gives the following memory dump with Pete's XGL2 plugin

./epsxe
* Running ePSXe emulator version 1.6.0.
* Memory handlers init.
* ePSXe: PSX BIOS loaded [/home/proto/Desktop/epsxe/bios/SCPH1001.BIN].
* Loading ISO Format [BIN/IMG2352] (+subchannel) ok
* NTSC cdrom detected.
* Init gpu[0][libgpuPeteXGL2.so.2.0.8]
Error: couldn't get fbconfig
Segmentation fault


And running PEOPS 1.17 gives the following memory trace


./epsxe
* Running ePSXe emulator version 1.6.0.
Xlib: extension "XFree86-VidModeExtension" missing on display ":0.0".

Gtk-CRITICAL **: file gtkcombo.c: line 849 (gtk_combo_set_popdown_strings): assertion `strings != NULL' failed.
* Memory handlers init.
* ePSXe: PSX BIOS loaded [/home/proto/Desktop/epsxe/bios/SCPH1001.BIN].
* Loading ISO Format [BIN/IMG2352] (+subchannel) ok
* NTSC cdrom detected.
* Init gpu[0][libgpuPeopsSoftX.so.1.0.17]
Xlib: extension "XFree86-VidModeExtension" missing on display ":0.0".
*** glibc detected *** ./epsxe: munmap_chunk(): invalid pointer: 0x007c725b ***
======= Backtrace: =========
/lib/libc.so.6(__libc_free+0x17b)[0x16851f]
/usr/lib/libX11.so.6(XFree+0x1d)[0x2739dd]
plugins/libgpuPeopsSoftX.so.1.0.17(CreateDisplay+0xda)[0x70711a]
======= Memory map: ========
00101000-0022d000 r-xp 00000000 fd:00 1543729 /lib/libc-2.4.so
0022d000-00230000 r--p 0012b000 fd:00 1543729 /lib/libc-2.4.so
00230000-00231000 rw-p 0012e000 fd:00 1543729 /lib/libc-2.4.so
00231000-00234000 rw-p 00231000 00:00 0
00236000-0032f000 r-xp 00000000 fd:00 1731605 /usr/lib/libX11.so.6.2.0
0032f000-00333000 rw-p 000f9000 fd:00 1731605 /usr/lib/libX11.so.6.2.0
0040e000-0041e000 r-xp 00000000 fd:00 1543733 /lib/libpthread-2.4.so
0041e000-0041f000 r--p 0000f000 fd:00 1543733 /lib/libpthread-2.4.so
0041f000-00420000 rw-p 00010000 fd:00 1543733 /lib/libpthread-2.4.so
00420000-00422000 rw-p 00420000 00:00 0
00424000-00428000 r-xp 00000000 fd:00 1731609 /usr/lib/libXfixes.so.3.0.0
00428000-00429000 rw-p 00003000 fd:00 1731609 /usr/lib/libXfixes.so.3.0.0
00431000-0043a000 r-xp 00000000 fd:00 1731610 /usr/lib/libXcursor.so.1.0.2
0043a000-0043b000 rw-p 00008000 fd:00 1731610 /usr/lib/libXcursor.so.1.0.2
0043d000-00454000 r-xp 00000000 fd:00 1731615 /usr/lib/libICE.so.6.3.0
00454000-00455000 rw-p 00016000 fd:00 1731615 /usr/lib/libICE.so.6.3.0
00455000-00457000 rw-p 00455000 00:00 0
00459000-00461000 r-xp 00000000 fd:00 1731616 /usr/lib/libSM.so.6.0.0
00461000-00462000 rw-p 00008000 fd:00 1731616 /usr/lib/libSM.so.6.0.0
00464000-0046f000 r-xp 00000000 fd:00 1543734 /lib/libgcc_s-4.1.0-20060304.so.1
0046f000-00470000 rw-p 0000a000 fd:00 1543734 /lib/libgcc_s-4.1.0-20060304.so.1
004dc000-004dd000 r-xp 004dc000 00:00 0 [vdso]
004dd000-004f6000 r-xp 00000000 fd:00 1543309 /lib/ld-2.4.so
004f6000-004f7000 r--p 00018000 fd:00 1543309 /lib/ld-2.4.so
004f7000-004f8000 rw-p 00019000 fd:00 1543309 /lib/ld-2.4.so
00556000-00596000 r-xp 00000000 fd:00 1707809 /usr/lib/libncurses.so.5.5
00596000-0059e000 rw-p 00040000 fd:00 1707809 /usr/lib/libncurses.so.5.5
0059e000-0059f000 rw-p 0059e000 00:00 0
005f0000-005f4000 r-xp 00000000 fd:00 1806205 /usr/lib/gtk/themes/engines/libraleigh.so
005f4000-005f5000 rw-p 00003000 fd:00 1806205 /usr/lib/gtk/themes/engines/libraleigh.so
006cb000-006f4000 r-xp 00000000 fd:00 1708247 /usr/lib/libglib-1.2.so.0.0.10
006f4000-006f5000 rw-p 00028000 fd:00 1708247 /usr/lib/libglib-1.2.so.0.0.10
006f5000-007c8000 r-xp 00000000 fd:00 1638975 /home/proto/Desktop/epsxe/plugins/libgpuPeopsSoftX.so.1.0.17
007c8000-007ca000 rw-p 000d2000 fd:00 1638975 /home/proto/Desktop/epsxe/plugins/libgpuPeopsSoftX.so.1.0.17
007ca000-0084b000 rw-p 007ca000 00:00 0
00a5c000-00a5e000 r-xp 00000000 fd:00 1714497 /usr/lib/libgmodule-1.2.so.0.0.10
00a5e000-00a5f000 rw-p 00001000 fd:00 1714497 /usr/lib/libgmodule-1.2.so.0.0.10
00a61000-00a9d000 r-xp 00000000 fd:00 1708245 /usr/lib/libgdk-1.2.so.0.9.1
00a9d000-00a9e000 rw-p 0003c000 fd:00 1708245 /usr/lib/libgdk-1.2.so.0.9.1
00aa0000-00bfa000 r-xp 00000000 fd:00 1722607 /usr/lib/libgtk-1.2.so.0.9.1
00bfa000-00c01000 rw-p 00159000 fd:00 1722607 /usr/lib/libgtk-1.2.so.0.9.1
00c01000-00c02000 rw-p 00c01000 00:00 0
00d6a000-00d8d000 r-xp 00000000 fd:00 1543730 /lib/libm-2.4.so
00d8d000-00d8e000 r--p 00022000 fd:00 1543730 /lib/libm-2.4.so
00d8e000-00d8f000 rw-p 00023000 fd:00 1543730 /lib/libm-2.4.so
00d91000-00d93000 r-xp 00000000 fd:00 1543731 /lib/libdl-2.4.so
00d93000-00d94000 r--p 00001000 fd:00 1543731 /lib/libdl-2.4.so
00d94000-00d95000 rw-p 00002000 fd:00 1543731 /lib/libdl-2.4.so
00d97000-00da9000 r-xp 00000000 fd:00 1731596 /usr/lib/libz.so.1.2.3
00da9000-00daa000 rw-p 00011000 fd:00 1731596 /usr/lib/libz.so.1.2.3
00dac000-00db1000 r-xp 00000000 fd:00 1731604 /usr/lib/libXdmcp.so.6.0.0
00db1000-00db2000 rw-p 00004000 fd:00 1Aborted


With the mesa one it gives the following output before crashing

And the following with the Mesa one

./epsxe
* Running ePSXe emulator version 1.6.0.
* Memory handlers init.
* ePSXe: PSX BIOS loaded [/home/proto/Desktop/epsxe/bios/SCPH1001.BIN].
* Loading ISO Format [BIN/IMG2352] (+subchannel) ok
* NTSC cdrom detected.
* Init gpu[0][libgpuPeteMesaGL.so.1.0.76]
NVIDIA Corporation
GeForce Go 7800/PCI/SSE2
* Open gpu[0]
* Init spu[0][libspuEternal.so.1.41]
* Open spu[0]
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

Well nice, with the mesa one it gets past the GPU plugin, maybe switching the SPU will solve the problem I thought, but when running the PEOPS sound plugin

./epsxe
* Running ePSXe emulator version 1.6.0.
* Memory handlers init.
* ePSXe: PSX BIOS loaded [/home/proto/Desktop/epsxe/bios/SCPH1001.BIN].
* Loading ISO Format [BIN/IMG2352] (+subchannel) ok
* NTSC cdrom detected.
* Init gpu[0][libgpuPeteMesaGL.so.1.0.76]
NVIDIA Corporation
GeForce Go 7800/PCI/SSE2
* Open gpu[0]
* Init spu[0][libspuPeopsOSS.so.1.0.8]
* Open spu[0]
Segmentation fault

It gave the previous error... any ideas?
Proto is offline   Reply With Quote
Old May 22nd, 2006, 18:06   #4
fireblaster_lyz
A Blast from the Past...
 
fireblaster_lyz's Avatar
 
Join Date: Aug 2003
Location: Singapore
Posts: 1,942
Q017 Linuxでゲームを始めると"Segmentation faults"が発生する

A017 Prolly it's because of a buggy library loader with certain distros (ReadHat/Mandrake - pthread/nVidia driver issue). Get another distro, or try to use a NULL spu plugin, or try a different pthread library (see the Mesa plugin readme for details).(Linuxに詳しい人に訳は不要でしょう)
__________________
Regards,
fireblaster_lyz

Plugin(s) Configuration:
ePSXe
Pete's OpenGL GPU v2.7 | Eternal SPU v1.41 | P.E.O.p.S CDR Plugin

Plugin(s) Links:
Pete's Bernert

Configuration Guides:
Troubleshooting FAQ (READ ME FIRST)
Kane

General Configuration Guide (in Japanese)
Click here.

fireblaster_lyz is offline   Reply With Quote
Old May 22nd, 2006, 21:12   #5
Proto
Knowledge is the solution
 
Proto's Avatar
 
Join Date: Dec 2002
Location: Pittsburgh, US. Previously in Mexico City
Posts: 7,160
Well, certainly I understand enough japanese to know what you are writing there but... why are you quoting from the jap README anyway?

Quote:
Get another distro
Reinstalling your operating system just to get a certain app working doesn't seem to be a really efficient solution to me

Quote:
Prolly it's because of a buggy library loader with certain distros (ReadHat/Mandrake - pthread/nVidia driver issue).
I'm using the official nVidia drivers here (not the ones my distro packaged with) so I don't think that's the case here....


Quote:
or try to use a NULL spu plugin
Unfortunately the Linux distro doesn't count with a NULL spu plugin... will the windows one work here? And anyway I don't think cutting it off counts as a real solution...

Im starting to think it has something to do with Fedora basing its sound system on the ALSA engine instead of the obsolete OSS one (which seems to be the one the plugins uses...)

EDIT: Well, downloaded the peops sources and compiled it with ALSA support... however it seems I changed something within the gpu plugin settings and now it doesn't even want to start with the Mesa plugin... aw well... tweaking time I guess >.<
EDIT2: For the record, there is a null spu plugin for linux, but it is not listed on ngmu linux sound plugin list
EDIT3: It seems my card drivers were at fault indeed, so I took the chance to update my kernel as well and install the new video card modules... and the emu is working now... now the problem will be to set up my wireless and sound card again >.<
EDIT4: argh... since the kernel was too new and some updates for my modules hadn't been updated yet I had dropped back to my previous kernel and just reinstalled the video card drivers... but it dropped back to the segmentation fault errors... so I guess it really as an error with the 2.6.16-1.2096 kernel module

Last edited by Proto; May 23rd, 2006 at 02:29..
Proto is offline   Reply With Quote
Reply

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 +1. The time now is 23:21.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.