error message regarding /lib64/libm.so.6

The engine.
Post Reply
BayesFusionUser123
Posts: 15
Joined: Tue Jun 10, 2025 3:51 pm

error message regarding /lib64/libm.so.6

Post by BayesFusionUser123 »

I am using the 2.4.0 version of pysmile.

Code: Select all

Name: pysmile Version: 2.4.0 
Summary: BayesFusion's SMILE wrapper 
Home-page: [https://bayesfusion.com/](https://bayesfusion.com/) 
Author: BayesFusion LLC Author-email: support@bayesfusion.com
In my local machine, my Linux is cutting edge, and there is no issue. If I use this newest version on the server, it reports errors like

Code: Select all

File ".../tutorials/python/tutorial1.py", line 1, in <module>
    import pysmile
ImportError: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by .../anaconda3/envs/smile/lib/python3.11/site-packages/pysmile.so)
I cannot upgrade the Linux system of the server in the university, as it is a cluster.

Is there any way to fix this issue without upgrading the Linux system on the server? Thanks.
shooltz[BayesFusion]
Site Admin
Posts: 1469
Joined: Mon Nov 26, 2007 5:51 pm

Re: error message regarding /lib64/libm.so.6

Post by shooltz[BayesFusion] »

Which Linux distro runs on your cluster?
BayesFusionUser123
Posts: 15
Joined: Tue Jun 10, 2025 3:51 pm

Re: error message regarding /lib64/libm.so.6

Post by BayesFusionUser123 »

Hi, here is the Linux information for the cluster, using command

Code: Select all

cat /etc/os-release
:

Code: Select all

NAME="Rocky Linux"
VERSION="8.10 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.10 (Green Obsidian)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2029-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-8"
ROCKY_SUPPORT_PRODUCT_VERSION="8.10"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.10"
shooltz[BayesFusion]
Site Admin
Posts: 1469
Joined: Mon Nov 26, 2007 5:51 pm

Re: error message regarding /lib64/libm.so.6

Post by shooltz[BayesFusion] »

I have sent you a download link using private forum message.
BayesFusionUser123
Posts: 15
Joined: Tue Jun 10, 2025 3:51 pm

Re: error message regarding /lib64/libm.so.6

Post by BayesFusionUser123 »

Thank you shooltz[BayesFusion].
I have installed and tested, and it looks good.

Just to confirm, after I installed the whl file using the command `pip install [whl file]`, the .so file automatically appears in my Python virtual environment package folder.
So, I do not need to do anything with the .so file provided in the Google Drive you shared with me, right?
Thanks.
shooltz[BayesFusion]
Site Admin
Posts: 1469
Joined: Mon Nov 26, 2007 5:51 pm

Re: error message regarding /lib64/libm.so.6

Post by shooltz[BayesFusion] »

Correct, the .so file from the .tar.gz archive is for the scenario where you do not use pip.
Post Reply