You are not logged in.

#1 2009-08-16 20:48:58

gonX
Member
From: Denmark
Registered: 2009-08-16
Posts: 112

[SOLVED] Libjack.so.0 ELFCLASS64 - wineasio etc

Hey guys, long-time computer user, but haven't been using Linux that much!

I'm trying to get wineasio working under Arch Linux x86_64. So far I've installed JACK, WINE (obviously) and Wineasio (seemingly).

But when I'm trying to do a 'regsvr32 wineasio.dll' I get this error:

err:module:load_builtin_dll failed to load .so lib for builtin L"wineasio.dll": libjack.so.0: wrong ELF class: ELFCLASS64

I've tried symlinking every single instance of libjack.so to /usr/lib/libjack.so.0 (and removed any other instance of libjack.so.0) on my system without any difference.

Anyone got any suggestions?

Last edited by gonX (2009-09-06 14:45:34)


since 2009

Offline

#2 2009-08-16 21:01:15

gonX
Member
From: Denmark
Registered: 2009-08-16
Posts: 112

Re: [SOLVED] Libjack.so.0 ELFCLASS64 - wineasio etc

Well never mind - I figured it out myself. I thought I'd copy the libjack.so file from my laptop which is running x86.

Basically what I did was (my laptop is mounted with / via sshfs on /mnt/net/) :

rm /usr/lib/libjack.so.0
rm /lib32/libjack.so
cp /mnt/net/usr/lib/libjack.so /lib32/libjack.so
ln -s /lib32/libjack.so /usr/lib/libjack.so.0

*EDIT*

Although this messed up my qjackctl. Any ideas on how to make both files coexist?

Last edited by gonX (2009-08-16 21:02:52)


since 2009

Offline

#3 2009-08-16 21:05:16

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Libjack.so.0 ELFCLASS64 - wineasio etc

Wrong ELF class errors mean that it's looking for a library from one architecture and only finding one from another. In this case, it's looking for the 32 bit version of libjack.so.0 and only finding a 64 bit one. It looks like there's not lib32-jack package in community nor a version in AUR. There's been a few requests for someone to make one lately, but no one has stepped up to the challenge:

-- EDIT--

Just search the forums for 'lib32 jack'. The link doesn't want to carry over in between sessions.

----------

Making lib32 packages is fairly straight forward. You can try to bump the top thread in the search list from above and see if Falcata ever found a solution. If not, you can learn the art of making lib32 packages. It's not very hard to do.

--EDIT--

You may want to reconsider symlinking libraries all over the place if you want your system to work in the future. It's a great way to introduce lots of hard to detect problems.

Offline

#4 2009-08-16 21:09:47

gonX
Member
From: Denmark
Registered: 2009-08-16
Posts: 112

Re: [SOLVED] Libjack.so.0 ELFCLASS64 - wineasio etc

Yes I know that, but I don't know of any other way to do it. Is there a place I can have Wine read from before /usr/lib, eventually just for certain files?

*EDIT*

Your link doesn't work sad

Last edited by gonX (2009-08-16 21:10:55)


since 2009

Offline

#5 2009-08-16 21:20:18

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Libjack.so.0 ELFCLASS64 - wineasio etc

gonX wrote:

Yes I know that, but I don't know of any other way to do it. Is there a place I can have Wine read from before /usr/lib, eventually just for certain files?

*EDIT*

Your link doesn't work sad

Whoops about the link. Just search for 'lib32 jack' to get the links that I posted about.

The way that lib32 packages are set up is that they edit the path in /etc/ld.so.conf so that the linker can find what it's looking for.

I highly recommend that you learn to write lib32 PKGBUILDS. There's no point in having one of the best package mangers in the world if you're not going to use it. As well, you're going to start polluting your system with files that pacman will find by accident. Then comes the 'exists in file system errors' which normally are telling you that there's something that you need to pay attention to.

Offline

#6 2009-08-17 11:30:26

gonX
Member
From: Denmark
Registered: 2009-08-16
Posts: 112

Re: [SOLVED] Libjack.so.0 ELFCLASS64 - wineasio etc

Err I'm a bit confused here. As said I'm a bit new to Linux smile What good would it do to be able to write lib32 Pkgbuilds? I don't see the point, couldn't I just compile it with a multilib Gcc (which I have installed BTW) and I'd have the 32-bit version, granted that it's open-source of course.

I figured out /etc/ld.so.conf, seems to work fine now - but knowing my luck I'm probably gonna hit another wall very soon.


since 2009

Offline

Board footer

Powered by FluxBB