[GRASSLIST:3966] Re: Yet another configure question re odbc

Hamish hamish_nospam at yahoo.com
Mon Jul 19 21:09:31 EDT 2004


> Hi.  Hamish, this one is probably for you, judging by over older
> emails.

mmm, maybe not. I don't know much about SuSE or databases.


> After years of waiting, I'm installing grass 5.7 on my SuSe 8.2
> machine (linux).  Having installed the postgresql package running
> the configure script for grass gives this:
>         
> 	checking whether to use ODBC... yes
> 	checking for location of ODBC includes...
> 	checking for sql.h... yes
> 	checking for location of ODBC library...
> 	checking for SQLConnect in -lodbc... no
> 	configure: error: *** Unable to locate ODBC library.

look at the end of config.log for the missing library name / error.


> Doing find produces:
> 	        
> 	/usr/lib/psqlodbc.la
> 	/usr/lib/psqlodbc.so


Try looking for /usr/lib/libodbc.so
I have no idea which SuSE package supplies this.

       
> However this lib should of course be searched automatically, and
> explicitly including it on the command line for configure does not
> help.  And of course one email claimed that in order to get postgresql
> and grass to communicate one does not need an odbc.  I would like them
> to talk, so any advice you could give would be appreciated.
> 
> This means that --with-odbc-libs=no is not an option for me, right?

no idea.


Hamish




More information about the grass-user mailing list