Starefossen / docker-pgrouting

:whale: Docker Image for pgRouting with PostGIS and official Postgres Docker Image
https://registry.hub.docker.com/u/starefossen/pgrouting/
MIT License
33 stars 19 forks source link

could not access file "$libdir/libpgrouting-2.5" #16

Open ghost opened 6 years ago

ghost commented 6 years ago

db_1 | 2018-07-03 15:01:31.624 UTC [31] STATEMENT: CREATE EXTENSION pgrouting db_1 | 2018-07-03 15:01:42.165 UTC [31] ERROR: could not access file "$libdir/libpgrouting-2.5": No such file or directory db_1 | 2018-07-03 15:01:42.165 UTC [31] CONTEXT: SQL function "pgr_bddijkstra" statement 1

now i use this,please fix it: docker exec -it bash: ln -s usr/lib/postgresql/10/lib/libpgrouting-2.6.so usr/lib/postgresql/10/lib/libpgrouting-2.5.so