Open milgner opened 13 years ago
I do have the same Issue and ended up having to patch the lib path too
$LDFLAGS = "-L/Users/myuser/.rvm/src/ruby-1.9.2-p180 #{$libraries} #{$LDFLAGS}" $LIBPATH = ["/Users/myuser/.rvm/src/ruby-1.9.2-p180", "#{HERE}/lib"]
Is there a better way to fix that? Normally I would want to use --with-ruby-lib to compile and path extra path and it is not making a difference...
Also seems like an OSX issue mostly because it works with same RVM and version on linux...
Building the native extension does not work correctly when using RVM. Manually adding the lib path like so https://github.com/milgner/memcache/commit/474a45ecb88e49d948c0c499a626c54e8160c5be did the trick. This of course is no solution but I don't know enough about extconf to get the correct path.