Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to install SUMO on Ubuntu 10.10: I followed sumo installation guidelines step by step:

I installed packages necessary to build SUMO, I created a symbolic link libgdal.so .

I decompressed the tarball and I moved the decompressed directory to /usr/local/src

Then I entered the source directory and I called configure:

$ ./configure --with-fox-includes=/usr/include/fox-1.6 \
--with-gdal-includes=/usr/include/gdal --with-proj-libraries=/usr \
--with-gdal-libraries=/usr --with-proj-gdal

In the configuration step I had this

error: configure :error:gdal-lib not found in “/usr”
share|improve this question
Please post the output of ls -l /usr/include/ |grep gdal, ls -l on wherever that libgdal.so link is. – terdon Sep 12 '13 at 18:49
drwxr-xr-x 2 root root 4096 2013-09-10 11:45 gdal – MYnoussa Sep 13 '13 at 9:18
hi this is what i get – MYnoussa Sep 13 '13 at 9:19
hi libgdal.so is found under /usr/lib – MYnoussa Sep 13 '13 at 10:27
What is "sumo"? – Keith Thompson Sep 13 '13 at 19:18

Install gdal-lib

That error is telling you that you need to install gdal-lib. You can download it from here, as pre-packaged binaries.

You could also use your package manager apt-get to try installing the package that includes this library + it's header files.

$ apt-get install libgdal-dev

You'll need to re-run the configure script before proceeding.

Change to configure command

Try changing your configure line to this instead:

$ ./configure --with-fox-includes=/usr/include/fox-1.6 \
--with-gdal-includes=/usr/include/gdal --with-proj-libraries=/usr \
--with-gdal-libraries=/usr/lib --with-proj-gdal
share|improve this answer
My guess is, libgdal-dev would be more pertinent here. – Joseph R. Sep 12 '13 at 19:59
@JosephR. - thank you I'm at work and did not recall the naming convention for Ubuntu's library packages. – slm Sep 12 '13 at 20:28
hi i already installed libgdal-dev – MYnoussa Sep 13 '13 at 9:25
@MYnoussa slm's point (I think) is that you should pass /usr/lib to ./configure instead of /usr. – terdon Sep 13 '13 at 13:55
@terdon - thanks that was my point 8-) – slm Sep 13 '13 at 13:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.