Skip to Content.
Sympa Menu

freetds - Re: Updating freetds 0.53 -> 0.60

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: James K. Lowden <jklowden AT speakeasy.org>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Updating freetds 0.53 -> 0.60
  • Date: Wed, 18 Sep 2002 23:30:27 -0400


On Wed, 18 Sep 2002 20:14:55 -0500, "Erik Anderson" <eanders AT pobox.com>
wrote:

> Here is the info:
>
> [root@UNIXWORK lib]# pwd
> /usr/local/freetds/lib
> [root@UNIXWORK lib]# ls -la
[...]
> lrwxrwxrwx 1 root root 17 Sep 16 18:01 libsybdb.so ->
> libsybdb.so.1.0.0
> lrwxrwxrwx 1 root root 17 Sep 16 18:01 libsybdb.so.1 ->
>
> libsybdb.so.1.0.0
> -rwxr-xr-x 1 root root 473961 Sep 16 17:35 libsybdb.so.1.0
> -rwxr-xr-x 1 root root 336495 Sep 16 18:01
> libsybdb.so.1.0.0
[...]
> [root@UNIXWORK lib]# nm libsybdb.so | grep -i dbdead
> 00007a90 T DBDEAD
> [root@UNIXWORK lib]# nm libsybdb.so.1.0 | grep -i dbdead
> 00008e70 T dbdead
>
> As you see the dbdead() is exported in the libsybdb.so but not in the
> libsybdb.so.1.0

Facinating. Thank you for taking the trouble. Perhaps someone who knows
more about how libtool (?) installs libraries. It's very odd, right?
Your symlinks point to libsybdb.so.1.0.0, which is smaller than
libsybdb.so.1.0 but has the same dates as the links and has the old
DBDEAD.

Speculation: Relying on our bad versioning, libtool installed the new
libsybdb.so.1.0 but left/recreated the old symlinks pointing to the (0.53)
libsybdb.so.1.0.0. Steve?

> I did configure FreeTDS0.60 with the --prefix as follows.
> ./configure --with-tdsver=8.0 --prefix=/usr/local/freetds
^^^^
reputed not to work, see README.0.60

Not the problem, just FYI.

> Just looks like it is a versioning problem with your so libraries.

Acknowledged.

> It looks like I could "tweak" a symbolic link and be happy with it but
> since everything is working with FreeTDS-0.53 I am reluctant to tweak
> when an older default install works.

Understandable.

> My system is tweaked enough by using mCrypt to encrypting PHP web page
> source with mCrypt DES3 cyphers and MD5 hashes. SQL Server 2000 is
> running in a VMWare virtual Operating System on the same Linux box.

Better man than I, Gunga Din.

> In interest of keeping my sanity from all my other tweaks I will wait
> for a patch before I upgrade to FreeTDS-0.6x.

RSN.

Regards,

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page