Fix "cannot find the function: strcpy()" error on arm32 on Travis CI. (#2686)
This issue happened when libc.so and libm.so path were not found and ldd ruby command also failed to print the shared dependencies in test/fiddle/helper.rb.
libc.so
libm.so
ldd ruby
test/fiddle/helper.rb
See https://travis-ci.org/ruby/ruby/jobs/611483288#L3018 /home/travis/build/ruby/ruby/build/.ext/common/fiddle/import.rb:299:in `import_function': cannot find the function: strcpy() (Fiddle::DLError)
Fix "cannot find the function: strcpy()" error on arm32 on Travis CI. (#2686)
This issue happened when
libc.soandlibm.sopath were not foundand
ldd rubycommand also failed to print the shared dependenciesin
test/fiddle/helper.rb.See https://travis-ci.org/ruby/ruby/jobs/611483288#L3018
/home/travis/build/ruby/ruby/build/.ext/common/fiddle/import.rb:299:in `import_function': cannot find the function: strcpy() (Fiddle::DLError)