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

raphael10-collab notifications at github.com
Tue Oct 11 07:34:31 UTC 2022


@ImreSamu 

steps followed:

1) removed osm2pgsql : 
    
    raphy at pc:~$ sudo apt remove osm2pgsql
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following package was automatically installed and is no longer required:
      python3-pyosmium
    Use 'sudo apt autoremove' to remove it.
    The following packages will be REMOVED:
      osm2pgsql
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    After this operation, 1.080 kB disk space will be freed.
    Do you want to continue? [Y/n] Y
    (Reading database ... 256271 files and directories currently installed.)
    Removing osm2pgsql (1.6.0+ds-1) ...
    Processing triggers for man-db (2.10.2-1) ...

2) checked which osm2pgsql : 
    
    raphy at pc:~$ which osm2pgsql
    /usr/local/bin/osm2pgsql

3) apt update :  

    raphy at pc:~$ sudo apt update
    Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
    Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease              
    Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]    
    Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]      
    Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata [92,7 kB]
    Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
    Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [247 kB]
    Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [13,0 kB]
    Get:9 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata [12,4 kB]
    Fetched 591 kB in 1s (736 kB/s)             
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    All packages are up to date.

4) install osm2pgsql 

    raphy at pc:~$ sudo apt install osm2pgsql
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following NEW packages will be installed:
      osm2pgsql
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 414 kB of archives.
    After this operation, 1.080 kB of additional disk space will be used.
    Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 osm2pgsql amd64 1.6.0+ds-1 [414 kB]
    Fetched 414 kB in 0s (1.944 kB/s) 
    Selecting previously unselected package osm2pgsql.
    (Reading database ... 256257 files and directories currently installed.)
    Preparing to unpack .../osm2pgsql_1.6.0+ds-1_amd64.deb ...
    Unpacking osm2pgsql (1.6.0+ds-1) ...
    Setting up osm2pgsql (1.6.0+ds-1) ...
    Processing triggers for man-db (2.10.2-1) ...

5) 

    raphy at pc:~$ osm2pgsql -V
    osm2pgsql: error while loading shared libraries: libboost_filesystem.so.1.71.0: cannot open shared object file: No such file or 
    directory

  Why does this happen?


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

Message ID: <openstreetmap/osm2pgsql/issues/1794/1274221516 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20221011/46df7404/attachment-0001.htm>


More information about the Tile-serving mailing list