Can't download required gems - undefined references to GLIBC_PRIVATE

hello everyone !

i’m hosting a local instance of Discourse for dev purposes, and i had already succeeded in installing the required packages and gems and running an instance :slight_smile:

i wanted to update the gems installed through the Gemfile in the project, however several gems had an issue, starting at the ‘mini_racer 0.8.0’ gem update and its native expensions

the log indicates that it can’t compile due to undefined references such as this one :
/usr/bin/ld : /snap/core20/current/lib/x86_64-linux-gnu/libdl.so.2 : undefined reference to « _dl_sym@GLIBC_PRIVATE »
yet, i have installed the ‘glibc-source’ and ‘glibc_tools’ packages installed :confused:

would you have any lead on how to fix this ?
thanks in advance ! :purple_heart:

OS : Ubuntu 22.04 LYS
Ruby ver. : ruby 3.2.2 [x86_64-linux]

Found the solution !
I had switched to the zsh terminal, but when i went back to bash, it worked again !

have a nice day :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.