charlax/homebrew — comment on commit a5479f4eea03e2ed3b93193a225c18c25848fb42
File:  line 0
By charlax:

The error seems to happen when trying to copy "/tmp/homebrew-pgrouting-1.05-U4PJ/pgrouting-1.05/lib/librouting.so" to
"/usr/lib/postgresql/librouting.so".

Unfortunately I don't have Lion so I can't test it. Here are some stuff I would look into:

* Do you have a `/usr/lib/` folder? `/usr/lib/postgresql`?
* Maybe those files should be installed somewhere else because you do not have the rights to write to `/usr/lib/`. In that case, I would look into the pgrouting documentation to see if I can modify the folder in which those files are installed.

Hope that helps!