From: "spastorino (Santiago Pastorino)" <santiago@...> Date: 2013-08-09T16:12:38+09:00 Subject: [ruby-core:56467] [ruby-trunk - Bug #8759][Open] Error compiling miniruby Issue #8759 has been reported by spastorino (Santiago Pastorino). ---------------------------------------- Bug #8759: Error compiling miniruby https://bugs.ruby-lang.org/issues/8759 Author: spastorino (Santiago Pastorino) Status: Open Priority: Normal Assignee: nobu (Nobuyoshi Nakada) Category: Target version: ruby -v: ruby 2.1.0dev (2013-08-09 trunk 42459) [x86_64-darwin12.4.0] Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN I'm getting an error compiling miniruby after this change https://github.com/ruby/ruby/commit/c04f402f0f7692f6105c930f19d81b332d6a93d5 nobu added ... linking miniruby Undefined symbols for architecture x86_64: "_CFRelease", referenced from: _rb_str_normalize_ospath in file.o "_CFStringCreateMutableCopy", referenced from: _rb_str_normalize_ospath in file.o "_CFStringCreateWithBytesNoCopy", referenced from: _rb_str_normalize_ospath in file.o "_CFStringGetBytes", referenced from: _rb_str_normalize_ospath in file.o "_CFStringGetLength", referenced from: _rb_str_normalize_ospath in file.o "_CFStringNormalize", referenced from: _rb_str_normalize_ospath in file.o "_kCFAllocatorDefault", referenced from: _rb_str_normalize_ospath in file.o "_kCFAllocatorNull", referenced from: _rb_str_normalize_ospath in file.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [miniruby] Error 1 Patch attached -- http://bugs.ruby-lang.org/