Project

General

Profile

Bug #12379 » mkmf.log

error log from `gem install ffi` - kimuraw (Wataru Kimura), 05/13/2016 04:41 PM

 
1
| pkg-config --libs libffi
2
=> "dyld: Symbol not found: _iconv\n"
3
=> "  Referenced from: /usr/lib/libcups.2.dylib\n"
4
=> "  Expected in: /opt/local/lib/libiconv.2.dylib\n"
5
=> " in /usr/lib/libcups.2.dylib\n"
6
"/usr/bin/clang -o conftest -I/opt/local/include/ruby-2.4.0/x86_64-darwin15 -I/opt/local/include/ruby-2.4.0/ruby/backward -I/opt/local/include/ruby-2.4.0 -I. -I/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -Os -fno-common conftest.c  -L. -L/opt/local/lib -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -fstack-protector -L/usr/local/lib -L/opt/local/lib   -arch x86_64   -lruby.2.4.0  -lpthread -ldl -lobjc "
7
checked program was:
8
/* begin */
9
1: #include "ruby.h"
10
2: 
11
3: int main(int argc, char **argv)
12
4: {
13
5:   return 0;
14
6: }
15
/* end */
16

    
17
"/usr/bin/clang -o conftest -I/opt/local/include/ruby-2.4.0/x86_64-darwin15 -I/opt/local/include/ruby-2.4.0/ruby/backward -I/opt/local/include/ruby-2.4.0 -I. -I/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -Os -fno-common conftest.c  -L. -L/opt/local/lib -L/opt/local/lib -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -fstack-protector -L/usr/local/lib -L/opt/local/lib   -arch x86_64   -lruby.2.4.0  -lpthread -ldl -lobjc "
18
checked program was:
19
/* begin */
20
1: #include "ruby.h"
21
2: 
22
3: int main(int argc, char **argv)
23
4: {
24
5:   return 0;
25
6: }
26
/* end */
27

    
28
| pkg-config --cflags-only-I libffi
29
=> "dyld: Symbol not found: _iconv\n"
30
=> "  Referenced from: /usr/lib/libcups.2.dylib\n"
31
=> "  Expected in: /opt/local/lib/libiconv.2.dylib\n"
32
=> " in /usr/lib/libcups.2.dylib\n"
33
| pkg-config --cflags libffi
34
=> "dyld: Symbol not found: _iconv\n"
35
=> "  Referenced from: /usr/lib/libcups.2.dylib\n"
36
=> "  Expected in: /opt/local/lib/libiconv.2.dylib\n"
37
=> " in /usr/lib/libcups.2.dylib\n"
38
| pkg-config --libs-only-l libffi
39
=> "dyld: Symbol not found: _iconv\n"
40
=> "  Referenced from: /usr/lib/libcups.2.dylib\n"
41
=> "  Expected in: /opt/local/lib/libiconv.2.dylib\n"
42
=> " in /usr/lib/libcups.2.dylib\n"