freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "James K. Lowden" <jklowden AT schemamania.org>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] 0.63 Release Candidate 1
- Date: Thu, 2 Dec 2004 23:56:28 -0500
joshua stein <jcs AT jcs.org> wrote:
>
> > 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.
Hmph. In addition to the version bump, the configure script and your
linker have to see the right library. They don't care about the version
number i.e., they don't care what version they find. Later, the runtime
linker *will* care, but only because the static linker embedded the
version numbers of the shared objects in the exectutable.
New theory: It so happens that tsql is linked before libtds is installed.
Consequently, tsql is linked to the (previously installed) old shared
library ... and fails, because the symbols don't match. If true, a
workaround would be to build without the apps and install, then
reconfigure, build with the apps, install. Should work. $LDFLAGS might
help, too.
I'm not sure how to do it, but it's clear that tsql & friends should not
be reaching out to /usr/local (or whatever) for libtds. Obviously, they
should be linking to the just-built libs that go with them. In fact, they
shouldn't be using shared libraries at all, unless there's no static
available (because of --disable-static).
Controlling the directory lookup order would be some help. Reading the
libtool docs (ugh, again), I don't see how. OTOH, linking statically to
libtds's objects -- especially libtds_objects -- would solve the problem.
I think. According to my latest theory.
Please tell me if the install-and-install-again workaround yields a
complete system, with apps. If we can't find a more elegant answer, I'd
be OK with advising Solaris folks that that's what they'll have to do.
--jkl
-
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.