ArrayFire could not load libaf.so.3
After installing ArrayFire through the Julia Package manager and trying to run a simple program:
using Pkg
Pkg.add("ArrayFire")
using ArrayFire
const a = rand(10, 10)
const ad = AFArray(a)
I obtain the following error:

I tried installing libarrayfire-unified3 but I get the same error.
After that I decided to go inside my julia installation folder, specifically: /opt/julia-1.5.1/lib/julia and move libstdc++.so.6 to libstdc++.so.6_old so that I could create a symbolic link with my system libstdc++.so.6 (ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /opt/julia-1.5.1/lib/julia). The problem was solved, however I got another error that I could not fix.

My system has a Kubuntu distribution. Linux 5.4.0-47-generic.
You need a more recent version of arrayfire library, the one that you got doesn't have sparse array support yet.
I tried installing the ArrayFire version 3.7.2 from binary into /usr/local and I keep having the same problem. Any idea? Thanks
I'm actually having the same problem. I just installed ArrayFire v1.0.7 and when I try using it I get an error that libaf.so.e cannot load. Any idea what I could do to fix this problem?