shell script to link on FreeBSD
BUGZID: