Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PCSX2 for Fedora
The idea is to used the original wxwidget. But for the moment it is not important.

It seems to failed to load some symbols, that strange because symbols are standard (libc or libstd++). I do not have this issue on my system but myabe the reason why it complains about pre loading.

Edit: I think I need to link more libs during the build...

Edit: ok try to add this 2 lines after the add_library command
target_link_libraries(${Output} dl)
target_link_libraries(${Output} m)

Sponsored links

same result Sad

$ LD_PRELOAD="/home/rpmbuild/pcsx2-read-only/3rdparty/SDL-1.3.0-5387/" ~/pcsx2-read-only/bin/pcsx2-dbg
Interface is initializing.  Entering Pcsx2App::OnInit!
Applying operating system default language...
Command line parsing...
Command line parsed!
(UserMode) Found portable install ini @ /home/rpmbuild/pcsx2-read-only/bin/portable.ini
terminate called after throwing an instance of 'R5900Exception::TLBMiss'
Aborted (core dumped)
Hum, first try with a standard load, you will do preload later. Append the path to to the variable LD_LIBRARY_PATH. For example
export LD_LIBRARY_PATH="/mnt/playstation/emulateur/package/pcsx2.snapshot-4863/obj-x86_64-linux-gnu/3rdparty/SDL-1.3.0-5387:$LD_LIBRARY_PATH"
$ export LD_LIBRARY_PATH="/home/rpmbuild/pcsx2-read-only/3rdparty/SDL-1.3.0-5387:$LD_LIBRARY_PATH"
$ ./pcsx2-dbg
Interface is initializing.  Entering Pcsx2App::OnInit!
Applying operating system default language...
Command line parsing...
Command line parsed!
(UserMode) Found portable install ini @ /home/rpmbuild/pcsx2-read-only/bin/portable.ini
Releasing host memory maps for virtual systems...

Then a PCSX2 message box comes up:

"The configured GS plugin is not a valid dynamic library


Press Ok to go to the Plugin Confirmation Panel"

Hum, try to look at the log file it probably miss others symbol (glib ?). Note I do not use portable.ini file, might be the reason.
(08-15-2011, 09:20 PM)gregory Wrote: Hum, try to look at the log file it probably miss others symbol (glib ?). Note I do not use portable.ini file, might be the reason.

Which log? /bin/logs/emuLog gives

PCSX2 0.9.9.r4871  - compiled on Aug 15 2011
Savestate version: 0x9a030000

Host Machine Init:
    Operating System =  Linux i686
    Physical RAM     =  1001 MB
    CPU name         =  AMD Athlon(tm) 64 Processor 4000+
    Vendor/Model     =  AuthenticAMD (stepping 02)
    CPU speed        =  2.409 ghz (1 logical thread)
    x86PType         =  Standard OEM
    x86Flags         =  078bfbff 00000001
    x86EFlags        =  e3d3fbff

x86 Features Detected:
    MMX.. SSE.. SSE2.. SSE3
    MMX2  .. 3DNOW .. 3DNOW2

Installing POSIX SIGSEGV handler...
Mapping host memory for virtual systems...
    EE Main Memory                   @ 0x20000000 -> 0x22884000 [40mb]
    IOP Main Memory (2mb)            @ 0x24000000 -> 0x24211000 [2mb]
    VU0/1 on-chip memory             @ 0x28000000 -> 0x2800A000 [40kb]
Reserving memory for recompilers...
    SuperVU0 Recompiler Cache        @ 0x0E800000 -> 0x0F000000 [8mb]
    SuperVU1 Recompiler Cache        @ 0x0F000000 -> 0x0F800000 [8mb]
    Micro VU0 Recompiler Cache       @ 0x3C000000 -> 0x40000000 [64mb]
    Micro VU1 Recompiler Cache       @ 0xB0F9D000 -> 0xB4F9D000 [64mb]
    R5900-32 Recompiler Cache        @ 0x30000000 -> 0x34000000 [64mb]
    R3000A Recompiler Cache          @ 0x34000000 -> 0x36000000 [32mb]
    VIF0 Unpack Recompiler Cache     @ 0x36000000 -> 0x36800000 [8mb]
    VIF1 Unpack Recompiler Cache     @ 0x38000000 -> 0x38800000 [8mb]

Loading plugins...
    Binding GS    : /home/rpmbuild/pcsx2-read-only/bin/plugins/
(pxActionEvent) (LoadSinglePluginEvent) The configured GS plugin file is not a valid dynamic library(LoadCorePlugins)

(GameDB) 9535 games on record (loaded in 1212ms)
User-canceled plugin configuration; Plugins not loaded!
(GameDB) Unloading...
Hum no clue. And what tell you ldd ./bin/plugins/ ? did it found all libs
Not finding

