[GIS] How to fix Error: could not access file “$libdir/librouting”

macpgrouting

I am trying to run the sql file of pgrouting-> routing_core.sql in mac. However it displays the following error

psql:routing_core.sql:32: Error:  could not access file "$libdir/librouting": No such file or directory

How can I remove this?

Best Answer

Probably something went wrong when you compiled pgRouting as the libraries are not where they should be.