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

Radian tries to link against fixed version of glibcxx #375

Open
david-cortes opened this issue Aug 7, 2022 · 2 comments
Open

Radian tries to link against fixed version of glibcxx #375

david-cortes opened this issue Aug 7, 2022 · 2 comments

Comments

@david-cortes
Copy link

I get this error when trying to load radian, either through a pip or conda install:

Traceback (most recent call last):
  File "/home/david/anaconda3/bin/radian", line 10, in <module>
    sys.exit(main())
  File "/home/david/anaconda3/lib/python3.9/site-packages/radian/__init__.py", line 108, in main
    RadianApplication(r_home, ver=__version__).run(options)
  File "/home/david/anaconda3/lib/python3.9/site-packages/radian/radianapp.py", line 96, in run
    rchitect.init(args=args, register_signal_handlers=True)
  File "/home/david/anaconda3/lib/python3.9/site-packages/rchitect/setup.py", line 46, in init
    raise Exception(load_lib_error())
Exception: Cannot load shared library: /home/david/anaconda3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.71)

Here's an explanation of why this error happens: microsoft/LightGBM#5106 (comment)

Can be worked around by launching it with LD_PRELOAD="${LD_PRELOAD}:/usr/lib/x86_64-linux-gnu/libstdc++.so.6" radian, but this should be possible to fix by changing the setup logic.

@randy3k
Copy link
Owner

randy3k commented Aug 7, 2022

Likely because your anaconda build was built from a different version of libc than what the R build is.

@david-cortes
Copy link
Author

Likely because your anaconda build was built from a different version of libc than what the R build is.

Still happens with pip installs.

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