[Gdal-dev] Make error "libtool: compile: unable to infertaggedconfiguration"

Patton, Eric epatton at nrcan.gc.ca
Wed Apr 4 11:21:27 EDT 2007


Thanks Mateusz,

But in a previous thread, I had the same problem with make complaining about missing libstdc++.la:

http://article.gmane.org/gmane.comp.gis.gdal.devel/9122/match=error+compiling+gdal+1+3+2+libstdc%2b%2b+la

Where you recommended installing the dbg packages. So I take it this requirement changed for GDAL 1.4.0?

The output from ldd `which gdalinfo` and ldd /usr/local/gdal-1.4.0/.libs/libgdal.so look normal (I guess):

$ ldd `which gdalinfo`
        linux-gate.so.1 =>  (0xffffe000)
        libgdal.so.1 => /usr/local/lib/libgdal.so.1 (0xb7b24000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7afa000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7af0000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7aec000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7a02000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb79db000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb79cf000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb788e000)
        libgeos.so.2 => /usr/local/lib/libgeos.so.2 (0xb7795000)
        libgeos_c.so.1 => /usr/local/lib/libgeos_c.so.1 (0xb7788000)
        libsqlite3.so.0 => /usr/local/lib/libsqlite3.so.0 (0xb772b000)
        /lib/ld-linux.so.2 (0xb7fc4000)

$ ldd /usr/local/gdal-1.4.0/.libs/libgdal.so
        linux-gate.so.1 =>  (0xffffe000)
        libgeos.so.2 => /usr/local/lib/libgeos.so.2 (0xb797b000)
        libgeos_c.so.1 => /usr/local/lib/libgeos_c.so.1 (0xb796e000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7943000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb793a000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7936000)
        libsqlite3.so.0 => /usr/local/lib/libsqlite3.so.0 (0xb78d9000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb77ef000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb77c8000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7686000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb767a000)
        /lib/ld-linux.so.2 (0x80000000)

~ Eric. 



-----Original Message-----
From: Mateusz Loskot [mailto:mateusz at loskot.net]
Sent: Wed 4/4/2007 12:03 PM
To: Patton, Eric
Cc: gdal
Subject: RE: [Gdal-dev] Make error "libtool: compile: unable to infertaggedconfiguration"
 
Patton, Eric wrote
>
> After some more digging around in Synaptic and installing some more
> packages, (specifically, unixodbc and libpq), the "unable to infer
> taggedconfiguration" error has vanished. I proceeded normally with make,
> and I received and error about libstdc++.la not being in /usr/lib.
> Synaptic reports that the libstdc++6.4.1-dbg package installed libstdc++.a
> and libstdc++.la in /usr/local/debug. So I created a symlink for each
> libstdc++ archive file:
>
> $ pwd
> /usr/lib
>
> $ sudo ln -s debug/libstdc++.a libstdc++.a
> $ sudo ln -s debug/libstdc++.la libstdc++.la

Eric,

You do not need -dbg packages to build and run GDAL.
You can safely uninstall it.

> and re-ran make, which completed without the aforementioned "libstdc++.la
> not found in /usr/lib" error.
>
> Curiously, though, the last three lines of the 'make install' output read:
> ldconfig: /usr/local/lib/libproj.so.0 is not a symbolic link
> ldconfig: /usr/local/lib/libgeos.so.2 is not a symbolic link
> ldconfig: /usr/local/lib/libgeos_c.so.1 is not a symbolic link
>
> Is this a problem? gdalinfo --version reports:

I don't think so this is a problem but I'd suggest to check to what
libraries GDAL links exactly:

ldd `which gdalinfo`

and

ldd /path/to/libgdal.so

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net





More information about the Gdal-dev mailing list