You are not logged in.

#1 2016-12-07 17:16:21

Saverio
Member
From: Italy
Registered: 2013-12-12
Posts: 23
Website

How to run the application "Neobarok" in Arch Linux?

Hi guys,

I found this application http://neobarok.com that is also available for linux.
After downloading it (linux version) from the site, I tried to launch it but I receive this error message into console:

saverio@arch ~/Download/Neobarok/Bin :( $ ./Neobarok 
./Neobarok: error while loading shared libraries: libsfml-window.so.2.3: cannot open shared object file: No such file or directory

Looking at the application read.me file, it is reported:

Begin
-----
- install Qt packages: libqt5core5a, libqt5gui5, libqt5opengl5,
  libqt5widgets5
- install SFML package: libsfml-window2
- run Bin/Neobarok

but I can't find these Qt packages using pacman.

Please, can you help me in running Neobarok on Arch?
Thanks in advance /Saverio

Offline

#2 2016-12-07 17:29:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: How to run the application "Neobarok" in Arch Linux?

Moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-12-07 17:47:28

metak
Member
Registered: 2009-09-27
Posts: 198

Re: How to run the application "Neobarok" in Arch Linux?

Hi,

libqt5core5a, libqt5gui5, libqt5opengl5,  libqt5widgets5   > all of them are in 'qt5-base' in arch
libsfml-window2  > 'sfml' in arch

But you'll probably still have problem running it since it's built against older version of sfml?
The binary requires 'libsfml-window.so.2.3', but arch has 'libsfml-window.so.2.4'.

Offline

#4 2016-12-07 20:47:01

Saverio
Member
From: Italy
Registered: 2013-12-12
Posts: 23
Website

Re: How to run the application "Neobarok" in Arch Linux?

Thanks metak, I installed both 'qt5-base' and 'sfml' and tried again to launch Neobarok but with no success.
I always see the message:
"error while loading shared libraries: libsfml-window.so.2.3: cannot open shared object file: No such file or directory"

Perhaps I could recover the specific 'libsfml-window.so.2.3' and put it into the application folder? But where can I find it...?

BRs
/Saverio

Offline

#5 2016-12-07 22:33:38

metak
Member
Registered: 2009-09-27
Posts: 198

Re: How to run the application "Neobarok" in Arch Linux?

Saverio wrote:

Perhaps I could recover the specific 'libsfml-window.so.2.3' and put it into the application folder? But where can I find it...?

You can get the old package here sfml-2.3.2-5-x86_64.pkg.tar.xz, extract that library and put it in '/usr/lib' and try if it works... or rebuild the older version of sfml.

Too bad it's closed source otherwise you could just rebuild it...

Offline

#6 2016-12-08 00:00:18

atomicbeef
Member
Registered: 2015-09-30
Posts: 98

Re: How to run the application "Neobarok" in Arch Linux?

Do not put untracked files in /usr/lib like that. If you want to do what metak is suggesting, extract the library and put it in the same directory as the Neobarok directory. Then launch the executable with the $LD_PRELOAD defined (include the current directory in the variable).

Offline

#7 2016-12-08 09:43:35

Saverio
Member
From: Italy
Registered: 2013-12-12
Posts: 23
Website

Re: How to run the application "Neobarok" in Arch Linux?

Hi guys, just for info I solved in this way, as reported in this forum post:

https://forum.manjaro.org/t/how-to-run- … ux/13811/1

In brief:
I verified that Neobarok is working also with the latest version of sfml, the problem is related only to the name of the package library to which the application points. Therefore:

  1. I installed with pacman the upstream libsfml-window.so.2.4

  2. I created a symlink to it:

    sudo ln -s /usr/lib/libsfml-window.so.2.4 /usr/lib/libsfml-window.so.2.3
  3. I ran Neobarok application binary file

and... it worked !!!

http://i.imgur.com/mFVTch4.png

Thanks a lot for your advices and support.

-- mod note: replaced img with url.  Please see forum guidelines on image sizes.  Trilby --

Last edited by Trilby (2016-12-08 13:05:30)

Offline

#8 2016-12-08 13:03:49

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: How to run the application "Neobarok" in Arch Linux?

You haven't fixed the issue at all, you've just done a terrible hacky workaround.

If neobarak was built against libsfml-window.so.2.3 then you should run it with libsfml-window.so.2.3, your solution could well cause the program to crash unexpectedly.

The correct solution was given to you by atomicbeef in post #6.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#9 2016-12-08 20:56:21

atomicbeef
Member
Registered: 2015-09-30
Posts: 98

Re: How to run the application "Neobarok" in Arch Linux?

Saverio, are you using Arch, or are you using Manjaro? We only support Arch here.

Offline

#10 2016-12-09 09:05:30

Saverio
Member
From: Italy
Registered: 2013-12-12
Posts: 23
Website

Re: How to run the application "Neobarok" in Arch Linux?

@atomicbeef :
I'm using both Arch Linux and Manjaro Linux in 2 two separated 'virtual boxes'. First to learn Arch Linux and then the Manjaro variation.
Obviously, here I posted content related to my Arch Linux installation.

@slithery :
You're right, what I've done is not the 'correct' and 'stable' solution but considering that I want an Arch Linux system with the official latest packages and the application Neobarok is a beta version and I wanted just to open it and verify some UI things, it doesnt' matter for me if it could crash.

Thanks both for your suggestions and opinions, I'm learning a lot of things about Arch and I like it more and more in each day I use it smile

Last edited by Saverio (2016-12-09 09:12:19)

Offline

#11 2016-12-10 19:20:19

atomicbeef
Member
Registered: 2015-09-30
Posts: 98

Re: How to run the application "Neobarok" in Arch Linux?

Even if you don't care about the stability of the program, you should get in the habit of only putting files tracked by the package manager in locations like /usr/lib, /usr/bin, etc.

Offline

#12 2016-12-12 16:41:40

Saverio
Member
From: Italy
Registered: 2013-12-12
Posts: 23
Website

Re: How to run the application "Neobarok" in Arch Linux?

@atomicbeef Thanks, I really appreciate your feedback.

Offline

Board footer

Powered by FluxBB