summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dl/test_handle.rb2
-rw-r--r--test/fiddle/test_handle.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/dl/test_handle.rb b/test/dl/test_handle.rb
index 4ef93adf41..83b8af1960 100644
--- a/test/dl/test_handle.rb
+++ b/test/dl/test_handle.rb
@@ -181,7 +181,7 @@ module DL
# In general uses of dlerror(3) should call it before use it.
require 'socket'
Socket.gethostbyname("localhost")
- DL.dlopen("/usr/lib/libc.so").sym('strcpy')
+ DL.dlopen("/lib/libc.so.7").sym('strcpy')
end if /freebsd/=~ RUBY_PLATFORM
end
end
diff --git a/test/fiddle/test_handle.rb b/test/fiddle/test_handle.rb
index 2af3e5c903..c598cc33a2 100644
--- a/test/fiddle/test_handle.rb
+++ b/test/fiddle/test_handle.rb
@@ -183,7 +183,7 @@ module Fiddle
# In general uses of dlerror(3) should call it before use it.
require 'socket'
Socket.gethostbyname("localhost")
- Fiddle.dlopen("/usr/lib/libc.so").sym('strcpy')
+ Fiddle.dlopen("/lib/libc.so.7").sym('strcpy')
end if /freebsd/=~ RUBY_PLATFORM
end
end if defined?(Fiddle)