MEGAsync QT segmentation fault

Hello,
I’m continuing this thread on the old forum here.
I’m still unable to run megasync. I’ve got the libraw problem that many had and could pass it with that command line:

$ megasync 
megasync: error while loading shared libraries: libraw.so.19: cannot open shared object file: No such file or directory
$ sudo ln -sf /usr/lib/libraw.so.20 /usr/lib/libraw.so.19

As a side note, I found that command and it gave me this result:

$ find /usr -name "libraw.*" 2> /dev/null
/usr/include/libraw/libraw.h
/usr/lib/libraw.so
/usr/lib/libraw.so.20.0.0
/usr/lib/pkgconfig/libraw.pc
/usr/lib/libraw.so.20
/usr/lib/libraw.so.19

Now I’m again stuck with this error:

$ megasync 
Setting QT_SCREEN_SCALE_FACTORS= "eDP-1=1"
Error unsetting QT_QPA_PLATFORMTHEME vble
Segmentation fault (core dumped)

And my etc/env is like that:

$ cat /etc/environment 
QT_QPA_PLATFORMTHEME="qt5ct"
EDITOR=/usr/bin/nano

Using QT5 software leads no problem for me, for example KeePassXC.
Thanks!

1 Like

I had same problem – rebulding megasync solved it :slight_smile:

I’m glad it worked for you but I’ve got very strange result.

After rebuilding megasync this came again:

$ megasync 
Setting QT_SCREEN_SCALE_FACTORS= "eDP-1=1"
Error unsetting QT_QPA_PLATFORMTHEME vble
Segmentation fault (core dumped)

Then I removed the packages and built megasync-nopdfium. Launching it gave again the same error:

$ megasync 
Setting QT_SCREEN_SCALE_FACTORS= "eDP-1=1"
Error unsetting QT_QPA_PLATFORMTHEME vble
Segmentation fault (core dumped)

BUT THEN I don’t know how the icon appeared in the status bar and it started to synchronize. I was able the status window. Then I clicked on the MEGA icon in my dock and nothing happened. I went back to the status window and asked to see the transfers window and the app disappeared from the status bar. It crashed… Which makes me believe there must be a way to start the app…

I’m facing the same issue. Conky and MEGASync refuse to work for whatever reason. If you find the solution please update here.

1 Like

Hi guys,
I haven’t read the original, but since I had the same problem I thought I’d add my experience.

I had megasync-git installed, and got the lib error after the update. Tried to reinstall, but I got a build error.

Then I removed megasync-git and installed megasync using yay.
Then megasync started with no problem.

This is what yay reports right now

$ yay mega sync
15 aur/thunar-gtk3-megasync 4.2.0-2 (+2 0.00) 
    Upload your files to your Mega account from Thunar (revision for GTK3).
14 aur/megasync-instances 0.0.1-1 (+2 0.00) 
    Provides an utility to run multiple megasync instances with different accounts.
13 aur/megasync-headless v3.6.8.0.g93cc57d75-1 (+5 0.09) 
    Sync with MEGA. Daemon, fuse and cli client. Original sdk (git).
12 aur/megasync-cli-git v3.6.6a.314.gd808462b0-1 (+5 0.14) 
    MEGASync CLI client. (GIT Version)
11 aur/python-megasync-git v3.6.6a.314.gd808462b0-1 (+5 0.14) 
    Python Bindings for MEGASync. (GIT Version)
10 aur/fuse-megasync-git v3.6.6a.314.gd808462b0-1 (+5 0.14) 
    MEGASync client based on FUSE (GIT Version)
9 aur/megasync-daemon-git v3.6.6a.314.gd808462b0-1 (+5 0.14) 
    MEGASync daemon client. (GIT Version)
8 aur/libmega-git v3.6.6a.314.gd808462b0-1 (+5 0.14) 
    MEGASync libs (GIT Version)
7 aur/thunar-megasync 3.6.6.0-1 (+6 0.00) (Orphaned) (Out-of-date: 2019-02-02) 
    Upload your files to your Mega account from Thunar.
6 aur/dolphin-megasync-git v4.0.2.0.1.g2dec1949-1 (+11 0.10) 
    Upload your files to your Mega account from Dolphin file manager. (GIT Version)
5 aur/megasync-nopdfium 4.3.3.0-1 (+15 5.12) 
    Easy automated syncing between your computers and your MEGA cloud drive(stripped of pdfium dependency)
4 aur/nemo-megasync 4.0.2-2 (+19 0.01) 
    MEGASync extension for the Nemo file browser
3 aur/megasync-git v4.0.2.0.1.g2dec1949-1 (+21 1.11) 
    MEGASync Desktop App. (GIT Version)
2 aur/nautilus-megasync 3.6.6-2 (+42 0.34) 
    Upload your files to your Mega account from nautilus.
1 aur/megasync 4.3.3.0-1 (+350 4.94) (Installed)
    Easy automated syncing between your computers and your MEGA cloud drive
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==>

I’ve had this problem for a while and figured an update would fix it eventually and it never did. The mentioned fixes above didn’t work.
Today, I replaced it with the -bin version via pamac

removed megasync (4.2.5-3)
removed dolphin-megasync-git (v4.2.4.0.1.g8ac56071-1)
installed megasync-bin (4.3.8-1)
installed dolphin-megasync-bin (3.6.6-2)

So far, it’s all working. Hopefully, it is persistent.