freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: joshua stein <jcs AT jcs.org>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] 0.63 Release Candidate 1
- Date: Thu, 2 Dec 2004 15:02:48 -0600
> Well, RC2 should work for you however this patch should solve too
neither works, ld is still finding the older tds library in
/usr/local/lib.
at least on openbsd, ld searches directories for libraries in the
order they're given on the command line, even if a library with a
greater major version exists in any of the other paths given because
it stops searching when it finds any suitable match.
libtool is turning:
/bin/sh ../../libtool --mode=link cc -O2 -pipe -L/usr/local/lib \
-o tsql tsql.o -lncurses -lreadline ../tds/libtds.la -lc
into:
cc -O2 -pipe -o .libs/tsql tsql.o -L/usr/local/lib -lncurses \
-lreadline -L../tds/.libs -ltds -liconv -Wl,-rpath,/usr/local/lib
but libtool needs to put its own '-L../tds/.libs' first before
-L/usr/local/lib being given in LDFLAGS:
cc -O2 -pipe -o .libs/tsql tsql.o -L../tds/.libs -L/usr/local/lib \
-lncurses -lreadline -ltds -liconv -Wl,-rpath,/usr/local/lib
i'm not sure how to tell libtool to do that, though.
-
RE: [freetds] 0.63 Release Candidate 1,
ZIGLIO, Frediano, VF-IT, 12/01/2004
-
Re: [freetds] 0.63 Release Candidate 1,
joshua stein, 12/01/2004
-
Re: [freetds] 0.63 Release Candidate 1,
Frediano Ziglio, 12/01/2004
-
Re: [freetds] 0.63 Release Candidate 1,
joshua stein, 12/02/2004
- Re: [freetds] 0.63 Release Candidate 1, James K. Lowden, 12/02/2004
-
Re: [freetds] 0.63 Release Candidate 1,
joshua stein, 12/02/2004
-
Re: [freetds] 0.63 Release Candidate 1,
Frediano Ziglio, 12/01/2004
- Re: [freetds] 0.63 Release Candidate 1, James K. Lowden, 12/02/2004
- <Possible follow-up(s)>
- RE: [freetds] 0.63 Release Candidate 1, ZIGLIO, Frediano, VF-IT, 12/03/2004
-
RE: [freetds] 0.63 Release Candidate 1,
Lowden, James K, 12/03/2004
- RE: [freetds] 0.63 Release Candidate 1, Frediano Ziglio, 12/03/2004
-
Re: [freetds] 0.63 Release Candidate 1,
joshua stein, 12/01/2004
Archive powered by MHonArc 2.6.24.