vedic-lang/vedic

Error when run the code [GLIBC_2.33 Issue]

amreshpro opened this issue · 6 comments

  • OS: linux

  • Error = vedic: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by vedic)

screenshot

Screenshot from 2023-08-17 10-13-31

Hello @amreshpro,

Thank you for reaching out and providing feedback. To assist you further, could you please provide us with the exact details of your operating system, including its name, version, and CPU architecture? This information will help us better understand your environment and address the bug you encountered.

Additionally, it would be helpful if you could tell me which method you used to install the vedic compiler. This will aid us in diagnosing and resolving the issue you're facing.

We appreciate your cooperation and look forward to assisting you in resolving the matter promptly.

Hello @amreshpro ,

Looks like the bug you encountered is due to missing GLIBC library in your machine, To address the issue, I recommend trying the following steps:

  1. Install missing GLIBC_2.33:
    You can use the following commands to update and install the required library:

    sudo apt-get update
    sudo apt-get install libc6
    
  2. If the issue persists, consider building the VEDIC compiler on your machine by following these steps:

    sudo apt update
    sudo apt upgrade -y
    curl https://sh.rustup.rs -sSf | sh
    source "$HOME/.cargo/env"
    
    git clone https://github.com/vedic-lang/vedic
    
    cd vedic
    cargo install cargo-deb
    cargo deb -p vedic
    sudo dpkg -i ./target/debian/vedic_*.deb
    

Please give these solutions a try and let us know if they resolve the problem. Feel free to reach out if you have any further questions or concerns.

Best regards,
Pt. Prashant Tripathi

After follow all steps of specified , nothing happen, the same error will through again and again.

After follow all steps of specified , nothing happen, the same error will through again and again.

Have you tried the alternative approach, building the compiler yourself?

Closing the issue since no update was provided by user in last 60 days