I guess is that this is the correct file:
/usr/local/src/postgresql-8.2.1/contrib/ltree/sql/ltree.sql
Try to locate the directory of psql and call it using the full path. Also make sure you have a space character around the smaller than character ' < '.