Skip to Content.
Sympa Menu

freetds - RE: unixodbc library pickup

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Thompson, Bill D (London)" <ThompBil AT exchange.uk.ml.com>
  • To: "'TDS Development Group'" <freetds AT franklin.oit.unc.edu>
  • Subject: RE: unixodbc library pickup
  • Date: Thu, 3 Oct 2002 17:07:50 +0100


Merjin,

Or you just make sure that the unixodbc/lib directory is in your
LD_LIBRARY_PATH.
You'll need it there anyway, at runtime.

Bill

> -----Original Message-----
> From: Merijn Broeren [SMTP:merijnb AT iloquent.com]
> Sent: Thursday, October 03, 2002 5:05 PM
> To: TDS Development Group
> Subject: [freetds] unixodbc library pickup
>
> Dear FreeTDS developer team,
>
> I spent this morning getting freetds 0.60 to build on our systems here
> and it proved to be quite an interesting challenge. For some kind of
> definition of interesting that contains a lot of loud words.
>
> The gist of it is that if you specify --with-unixodbc this sets up the
> -I compiler directive, but not the proper -L linker directives. This
> makes building libtdsodbc.so difficult if unixodbc is not installed in
> /usr/lib or /lib. Which on my systems is the case.
>
> I've made some changes to the build process to it finally compiled, but
> can I ask you guys to add something like this to the build process:
>
> ODBC_LIBS=-L$with_unixodbc/lib
>
> in configure.* and then
>
> libtdsodbc_la_LIBADD= $(TDSOBJECTS) $(ODBC_LIBS) -lodbcinst
> $(NETWORK_LIBS) $(LIBICONV)
>
> in src/odbc/Makefile.am. You'll need the proper
>
> AC_SUBST(ODBC_LIBS)
>
> as well I guess, or at least $ODBC_LIBS=@ODBC_LIBS@ in strategic places.
>
> Regards,
> --
> Merijn Broeren | 'I want to understand everything. I want to know every-
> Software Geek | thing and put it all together to see what it means.'
> | 'Excellent project, it will look very good on your
> resume.'
>
> ---
> You are currently subscribed to freetds as: [thompbil AT exchange.uk.ml.com]
> To unsubscribe, forward this message to
> $subst('Email.Unsub')





Archive powered by MHonArc 2.6.24.

Top of Page