Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: could not access file "$libdir/librouting": No such file or directory #6

Open
edwardsamuel opened this issue Apr 7, 2016 · 2 comments
Assignees
Labels

Comments

@edwardsamuel
Copy link

I run this Docker image using the following command:

docker run -d --name ${POSTGRES_CONTAINER_NAME} -p 5432:5432 -e POSTGRES_USER="${POSTGRES_USER}" -e POSTGRES_PASSWORD="${POSTGRES_PASSWORD}" -v ${POSTGRES_HOST_DATA_PATH}:/var/lib/postgresql/data starefossen/pgrouting:9.4-2.1-2.1

When we run PGRouting queries, like:

SELECT seq, id1 vertex_id, id2 line_id, cost
FROM pgr_dijkstra(
  'SELECT id, source::int, target::int, cost FROM osm_2po_4pgr WHERE geom_way && ST_Expand(ST_SetSRID(ST_MakeEnvelope(-87.6902068, 41.8844823, -87.6363398, 41.939693), 4326), 0.02)',
  6276441, 6334195, false, false
)

It gave me this error:

ERROR:  could not access file "$libdir/librouting": No such file or directory

********** Error **********

ERROR: could not access file "$libdir/librouting": No such file or directory
SQL state: 58P01

Last time, I run from latest (it should be 9.4-2.1-2.0 at that time) and it run properly. But, when I re-download the latest or 9.4-2.1-2.1, it is broken.

@Starefossen Starefossen self-assigned this Apr 7, 2016
@Starefossen
Copy link
Owner

Thanks for the report @edwardsamuel, I will be checking up on this as soon as I have the time.

@Starefossen Starefossen added the bug label Apr 7, 2016
@edwardsamuel
Copy link
Author

I think the issue was come out because I upgraded my existing data to the current images. The mdillon/postgis was upgraded to 2.2. After I did ALTER EXTENSION postgis UPDATE;, the problem was gone.

I created an issue in postgis/docker-postgis#26 to asked mdillon/postgis to keep minor version tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants