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

The library liblikwid` couldn't be found. Don't expect anything to work. #60

Closed
albertomercurio opened this issue Jul 21, 2024 · 2 comments

Comments

@albertomercurio
Copy link

Hello,

I was trying to install this package. I have first installed LIKWID from this link, and then I installed the Julia package as normal package.

I’m able to run LIKWID from terminal, for example the likwid-topology command. However, when I import it in Julia, it says

julia> using LIKWID
┌ Warning: The library `liblikwid`` couldn't be found. Don't expect anything to work.
│   liblikwid = "liblikwid"
└ @ LIKWID ~/.julia/packages/LIKWID/XtIXd/src/LIKWID.jl:96
@carstenbauer
Copy link
Member

Hey, is the directory that contains liblikwid on LD_LIBRARY_PATH? If so, Julia should be able to find it.

It would be nice to have a way to overwrite the automatic detection and to manually provide the path to the library (via Preferences). Not sure when I will get to it though.

@albertomercurio
Copy link
Author

It wasn’t on LD_LIBRARY_PATH. I added it using find /usr/local -name "liblikwid.so", finding the containing directory, and then doing echo 'export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH' >> ~/.bashrc.

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