You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install mysql using cpanm DBD::mysql but that ends with an error:
/lib64/libc.so.6: version `GLIBC_2.35' not found (required by /home/linuxbrew/.linuxbrew/opt/gcc/lib/gcc/current/libgcc_s.so.1)
Now I have glibc packages installed in /opt and tried patchelf --set-interpreter /opt/glibc-2.35/lib/ld-linux-x86-64.so.2 --set-rpath /opt/glibc-2.35/lib/ /home/linuxbrew/.linuxbrew/opt/gcc/lib/gcc/current/libgcc_s.so.1, but this results in an error:
patchelf: cannot find section '.interp'. The input file is most likely statically linked
Expected behavior
Since the first error stated that GLIBC_2.35 is "required by /home/linuxbrew/.linuxbrew/opt/gcc/lib/gcc/current/libgcc_s.so.1", I assumed that I needed to link the new glibc lib to /home/linuxbrew/.linuxbrew/opt/gcc/lib/gcc/current/libgcc_s.so.1, so that cpanm DBD::mysql could work with the new glibc package.
Describe the bug + Steps To Reproduce
I'm trying to install mysql using
cpanm DBD::mysql
but that ends with an error:Now I have glibc packages installed in /opt and tried
patchelf --set-interpreter /opt/glibc-2.35/lib/ld-linux-x86-64.so.2 --set-rpath /opt/glibc-2.35/lib/ /home/linuxbrew/.linuxbrew/opt/gcc/lib/gcc/current/libgcc_s.so.1
, but this results in an error:Expected behavior
Since the first error stated that GLIBC_2.35 is "required by /home/linuxbrew/.linuxbrew/opt/gcc/lib/gcc/current/libgcc_s.so.1", I assumed that I needed to link the new glibc lib to
/home/linuxbrew/.linuxbrew/opt/gcc/lib/gcc/current/libgcc_s.so.1
, so thatcpanm DBD::mysql
could work with the new glibc package.patchelf --set-interpreter /opt/glibc-2.35/lib/ld-linux-x86-64.so.2 --set-rpath /opt/glibc-2.35/lib/ /home/linuxbrew/.linuxbrew/opt/gcc/lib/gcc/current/libgcc_s.so.1
The text was updated successfully, but these errors were encountered: