#!/bin/sh
#
# libLocation - Return the location of the specified library
#

LIB_NAME=$1

POSSIBLE_DIRS=`getKnownLibPaths`


for i in $POSSIBLE_DIRS
do
    if [ -f "$i/$LIB_NAME" ]
    then
        echo `deReference $i`
	exit 0
    fi

done

