This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Error during Nominatim configure - no library found

1

I have a machine running CentOS and I followed the instructions on https://wiki.openstreetmap.org/wiki/Nominatim/Installation and have installed all the software listed there.

But when I try to run ./configure on Nominatim, I am getting the following output:

checking for proj headers in /usr/include... not found
checking for proj projection library... no
configure: error: required library not found

Someone in the forum suggested to find "org_proj4_Projections.h" file and add the directory path in the configure script, so did a search for the file:

# find / -name org_proj4_Projections.h
/usr/include/org_proj4_Projections.h

and the header apparently is there in /user/include directory. What could the problem be? Thanks

asked 26 Sep '13, 23:04

baekacaek's gravatar image

baekacaek
176121317
accept rate: 0%

edited 27 Sep '13, 01:16


One Answer:

3

I was faced with the same issue on Fedora 19. After a lot of digging into the configure script, realized that I had to install gcc-c++ package.

answered 28 Sep '13, 22:06

chatman's gravatar image

chatman
7112
accept rate: 100%

2

My goodness, thank you so much! This solved the problem. Hopefully they update the guide to include installation of gcc-c++

(30 Sep '13, 19:27) baekacaek
2

Apparently, someone updated the wiki to include gcc-c++ in the installation guide. Cheers.

(30 Sep '13, 19:31) baekacaek

Source code available on GitHub .