why not:

```php
require_once 'swift_required.php';
```

The place where pear installs things isn't necessarily lib is it?  or in the same package?