[Tile-serving] [openstreetmap/osm2pgsql] libboost_filesystem.so.1.71.0: cannot open shared object file: No such file or directory (Issue #1794)

Paul Norman notifications at github.com
Tue Oct 11 01:33:47 UTC 2022


> @pnorman The `osm2pgsql` installed through `Ubuntu Repo` (`sudo apt install osm2pgsql`) looks for `libboost 1.71.0` : `osm2pgsql: error while loading shared libraries: libboost_filesystem.so.1.71.0: cannot open shared object file: No such file or directory` while the pre-installed `libboost` version is `1.74.0`

You've somehow screwed up your system, as osm2pgsql in 22.04 depends on 1.74.0. On discord you mentioned that you had upgraded your system, and as 20.04 came with boost 1.71.0, it's likely related to incorrectly updating.

> This is the output of `sudo ldconfig -p | grep boost` :

You shouldn't need to do anything with ldconfig, and you definitely should not be setting `LD_LIBRARY_PATH`.

Closing as not an osm2pgsql issue.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1794#issuecomment-1273975719
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/issues/1794/1273975719 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20221010/04e49c8b/attachment.htm>


More information about the Tile-serving mailing list