[unixODBC-dev] Urgent Help: undefined reference errors

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

sythan wrote:

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

	-lSrbClient -lm -lpthread

And change to 

	-lSrbClient -lm -lpthread -lodbc


More information about the unixODBC-dev mailing list