Skip to content

ArrayFire could not load libaf.so.3 #265

@danielorihuela

Description

@danielorihuela

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions