Skip to content

Instantly share code, notes, and snippets.

@Capncavedan
Created July 19, 2012 15:05
Show Gist options
  • Save Capncavedan/3144555 to your computer and use it in GitHub Desktop.
Save Capncavedan/3144555 to your computer and use it in GitHub Desktop.
Rdiscount installation / Jruby 1.6.7

Continuously have problems installing rdiscount under Jruby on Mac OS X 10.7 with the Apple Developer Tools.

LD linked library error regarding not being able to find -lbundle.o

The cc compiler is using /usr/local/lib and bundle.o is instead in /usr/lib

The below adds /usr/lib as a path the compiler will check for shared libraries

gem install rdiscount -- --with-ldflags="-R /usr/lib"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment