ffi

Ruby ffi gem issue

被刻印的时光 ゝ 提交于 2021-01-06 12:23:18
问题 I installed wpscan - a Ruby programm for finding security issues on Wordpress sites. But when I tried to run it I got the following message: [ERROR] dlopen(/Library/Ruby/Gems/2.0.0/gems/ffi-1.9.2/lib/ffi_c.bundle, 9): Library not loaded: /Users/headius/.rvm/rubies/ruby-head/lib/libruby.2.1.0.dylib Referenced from: /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.2/lib/ffi_c.bundle Reason: image not found - /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.2/lib/ffi_c.bundle My operating system is OS X Mavericks,

Ruby ffi gem issue

守給你的承諾、 提交于 2021-01-06 12:21:23
问题 I installed wpscan - a Ruby programm for finding security issues on Wordpress sites. But when I tried to run it I got the following message: [ERROR] dlopen(/Library/Ruby/Gems/2.0.0/gems/ffi-1.9.2/lib/ffi_c.bundle, 9): Library not loaded: /Users/headius/.rvm/rubies/ruby-head/lib/libruby.2.1.0.dylib Referenced from: /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.2/lib/ffi_c.bundle Reason: image not found - /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.2/lib/ffi_c.bundle My operating system is OS X Mavericks,

“cstdarg file not found” when running jextract on the C binding for a Rust project

痴心易碎 提交于 2020-12-13 03:29:07
问题 I'm trying to get a simple integer addition function written in Rust working with Java's Project Panama. Having generated the bindings using cbindgen crate, I get the following error when running jextract: jextract -t org.adder -L . -l adder-java --record-library-path -I /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdarg bindings.h -o adder-java.jar java.lang.RuntimeException: /Users/ash/Code/adder/bindings.h:1:10: fatal error: 'cstdarg' file not found I've looked at the examples

“cstdarg file not found” when running jextract on the C binding for a Rust project

旧巷老猫 提交于 2020-12-13 03:25:54
问题 I'm trying to get a simple integer addition function written in Rust working with Java's Project Panama. Having generated the bindings using cbindgen crate, I get the following error when running jextract: jextract -t org.adder -L . -l adder-java --record-library-path -I /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdarg bindings.h -o adder-java.jar java.lang.RuntimeException: /Users/ash/Code/adder/bindings.h:1:10: fatal error: 'cstdarg' file not found I've looked at the examples