Skip to content

Instantly share code, notes, and snippets.

@micahrj
Created August 10, 2010 20:11
Show Gist options
  • Save micahrj/517905 to your computer and use it in GitHub Desktop.
Save micahrj/517905 to your computer and use it in GitHub Desktop.
$ UNIVERSAL=1 rake
(in /Users/micah/Code/shoes)
we're universal!
rm -rf dist
mkdir -p dist
rm -f dist/shoes
rm -f dist/shoes-bin
ld: warning in bin/main.o, file is not of required architecture
ld: warning in /usr/local/Cellar/ruby/1.9.1-p378/lib/libruby.dylib, file is not of required architecture
ld: warning in /usr/local/Cellar/cairo/1.8.10/lib/libcairo.dylib, file is not of required architecture
ld: warning in /usr/local/Cellar/pango/1.28.1/lib/libpangocairo-1.0.dylib, file is not of required architecture
ld: warning in /usr/local/lib/libgif.dylib, file is not of required architecture
ld: warning in /usr/local/lib/libpixman-1.dylib, file is not of required architecture
ld: warning in /usr/local/Cellar/pango/1.28.1/lib/libpango-1.0.dylib, file is not of required architecture
ld: warning in /usr/local/Cellar/glib/2.24.1/lib/libgobject-2.0.dylib, file is not of required architecture
ld: warning in /usr/local/Cellar/glib/2.24.1/lib/libgmodule-2.0.dylib, file is not of required architecture
ld: warning in /usr/local/Cellar/glib/2.24.1/lib/libgthread-2.0.dylib, file is not of required architecture
ld: warning in /usr/local/Cellar/glib/2.24.1/lib/libglib-2.0.dylib, file is not of required architecture
ld: warning in /usr/local/Cellar/gettext/0.17/lib/libintl.dylib, file is not of required architecture
ld: warning in dist/libshoes.dylib, file is not of required architecture
Undefined symbols:
"_main", referenced from:
start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
rake aborted!
Command failed with status (1): [gcc -Ldist -o dist/shoes-bin bin/main.o -l...]
/Users/micah/Code/shoes/Rakefile:539:in `block in <top (required)>'
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment