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

cmake on ubuntu 22.04-lts requires libboost-dev, libboost-system-dev, libboost-filesystem-dev to be installed #2194

Closed
mumins opened this issue Jun 11, 2024 · 2 comments

Comments

@mumins
Copy link

mumins commented Jun 11, 2024

What version of osm2pgsql are you using?

2024-06-11 16:37:59 osm2pgsql version 1.11.0 (1.11.0)
Build: RelWithDebInfo
Compiled using the following library versions:
Libosmium 2.20.0
Proj [API 6] 8.2.1
Lua 5.3.6

What operating system and PostgreSQL/PostGIS version are you using?

14.12 / 3.2.0

ubuntu 22_04-lts-gen2, Azure image 22.04.202405140

Tell us something about your system

Azure virtual machine Standard D8ads v5 (8 vcpus, 32 GiB memory)

What did you do exactly?

cmake

What did you expect to happen?

Install instructions provide complete list of required libraries.

What did happen instead?

cmake threw error messages
Could not find a package configuration file provided by "boost_system"
Could not find a package configuration file provided by "boost_filesystem"

What did you do to try analyzing the problem?

Added libboost-system-dev, libboost-filesystem-dev to the list of required packages.
It fixed the issue.

Suggestion: update installation instructions.

@joto
Copy link
Collaborator

joto commented Jun 12, 2024

The README for the version 1.11.0 that you are using has both libboost-system-dev and libboost-filesystem-dev packages in the Debian/Ubuntu command line. So I believe this is correct. You might have been confused looking at the current master README which doesn't have these any more, because they are not needed any more.

@mumins
Copy link
Author

mumins commented Jun 12, 2024

You are right, I was looking into master README.
Thank you!

@mumins mumins closed this as completed Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants