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

ImportError: libMagnumBulletIntegration.so.2 #18

Open
DrJimFan opened this issue Aug 25, 2021 · 5 comments
Open

ImportError: libMagnumBulletIntegration.so.2 #18

DrJimFan opened this issue Aug 25, 2021 · 5 comments

Comments

@DrJimFan
Copy link

I'm able to install the library successfully, but I get this error when I try to run the example command:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/conda/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/user/.local/lib/python3.8/site-packages/megaverse_rl/train.py", line 11, in <module>
    from megaverse_rl.megaverse_utils import register_env
  File "/home/user/.local/lib/python3.8/site-packages/megaverse_rl/megaverse_utils.py", line 4, in <module>
    from megaverse.megaverse_env import MegaverseEnv, make_env_multitask
  File "/home/user/.local/lib/python3.8/site-packages/megaverse/megaverse_env.py", line 8, in <module>
    from megaverse.extension.megaverse import MegaverseGym, set_megaverse_log_level
ImportError: libMagnumBulletIntegration.so.2: cannot open shared object file: No such file or directory

I appreciate any help!

@alex-petrenko
Copy link
Owner

Hi @LinxiFan! Thank you for reporting this!
Did you install from a python package or built the code yourself?

We're looking into this!

@BoyuanLong FYI

@alex-petrenko
Copy link
Owner

alex-petrenko commented Aug 26, 2021

I found one machine where I have the exact same problem, after installing from a prebuilt package.
It helped to just install from sources, or build a package myself. Can you please try the installation instruction from readme to see if it works for now?

If you want to build your own .whl file, in the last step of the instruction just run
python setup.py bdist_wheel instead of pip install -e .

@DrJimFan
Copy link
Author

Thank you so much for your timely reply! I got the above libMagnum error when I installed from prebuilt package. Following your advice, I'm trying to build from source, but got another error:

CMake Error at /usr/lib/cmake/glm/glmConfig-version.cmake:4 (if):
  if given arguments:

    "0.9.9" "VERSION_LESS"

  Unknown arguments specified
Call Stack (most recent call first):
  3rdparty/v4r/CMakeLists.txt:52 (find_package)


CMake Warning at 3rdparty/v4r/CMakeLists.txt:52 (find_package):
  Could not find a configuration file for package "glm" that is compatible
  with requested version "0.9.9".

  The following configuration files were considered but not accepted:

    /usr/lib/cmake/glm/glmConfig.cmake, version: 0.9.9
    /lib/cmake/glm/glmConfig.cmake, version: unknown

@alex-petrenko
Copy link
Owner

@LinxiFan can you please send your version of OS (i.e. Ubunbu release) and version of GLM?
(dpkg -l | grep glm on Ubuntu for GLM version).

Also, can you just try to remove the version string on line 52 in megaverse/src/3rdparty/v4r/CMakeLists.txt?
Such as:
find_package(glm CONFIG)

@shacklettbp FYI
Is there a reason v4r requires a specific version of GLM?
Also, you said a newer version of v4r bundles with libs such as GLM, am I right?

@xbz-24
Copy link

xbz-24 commented Mar 23, 2024

is there any fix for thsi, I am getting same bullshit

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

3 participants