Bug #5168
closedlibc and libm path in test/dl and test/fiddle on Solaris
Description
In test/dl/test_base.rb, "libc.so.6" and "libm.so.6" are used for Solaris, but sparc Solaris only have libc.so.1 and libm.so.2.
I don't know what version number on Intel x86 Solaris, so I simply removed the version numbers. (file test-dl-libc-solaris.patch)
Similar code is found in test/fiddle/test_base.rb, but no code for Solaris.
Patch attached. (file test-fiddle-libc-solaris.patch)
Files
Updated by tenderlovemaking (Aaron Patterson) over 13 years ago
- ruby -v changed from ruby 1.9.3dev (2011-08-08) [sparc-solaris2.10] to -
On Mon, Aug 08, 2011 at 11:02:45PM +0900, Naohisa Goto wrote:
Issue #5168 has been reported by Naohisa Goto.
Bug #5168: libc and libm path in test/dl and test/fiddle on Solaris
http://redmine.ruby-lang.org/issues/5168Author: Naohisa Goto
Status: Open
Priority: Normal
Assignee: Aaron Patterson
Category:
Target version:
ruby -v: ruby 1.9.3dev (2011-08-08) [sparc-solaris2.10]In test/dl/test_base.rb, "libc.so.6" and "libm.so.6" are used for Solaris, but sparc Solaris only have libc.so.1 and libm.so.2.
I don't know what version number on Intel x86 Solaris, so I simply removed the version numbers. (file test-dl-libc-solaris.patch)Similar code is found in test/fiddle/test_base.rb, but no code for Solaris.
Patch attached. (file test-fiddle-libc-solaris.patch)
Yes, feel free to commit this. :-)
--
Aaron Patterson
http://tenderlovemaking.com/
Updated by kosaki (Motohiro KOSAKI) over 13 years ago
- Category set to test
- Status changed from Open to Assigned
- Assignee changed from tenderlovemaking (Aaron Patterson) to ngoto (Naohisa Goto)
- Target version set to 1.9.3
Goto-san, A test fix still can be commited into 1_9_3 branch if you want. Because it has no regression risk.
Thanks.
Updated by ngoto (Naohisa Goto) over 13 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r32893.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- ChangeLog: mention [ruby-core:38853] [Bug #5168] for r32892