[unixODBC-dev] Urgent Help: undefined reference errors

Nick Gorham nick at lurcher.org
Mon Mar 10 07:37:37 GMT 2008


sythan wrote:

>Hi,
>
>I'm just new to Linux OS and ODBC. Could you pls tell me how to link odbc
>(-lodbc) to gcc?
>Thanks.
>
>Regars,
>SYT
>
>
>  
>
Find in your Makefile where the current libs are added
  

	-lSrbClient -lm -lpthread

And change to 

	-lSrbClient -lm -lpthread -lodbc

-- 
Nick





More information about the unixODBC-dev mailing list