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
add -lz to the libraries linked against by mkmf's TRY_LINK
which wasn't necessary on manylinux2014 but seems to be necessary on
ubuntu:20.04 (but just for intel+gnu? weird.) to resolve this error
building native extensions:
LD_LIBRARY_PATH=.:/usr/local/rake-compiler/ruby/x86_64-linux-gnu/ruby-3.3.0-rc1/lib
"x86_64-linux-gnu-gcc -o conftest
-I/usr/local/rake-compiler/ruby/x86_64-linux-gnu/ruby-3.3.0-rc1/include/ruby-3.3.0+0/x86_64-linux-gnu
-I/usr/local/rake-compiler/ruby/x86_64-linux-gnu/ruby-3.3.0-rc1/include/ruby-3.3.0+0/ruby/backward
-I/usr/local/rake-compiler/ruby/x86_64-linux-gnu/ruby-3.3.0-rc1/include/ruby-3.3.0+0
-I../../../../ext/mri -O1 -fno-omit-frame-pointer -fno-fast-math
-fstack-protector-strong -s -fPIC conftest.c
-L. -L/usr/local/rake-compiler/ruby/x86_64-linux-gnu/ruby-3.3.0-rc1/lib
-Wl,-rpath,/usr/local/rake-compiler/ruby/x86_64-linux-gnu/ruby-3.3.0-rc1/lib
-L. -pipe -s -fstack-protector-strong -rdynamic -Wl,-export-dynamic
-Wl,--no-as-needed -lruby-static -lpthread -lrt -ldl -lcrypt
-Wl,-rpath,/usr/local/rake-compiler/ruby/x86_64-linux-gnu/ruby-3.3.0-rc1/lib
-lruby -lm -lpthread -lc"
/usr/bin/ld: /usr/local/rake-compiler/ruby/x86_64-linux-gnu/ruby-3.3.0-rc1/lib/libruby-static.a(addr2line.o): in function `fill_lines':
addr2line.c:(.text+0x1bc0): undefined reference to `uncompress'
collect2: error: ld returned 1 exit status
0 commit comments