Hi Peter,

On 7/26/07, Peter Gebauer <[EMAIL PROTECTED]> wrote:
> Hello.
>
> The gdal library is located in (along with it's Debian standard symlinks)
>
>   /usr/lib/libgdal1.4.0.so

This might be where things are deviating as GDAL normally installs as
libgdal.so, and this is what the CMakeModules/FindGDAL.cmake script is
looking for.

Its odd that libgdal1.4.0.so is used rather than libgdal.so.1.4.0 and
an associated libgdal.so, is this is how things are normally packaged
in debian.

The only way we have to fix this would be to add gdal1.4.0 into the
list of libs it checks for.

You could try changing FIndGDAL.cmake to:

FIND_LIBRARY(GDAL_LIBRARY
    NAMES gdal gdal_i

FIND_LIBRARY(GDAL_LIBRARY
    NAMES gdal gdal_i gdal1.4.0

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to