Skip to content

Instantly share code, notes, and snippets.

@yasuhito
Created April 18, 2012 06:00
Show Gist options
  • Save yasuhito/2411381 to your computer and use it in GitHub Desktop.
Save yasuhito/2411381 to your computer and use it in GitHub Desktop.
a patch that fixes linkage problem?
diff --git a/ruby/extconf.rb b/ruby/extconf.rb
index cda078f..2343ba6 100644
--- a/ruby/extconf.rb
+++ b/ruby/extconf.rb
@@ -45,6 +45,10 @@ EOF
end
+unless find_library( "pthread", "pthread_create" )
+ error_exit error_lib_missing( "libpthread", "libc6-dev" )
+end
+
unless find_library( "rt", "clock_gettime" )
error_exit error_lib_missing( "librt", "libc6-dev" )
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment