[GRASS-dev] Postgres DB driver links to TclTk?

Markus Neteler neteler at itc.it
Wed Jul 4 05:06:59 EDT 2007


William Kyngesburye wrote on 07/04/2007 04:50 AM:
> I was poking around and noticed that the GRASS Postgres DB driver
> links the TclTk libraries.  It also has the the TclTk include dirs in
> the CFLAGS.  But it doesn't appear to use any TclTk functions.  None
> of the other DB drivers uses TclTk.
>
Indeed:
cd grass63/dist.x86_64-unknown-linux-gnu/driver/db/
ldd pg  | tr -s  ' ' ' ' | cut -d' ' -f1 | sort
        /lib64/ld-linux-x86-64.so.2
        libcom_err.so.2
        libcrypto.so.4
        libcrypt.so.1
        libc.so.6
        libdl.so.2
        libgrass_datetime.so
        libgrass_dbmibase.so
        libgrass_dbmidriver.so
        libgrass_dbstubs.so
        libgrass_gis.so
        libgrass_sqlp.so
        libgssapi_krb5.so.2
        libk5crypto.so.3
        libkrb5.so.3
        libm.so.6
        libnsl.so.1
        libpq.so.4
        libpthread.so.0
        libresolv.so.2
        libssl.so.4
        libtcl8.4.so
        libtk8.4.so
        libX11.so.6
        libz.so.1

> mistake?

It doesn't seem to be GRASS:
cd grass63/dist.x86_64-unknown-linux-gnu/lib/
for i in `ls -1 *.so | grep -v cvs` ; do echo "======= $i:" ; ldd $i ;
done | grep tcl
-> nothing

No idea where it creeps in (didn't check the system libs).

Markus

------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------




More information about the grass-dev mailing list