You are not logged in.
Pages: 1
pcsx2-svn on AUR isn't working, so I thought I'd try to try to use the pcsx2 binaries from the website (which are of course 32-bit). I've gotten it to mostly work but I can't load the graphic plugin because I can't find a 32-bit library version for GLEW on AUR or the repositories. Can I build a lib32-glew myself? How do I go about doing this?
Last edited by thorjelly (2009-03-18 09:48:57)
Offline
Yes, you can create you're own lib32 packages. The best thing to do is to study other lib32 PKGBUILDS. The 32 bit glew package is simple, so setting up a lib32 version shouldn't be too difficult. If you have abs installed, all of the lib32 stuff is in /var/abs/community/lib32.
Offline
Okay. As I am a rather ignorant fellow, is there any guide on the wiki for this or something like that? What am I supposed to do? I mean, I see the ABS section of the wiki, but there is no lib32-glew in /var/abs/community/lib32 (just like there is no lib32-glew in the community repo). So how do I use ABS to build it?
Last edited by thorjelly (2009-03-06 00:44:27)
Offline
I just meant to see what other lib32 packages were like and go from there. That's how I learned to do them in the early days. I no longer have 32 bit anything on my system.
If you're not comfortable making your own package, you can ask someone for help here:
http://bbs.archlinux.org/viewforum.php?id=38
I'm guessing that since it's useful for you that it would probably be a welcome addition to AUR.
Offline
Ah, alright. Thank you. I'll try making a request on that forum, and if that fails, it'd probably be good for me to learn how to do this anyway.
Offline
Alright, now that I got the graphics plugin to work, I have one more problem to take care of. The majority of the DVD plugins don't work, outputting the errors:
Can't open libCDVDisoEFP.so: libbz2.so.1: wrong ELF class: ELFCLASS64
Can't open libCDVDiso.so: libbz2.so.1: wrong ELF class: ELFCLASS64
Can't open libCDVDisoEFP.so: libbz2.so.1: wrong ELF class: ELFCLASS64
Can't open libCDVDiso.so: libbz2.so.1: wrong ELF class: ELFCLASS64
However I have lib32-libbz2 (from AUR) installed:
[sam@voxel pcsx2]$ locate libbz2
/lib/libbz2.so
/lib/libbz2.so.1
/lib/libbz2.so.1.0
/lib/libbz2.so.1.0.4
/opt/lib32/lib/libbz2.so
/opt/lib32/lib/libbz2.so.1
/opt/lib32/lib/libbz2.so.1.0
/opt/lib32/lib/libbz2.so.1.0.4
/usr/lib/libbz2.a
/usr/lib/libbz2.so
The program apparently isn't looking at the right path or something, but I don't know how to set it to look at the correct one?
There were a lot of other such errors, but 'export GTK_PATH=/opt/lib32/usr/lib/gtk-2.0/' and 'export PANGO_RC_FILE="/opt/lib32/config/pango/pangorc"' had fixed them; however, I'm not sure how to figure out the correct variable to set so that it looks at libbz2 at the correct path?
Thanks.
Offline
Check to see if the line /opt/lib32/lib is in /etc/ld.so.conf. If it isn't, add it, then run ldconfig as root after you're done.
Offline
Sadly it's already there, and running ldconfig anyway as root didn't do anything.
Offline
*Bump* Sorry, but is that it? Is there no way to get pcsx2 to point to the right library? Thanks for all the help, in any case.
Offline
You could try this before you launch the binary:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/lib32/lib/
Offline
Thank you! That worked great Now I finally got pcsx2 working, horrah. Thank you for the help.
Offline
You're welcome. I don't understand why /etc/ld.so.conf isn't working for this though; I believe that accomplishes the same thing. But, I digress. Have fun.
Offline
thorjelly, Could you please write up a PKGBUILD for that and share with us?
Offline
Well, the custom packages for lib32-glew and lib32-nvidia-cg-toolkit that Skottish and I wrote can be found here:
http://bbs.archlinux.org/viewtopic.php?pid=518487
Unfortunately I do not feel ready to maintain my own packages at this point, since I am just learning this stuff, as easy as it appears to be. But I'd appreciate it if someone else took up the task, since I feel these packages are useful Or maybe some time in the future I'll give it a go.
Offline
Pages: 1