Ticket #28000: library_checker.sh

File library_checker.sh, 241 bytes (added by rmstonecipher@…, 14 years ago)

script to test for libpoppler.7.dylib

Line 
1#!/bin/sh
2
3ports=""
4for f in $(find /opt/local/bin) $(find /opt/local/lib -name \*.dylib); do
5    if otool -L $f | grep -q 'libpoppler\.7'; then
6        ports+="\n$(port provides $f | cut -d ' ' -f 5)"
7    fi
8done
9
10echo $ports | sort | uniq