question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error while loading shared libraries: libmkl_intel_lp64.so

See original GitHub issue

Hi,

Thank you for releasing the codes. I met problem with marching cube at last of the demo, the error is:

./isosurface/computeMarchingCubes: error while loading shared libraries: libmkl_intel_lp64.so: cannot open shared object file: No such file or directory

However I’ve tried many methods to reinstall mkl, add this file to lib path and even move it to the same folder with computeMarchingCubes, neither of these methods work.

Any idea on solving this would be appreciated.

Thanks!

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:10

github_iconTop GitHub Comments

4reactions
walsvidcommented, Sep 28, 2019

I think you can modify LIB_PATH to correct mkl path. The LIB_PATH provided by the author is set to author’s path, which is not correct. However, the author has provided a link library available in this github repo, which is in the current folder path.

Maybe you can try this: ./isosurface/tbb/tbb2018_20180822oss/lib/intel64/gcc4.7

3reactions
georged4scommented, Oct 19, 2020

Thanks to @qiao1025566574 for providing an alternative to the original method. I have made slight changes based on his suggestion and seems to fix the issue. Everything works nicely afterwards. In the demo.py script, I have changed the create_obj function as follow:

def create_obj(pred_sdf_val, sdf_params, dir, i):
    import mcubes
    new_dim = int(pred_sdf_val.shape[0] ** (1.0 / 3)) + 1
    u = pred_sdf_val.reshape(new_dim, new_dim, new_dim)
    vertices, triangles = mcubes.marching_cubes(u, 0)
    mcubes.export_obj(vertices, triangles, "demo/result.obj")
Read more comments on GitHub >

github_iconTop Results From Across the Web

using mkl, error while loading shared libraries - Stack Overflow
a.out: error while loading shared libraries: libmkl_intel_lp64.so: cannot open shared object file: No such file or directory.
Read more >
error while loading shared libraries: libmkl_intel_lp64.so
The missing step was the execution of the following command: source /opt/intel/oneapi/setvars.sh.
Read more >
error while loading shared libraries: libmkl_intel_lp64.so ...
Solved: HI, I have compiled a source code on my system. After giving the correct path of binaries created, I am trying to...
Read more >
error while loading shared libraries: libboeim_kd_64.so
I am checking the keycode of Data Services using License Manager in Suse12 running DataService 4.2. I ran the command ./LicenseManager -v in...
Read more >
error while loading shared libraries: libcudart.so.7.5
I'm trying to help my user who is getting this message: probtrackx2_gpu: error while loading shared libraries: libcudart.so.7.5: cannot open shared object file: ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found