You must set the "SYMFONY" environment variable to the symfony lib dir (export SYMFONY=/path/to/symfony/lib/).