ruby / fiddle

A libffi wrapper for Ruby.
BSD 2-Clause "Simplified" License
158 stars 36 forks source link

Do not use a libdir for glibc, it breaks Linux PPC64 #70

Closed jeremyevans closed 3 years ago

jeremyevans commented 3 years ago

Fixes [Bug #12666]

kou commented 3 years ago

Thanks!

ahorek commented 3 years ago

you may consider using the same trick as FFI https://github.com/ffi/ffi/blob/master/lib/ffi/platform.rb#L141 https://github.com/ffi/ffi/blob/master/ext/ffi_c/Platform.c#L42

otherwise, libc.so.6 without an absolute path should be preferred.