$ ldd ./plugins/ =>  (0x00b20000) => /usr/lib/ (0x00110000) => /usr/lib/ (0x00ee7000) => /usr/lib/ (0x00118000) => /usr/lib/ (0x00a52000) => not found => /lib/ (0x00b59000) => /usr/lib/ (0x00c72000) => /lib/ (0x00f6a000) => /lib/ (0x00a63000) => /lib/ (0x00f05000) => /lib/ (0x00f94000) => /lib/ (0x00251000) => /usr/lib/ (0x00be9000)
        /lib/ (0x45da9000) => /usr/lib/ (0x00256000)
Hum LD_LIBRARY_PATH seems to be wrong. You must ensure that you have in /home/rpmbuild/pcsx2-read-only/3rdparty/SDL-1.3.0-5387
The best is to do a "find /home/rpmbuild/pcsx2-read-only/ -iname"
(08-15-2011, 01:03 PM)Gumbo Wrote: Thanks for doing all this work Seve, a really professional job Smile

I'm not aware of an upload limit that would preclude you uploading an srpm.

How did you compile your source? the spec file doesn't seem immediately compatible with a source compiled using gregory's "" script which cuts out a lot of deprecated plugins, windows stuff and other licensing problems (available in the svn repository but I've attached a copy for your convenience). I've set to work modifying your spec file to take account of this - I'll post when I'm done.


okay all done: it builds fine and seems to run okay on a clean install.
I'll top post the new rpms for the time being, but look over what I've done with the spec - I don't think I've altered it much - but you may disagree.


Go ahead and fee free to change what ever you like.
You may want to ensure that any changes you make, successfully pass by both a
mock build and rpmlint error free.
That is, if you wish to submit the final build to rpmfusion for inclusion at some point.
There is still one outstanding issue and that was the with the installation of
Packaging guidelines prohibit creating sub-directories in /bin

However, I was unable to install it elsewhere and have the Application find them.
I have attached a picture of the error generated.

My spec file also built the application using Fedora libraries which I think you will find is the preferred method for package acceptance. The only exception was for SDL, which used the included 1.3x snapshot.
I was not able to successfully build the GSdx plugin without using the Internal SDL snapshot.

-- Internal SDL is a development snapshot of libsdl 1.3
    Crashes can be expected and no support will be provided
-- Found Freetype: /usr/lib/
-- Found GTK2_GTK: /usr/lib/
-- Looking for XOpenDisplay in /usr/lib/;/usr/lib/
-- Looking for XOpenDisplay in /usr/lib/;/usr/lib/ - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/
-- Found ALSA: /usr/lib/
-- Found BZip2: /usr/lib/
-- Looking for BZ2_bzCompressInit in /usr/lib/
-- Looking for BZ2_bzCompressInit in /usr/lib/ - found
-- Found JPEG: /usr/lib/
-- Found OpenGL: /usr/lib/
-- Found Subversion: /usr/bin/svn (found version "1.6.17")
-- Found wxWidgets: TRUE
-- Found ZLIB: /usr/include (found version "1.2.5")
-- Found Cg: /usr/lib/;/usr/lib/
-- Found GLEW: /usr/lib/
-- Found PortAudio: /usr/lib/
-- Found SoundTouch: /usr/lib/
-- Found SparseHash: /usr/include
-- Use internal pcsx2 SDL library
-- Configuring done
-- Generating done
-- Build files have been written to:

[  2%] Built target translations_pcsx2_Iconized
[  4%] Built target translations_pcsx2_Main
[ 26%] Built target pcsx2_SDL
[ 32%] Built target Utilities
[ 34%] Built target x86emitter
[ 34%] Built target bin2cpp
[ 69%] Built target pcsx2
[ 70%] Built target CDVDiso
[ 72%] Built target CDVDlinuz
[ 72%] Built target CDVDnull
[ 72%] Built target dev9null-0.5.0
[ 73%] Built target FWnull-0.7.0
[ 83%] Built target GSdx-0.1.16
[ 84%] Built target GSnull
[ 86%] Built target onepad-1.1.0
[ 87%] Built target PADnull
[ 87%] Built target SPU2null
[ 92%] Built target spu2x-2.0.0
[ 92%] Built target USBnull-0.7.0
[ 98%] Built target zzogl-0.3.0
[100%] Built target zerospu2

I can't upload the src rpm due to size restrictions, but, it's not really needed,

You might also want to note in the installation [Top of Post] that people need to
have the rpmfusion repositories installed to allow yum localinstall to resolve all the dependencies.

Attached Files Thumbnail(s)

Users browsing this thread: 1 Guest(s)