YGOPRO Forum

Welcome Guest! To enable all features please try to register or login.
Options
Go to last post Go to first unread
tyudemetry  
#1 Posted : Monday, July 20, 2015 4:29:49 PM(UTC)
tyudemetry

Rank: Newbie

Joined: 7/19/2015(UTC)
Posts: 1

I tried to install ygopro on my Arch Linux, but this messsenge is shown:

./ygopro64: error while loading shared libraries: liblua5.2.so.0: cannot open shared object file: No such file or directory


I installed lua (pacman -S lua), but the problem continued.

Could someone help me please? :S

Edited by user Tuesday, July 21, 2015 1:38:53 AM(UTC)  | Reason: Not specified

Percival18  
#2 Posted : Tuesday, July 21, 2015 3:54:26 PM(UTC)
Percival18

Rank: Administration

Joined: 11/25/2012(UTC)
Posts: 2,117

Thanks: 80 times
Was thanked: 1649 time(s) in 530 post(s)
Isn't there a way to install lua version 5.2?
Helio  
#3 Posted : Saturday, July 25, 2015 1:38:34 AM(UTC)
Helio

Rank: Newbie

Joined: 1/26/2014(UTC)
Posts: 2

Thanks: 1 times
I'm also trying to install ygopro in one of arch's sons (manjaro), and answering your question, yes you can install liblua but, names are a little bit different.

$ locate liblua
/usr/lib/liblua.so
/usr/lib/liblua.so.5.2
/usr/lib/liblua.so.5.2.4
/usr/lib/liblua.so.5.3
/usr/lib/liblua.so.5.3.1
/usr/lib/liblua5.2.so
/usr/lib/liblua5.2.so.5.2
/usr/lib/liblua5.2.so.5.2.4
/usr/lib/syslinux/bios/liblua.c32
/usr/lib/syslinux/efi32/liblua.c32
/usr/lib/syslinux/efi64/liblua.c32
/usr/lib/vlc/plugins/lua/liblua_plugin.so

So i created a symlink to /usr/lib/liblua5.2.so (I know it is a bad practice)

But then it complains about libgnutls.so.28 and libnettle.so.4, the problem is the version of libraries.

/usr/lib/libnettle.so
/usr/lib/libnettle.so.6
/usr/lib/libnettle.so.6.1
/usr/lib32/libnettle.so
/usr/lib32/libnettle.so.4
/usr/lib32/libnettle.so.4.7
/usr/lib32/libnettle.so.6
/usr/lib32/libnettle.so.6.1

locate libgnutls
/usr/lib/libgnutls.so
/usr/lib/libgnutls.so.30
/usr/lib/libgnutls.so.30.1.0
/usr/lib/libgnutlsxx.so
/usr/lib/libgnutlsxx.so.28
/usr/lib/libgnutlsxx.so.28.1.0
/usr/lib/vlc/plugins/misc/libgnutls_plugin.so
/usr/lib32/libgnutls.so
/usr/lib32/libgnutls.so.28
/usr/lib32/libgnutls.so.28.41.5
/usr/lib32/libgnutls.so.30
/usr/lib32/libgnutls.so.30.1.0
/usr/lib32/libgnutlsxx.so
/usr/lib32/libgnutlsxx.so.28
/usr/lib32/libgnutlsxx.so.28.1.0

So i created symlinks to those libraries
sudo ln -s /usr/lib/liblua5.2.so /usr/lib/liblua5.2.so.0
sudo ln -s /usr/lib/libnettle.so.6 /usr/lib/libnettle.so.4
sudo ln -s /usr/lib/libgnutls.so.30 /usr/lib/libgnutls.so.28

I tried to execute ygopro64 and i got this error
./ygopro64: /usr/lib/libgnutls.so.28: version `GNUTLS_2_12' not found (required by /usr/lib/libcurl-gnutls.so.4)
./ygopro64: /usr/lib/libgnutls.so.28: version `GNUTLS_1_4' not found (required by /usr/lib/libcurl-gnutls.so.4)
RaphaelLamperouge  
#4 Posted : Saturday, July 25, 2015 6:02:31 PM(UTC)
RaphaelLamperouge

Rank: Advanced Member

Joined: 1/27/2013(UTC)
Posts: 41

Thanks: 7 times
Was thanked: 5 time(s) in 4 post(s)
sudo pacman -S lua52
cd /usr/lib
sudo ln -s liblua5.2.so liblua5.2.so.0
And it's installed.
It will install the lua package you actually need (you can pacman -Rns lua) and symlink it to the library YGOPRO is looking for. ((1))

But you're probably missing gnutls, to check head to your ygopro folder and

ldd ygopro64
This will check if you're missing any libraries

If it says it can't find gnutls, you'll have to get a package from the AUR, unfortunately there's an issue with the checksums...

cd /tmp
wget https://aur.archlinux.or...ls/libcurl-gnutls.tar.gz
tar xvf libcurl-gnutls.tar.gz
cd libcurl-gnutls
makepkg -S --skipchecksums --skippgpcheck
makepkg -i --skipchecksums --skippgpcheck
This will download the AUR package and install it without security checks, it's your account and risk but I don't think there's any problem, the compile flags were safe and the source link was correct.

With this, I managed to install YGOPRO


((1)) -- I'm suffering from some graphical glitches, it's probably the liblua hack, it's a bit annoying. I also can't play on fullscreen but apparently it's because I'm missing something.
thanks 2 users thanked RaphaelLamperouge for this useful post.
Helio  
#5 Posted : Saturday, July 25, 2015 10:40:54 PM(UTC)
Helio

Rank: Newbie

Joined: 1/26/2014(UTC)
Posts: 2

Thanks: 1 times
Just came to say thank you!, This worked. I know it is a little bit risky though. But i was tired of virtualizing this game on Debian.
RaphaelLamperouge  
#6 Posted : Sunday, July 26, 2015 9:43:40 PM(UTC)
RaphaelLamperouge

Rank: Advanced Member

Joined: 1/27/2013(UTC)
Posts: 41

Thanks: 7 times
Was thanked: 5 time(s) in 4 post(s)
Percival, I think it would be a good idea to include these instructions in the Linux Version download
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error