Problem running the Linux version on Manjaro

Meepish
Posts:5
Joined:Sun Nov 10, 2019 7:54 pm
Problem running the Linux version on Manjaro

Post by Meepish » Sun Nov 10, 2019 7:59 pm

Hi!

I downloaded the Linux trial version of Paintstorm, installed the required dependencies, created the symlink for libGLEW that I've seen other people suggest in the forums here, but I'm left with one problem that I can't fix:

Code: Select all

/usr/share/paintstorm/Paintstorm: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /usr/share/paintstorm/Paintstorm)
Segmentation fault (core dumped)
It seems that there's some problem with the version of libcurl-gnutls. Would it be possible for you to release some kind of universal Linux binary with the dependencies included in it, so that it can easily run on any Linux system? I think AppImage would be a good way to do it.
User avatar
support
Site Admin
Posts:1663
Joined:Thu May 07, 2015 1:33 pm

Re: Problem running the Linux version on Manjaro

Post by support » Tue Nov 26, 2019 10:39 am

One Linux user reported that this link command helps to solve libGLEW issue:
sudo ln -s /usr/lib/x86_64-linux-gnu/libGLEW.so.2.1 /usr/lib/x86_64-linux-gnu/libGLEW.so.1.13
Meepish
Posts:5
Joined:Sun Nov 10, 2019 7:54 pm

Re: Problem running the Linux version on Manjaro

Post by Meepish » Tue Nov 26, 2019 5:51 pm

Thanks for the reply! I already solved the libGLEW issue, my problem is with libcurl-gnutls now :(

By the way, I've installed the Windows trial version in the meantime, and I love it so far!
snoutflower
Posts:2
Joined:Sat Dec 07, 2019 8:37 pm

Re: Problem running the Linux version on Manjaro

Post by snoutflower » Sat Dec 07, 2019 8:47 pm

I'm also still getting the

Code: Select all

/usr/lib/libcurl-gnutls.so.4: no version information available
error in Linux and was wondering if there was any updates on this issue? libGLEW doesn't seem to be related as far as I can tell

these are all the versions my system lists:

Code: Select all

libcurl-gnutls.so.3      libcurl-gnutls.so.4.1.0  libcurl-gnutls.so.4.4.0
libcurl-gnutls.so.4      libcurl-gnutls.so.4.2.0  libcurl-gnutls.so.4.5.0
libcurl-gnutls.so.4.0.0  libcurl-gnutls.so.4.3.0  libcurl-gnutls.so.4.6.0
snapper
Posts:7
Joined:Thu Aug 10, 2017 7:45 am

Re: Problem running the Linux version on Manjaro

Post by snapper » Mon Dec 23, 2019 5:53 pm

I am having the same problem on Manjaro. Haven't used PS since I switched from Ubuntu to Manjaro.

I made a dbg, maybe someone with more knowledge than me can look at this?

(gdb) run
Starting program: /usr/share/paintstorm/Paintstorm
/usr/share/paintstorm/Paintstorm: /usr/lib/libcurl-gnutls.so.4: no version information available (required by /usr/share/paintstorm/Paintstorm)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
/usr/lib/../share/gcc-9.2.0/python/libstdcxx/v6/xmethods.py:731: SyntaxWarning: list indices must be integers or slices, not str; perhaps you missed a comma?
refcounts = ['_M_refcount']['_M_pi']
Unable to find input device 'Wacom'
[New Thread 0x7ffff1c49700 (LWP 19110)]
[New Thread 0x7ffff1448700 (LWP 19111)]
[New Thread 0x7ffff0c47700 (LWP 19112)]
[New Thread 0x7fffe3fff700 (LWP 19113)]
[New Thread 0x7fffe1bfa700 (LWP 19115)]
[New Thread 0x7fffe13f9700 (LWP 19116)]
[New Thread 0x7fffe0bf8700 (LWP 19117)]
[New Thread 0x7fffdbfff700 (LWP 19118)]

Thread 1 "Paintstorm" received signal SIGSEGV, Segmentation fault.
0x00007ffff6cc9f63 in readdir64 () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff6cc9f63 in readdir64 () at /usr/lib/libc.so.6
#1 0x00000000006d933e in _mtexttool::init() ()
#2 0x00000000006fa4ba in myMainInit() ()
#3 0x00000000006f08ad in MacCreateLoop() ()
#4 0x0000000000408868 in main ()
(gdb) kill
Kill the program being debugged? (y or n) y
[Inferior 1 (process 19106) killed]
(gdb) quit

Don't think the /usr/lib/libcurl-gnutls.so.4 is the problem. Probably compiled with a different version as I have installed. "Unable to find input device 'Wacom'" is strange as my Wacom works perfectly with other programs like Gimp and Krita.
cestarian
Posts:67
Joined:Sat Jun 24, 2017 11:31 pm

Re: Problem running the Linux version on Manjaro

Post by cestarian » Wed Jan 01, 2020 3:29 am

Wow, this post is exactly what I came here to ask about down to the very distro. Coincidentally I am also the user who posted about the libglew thing :D

I did some googling, learned to use strace to troubleshoot things like this, useful night.

In a nutshell, this is where it goes wrong:

Code: Select all

openat(AT_FDCWD, "/usr/share/fonts/opentype", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x4} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)
I created the missing folder, and that lead to this

Code: Select all

openat(AT_FDCWD, "/usr/share/fonts/truetype", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x4} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)
I created that folder and we're in business :D

So the solution:

Code: Select all

sudo mkdir /usr/share/fonts/truetype /usr/share/fonts/opentype
@support you might want to write that down, if you ever need to help a linux user to troubleshoot, ask them to run strace, first they need to install strace then run:

Code: Select all

strace -o outputfilename /usr/share/paintstorm/Paintstorm
and maybe throw the results into pastebin or something, if it's another case of missing file or dependency at least it will spot it.
Last edited by cestarian on Sat Aug 28, 2021 5:48 pm, edited 1 time in total.
snoutflower
Posts:2
Joined:Sat Dec 07, 2019 8:37 pm

Re: Problem running the Linux version on Manjaro

Post by snoutflower » Sat Jan 11, 2020 10:26 pm

cestarian wrote:
Wed Jan 01, 2020 3:29 am
I created that folder and we're in business :D
Thank you, this was a big step in the right direction for me! These folders already existed for me even though strace said they don't so my guess was that it was a permission error and probably trying to copy the default font to those folders. My solution was to run Paintstorm once with sudo, but that's probably not advisable even though it worked.
Meepish
Posts:5
Joined:Sun Nov 10, 2019 7:54 pm

Re: Problem running the Linux version on Manjaro

Post by Meepish » Wed Feb 05, 2020 11:00 pm

Creating these font directories fixed the issue for me, and now I can run the program, thank you! Although I got some other bugs and glitches that make using it impossible. :( If the program is mostly optimized for Ubuntu, I should try it with Ubuntu sometime.
User avatar
support
Site Admin
Posts:1663
Joined:Thu May 07, 2015 1:33 pm

Re: Problem running the Linux version on Manjaro

Post by support » Sat Jul 04, 2020 2:36 pm

Users reported that this package solves this issue: https://aur.archlinux.org/packages/paintstorm-bin/
Alex
Posts:5
Joined:Thu Jul 23, 2020 12:55 pm

Re: Problem running the Linux version on Manjaro

Post by Alex » Thu Jul 23, 2020 1:30 pm

I made it work with Winetricks , i created a new wine tricks 64 bit and installed it in it and it works perfectly
Post Reply