JuliaGPU / JuliaGPU/ArrayFire.jl

ArrayFire could not load libaf.so.3

Open
#265 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
207
Forks
33
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/20444151/93003122-87dc9300-f52b-11ea-99ae-b62154bf690e.png)

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](https://user-images.githubusercontent.com/20444151/93003242-99726a80-f52c-11ea-8c57-85de52550876.png)

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.