Created
January 26, 2015 16:42
-
-
Save shadowbq/468fce1ed795cfbb0ed8 to your computer and use it in GitHub Desktop.
Dependency test for Barnyard2 compiled on FreeBSD 9.3 with MySQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
## Barnyard2 compiled on FreeBSD 9.3 with MySQL | |
filelist = %w{ /usr/local/lib/mysql/libmysqlclient.so.18 /lib/libz.so.6 /lib/libpcap.so.8 /lib/libm.so.5 /lib/libc.so.7 /usr/lib/libstdc++.so.6 /lib/libgcc_s.so.1 /lib/libthr.so.3} | |
require 'fileutils' | |
filelist.each do |libso| | |
puts "Missing: #{libso}" unless File.file?(libso) | |
end | |
puts "done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment