Issue #9559 has been updated by Hiroshi SHIBATA.

Status changed from Assigned to Closed

DL has been removed from Ruby 2.2.0 or later.

but I think we need to backport this issue into Ruby 2.1 and 2.0.0

https://github.com/freebsd/freebsd-ports/blob/master/lang/ruby19/files/patch-ext__dl__extconf.rb

----------------------------------------
Bug #9559: build failure with clang 3.4
https://bugs.ruby-lang.org/issues/9559#change-50892

* Author: Steve Wills
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: ext
* Target version: current: 2.2.0
* ruby -v: -
* Backport: 2.0.0: REQUIRED, 2.1: REQUIRED
----------------------------------------
With clang 3.4 ruby has problems configuring / building dl.so. Please see:

http://lists.freebsd.org/pipermail/freebsd-ruby/2014-February/004085.html

The attached patch resolves it.



-- 
https://bugs.ruby-lang.org/