Skip to content

Instantly share code, notes, and snippets.

@dwfait

dwfait/mkmf.log Secret

Created December 27, 2015 03:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dwfait/8e2a7309550bbc93cbda to your computer and use it in GitHub Desktop.
Save dwfait/8e2a7309550bbc93cbda to your computer and use it in GitHub Desktop.
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lruby-static -framework CoreFoundation -lpthread -lgmp -ldl -lobjc "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
| pkg-config --libs openssl
=> "dyld: Symbol not found: __cg_jpeg_resync_to_restart\n"
=> " Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO\n"
=> " Expected in: /usr/local/lib/libJPEG.dylib\n"
=> " in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO\n"
"clang -o conftest -I/usr/local/include/ruby-2.4.0/x86_64-darwin14 -I/usr/local/include/ruby-2.4.0/ruby/backward -I/usr/local/include/ruby-2.4.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe conftest.c -L. -L/usr/local/lib -L. -fstack-protector -L/usr/local/lib -lruby-static -framework CoreFoundation -lpthread -lgmp -ldl -lobjc "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
| pkg-config --cflags-only-I openssl
=> "dyld: Symbol not found: __cg_jpeg_resync_to_restart\n"
=> " Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO\n"
=> " Expected in: /usr/local/lib/libJPEG.dylib\n"
=> " in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO\n"
| pkg-config --cflags openssl
=> "dyld: Symbol not found: __cg_jpeg_resync_to_restart\n"
=> " Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO\n"
=> " Expected in: /usr/local/lib/libJPEG.dylib\n"
=> " in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO\n"
| pkg-config --libs-only-l openssl
=> "dyld: Symbol not found: __cg_jpeg_resync_to_restart\n"
=> " Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO\n"
=> " Expected in: /usr/local/lib/libJPEG.dylib\n"
=> " in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment