Megasync: error while loading shared libraries

Since the update whenever I try to start mega I get this error:

megasync: error while loading shared libraries: cannot open shared object file: No such file or directory

megasync is a AUR package, have you tried rebuilding it?

/usr/bin/ld: warning:, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/, not found (try using -rpath or -rpath-link)



It seems libpdfium got removed after the update for no reason

But megasync works fine for me after update without rebuilding. I did not install libpdfium.

/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/ is strange, why many /../?

You can add Megasync repo to /etc/pacman.conf:

or use megasync-bin from AUR. Both versions are independent of libpdfium (or provide it builtin I don’t know).

1 Like

I did not install megasync from AUR.
I downloaded original megasync from the website MEGA Desktop App - MEGA

Had to switch to megasync-bin

I switched to megasync git because an update broke megasync. Had zero issues since switching to git version

If you wish, I’m not sure if rclone supports it, but I suspect it does, you can and should give it a try as well.

If they’re not supported as a provider, rclone supports WebDav as well as many other protocols too. I use it for Onedrive.

So give it a go.