Skip to Content.
Sympa Menu

freetds - Re: [freetds] ct-lib unit tests link statically

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] ct-lib unit tests link statically
  • Date: Tue, 8 Jul 2008 11:29:03 -0400

ZIGLIO, Frediano, VF-IT wrote:
> > If we find a way to cause libtool's RPATH to precede the values in
> > LDFLAGS, we could go back to dynamically linked unit tests.
> >
>
> ??
>
> I don't understand... I don't use any flags

For normal executables that use a FreeTDS library, e.g. bsqldb, I need to
have /usr/local/lib in its RPATH. The dynamic linker doesn't search in
/usr/local/lib by default.

For unit tests, of course, I don't want to use /usr/local/lib, but it's
being put at the front of the RPATH anyway.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page