avstack-lab / carla-sandbox

MIT License
6 stars 2 forks source link

GLIBC version issue with carla sandbox #4

Closed roshambo919 closed 9 months ago

roshambo919 commented 9 months ago

Hey @roshambo919

I have the same error coming while trying to use the carla-sandbox. The 'main branch' you mentioned is not clear to me whether it is for the carla-sandbox or lib-avstack-core or lib-avstack-api. I checked the sub module branch from the carla-sanddbox repo and found that it is pointed some detached head. I tried changed manually to main branch for both lib-avstack-core and lib-avstack-api.

Then deleted the virtual environment and followed the steps from 'poetry install'. But ending up with the same error.

ImportError: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34 not found (required by /home/going/carla-sandbox/.venv/lib/python3.10/site-packages/carla/libcarla.cpython-310-x86_64-linux-gnu.so)

Thanks and waiting for your feedback

Originally posted by @ronyshaji in https://github.com/avstack-lab/lib-avstack-core/issues/11#issuecomment-1889612467

roshambo919 commented 9 months ago

@ronyshaji - this issue was once again an issue with my building the carla python API on an ubuntu 22 machine and then a user trying to apply it on an ubuntu 20 machine. I have successfully built the carla python API with glibc 2.31 and tested it on ubuntu 20 to verify that it works. I'm having some issues with my Globus data storage, so I'm not able to push the new carla python api wheel up yet, but hopefully it will be soon!

ronyshaji commented 9 months ago

@roshambo919 Thanks for the feedback. Is it possible to send the carla whl file by any chance so that I can host on gdrive or something and edit the pyproject.toml? I already tried to build 0.9.13 using python 3.10 but getting problem as I already have 0.9.15 installed.

roshambo919 commented 9 months ago

Yes, here's a link to the wheel that should work for you. As you mentioned, edit the toml file to reflect the local path.

I'll update when it is hosted on our system.

https://drive.google.com/file/d/1OZwOTdeZNPBsHYY4--eMVeS4kNUkijz2/view?usp=drivesdk

roshambo919 commented 9 months ago

@ronyshaji I have successfully updated the carla wheel file on our hosting site. You should be able to use the same original toml file. Follow the the instructions here for how to reset your poetry cache.