Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArrayFire could not load libaf.so.3 #265

Open
danielorihuela opened this issue Sep 12, 2020 · 3 comments
Open

ArrayFire could not load libaf.so.3 #265

danielorihuela opened this issue Sep 12, 2020 · 3 comments

Comments

@danielorihuela
Copy link

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:

2020-09-12_21-02

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.

2020-09-12_20-58

My system has a Kubuntu distribution. Linux 5.4.0-47-generic.

@ghost
Copy link

ghost commented Sep 12, 2020

You need a more recent version of arrayfire library, the one that you got doesn't have sparse array support yet.

@danielorihuela
Copy link
Author

danielorihuela commented Sep 14, 2020

I tried installing the ArrayFire version 3.7.2 from binary into /usr/local and I keep having the same problem. Any idea? Thanks

@francispoulin
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants