On Tue, Nov 16, 2010 at 12:38:15AM -0000, mycae wrote:
> Thankyou for the info, I don't suppose you could point me to the
> difference between a DSO and a normal SO, I was of the opinion that
> these were different names for the same thing, a'la

> http://httpd.apache.org/docs/2.2/dso.html ,

> and the debian policy manual recommended soversioning in filenames by
> the suffix method:

> http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-shlibs

> This would be consistent with output from file, which reports this DSO
> to be the same as a soversioned SO

A DSO is a "Dynamic shared object"; the term is used to describe objects
that are dynamically loaded at runtime by the application, *not* those that
the application links to and are loaded by the runtime linker at startup. 
In other words, a DSO is something you would load with dlopen().

> ----
> u...@user-desktop:/usr/lib/odbc$ file libtdsodbc.so 
> libtdsodbc.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), 
> dynamically linked, stripped
> u...@user-desktop:/usr/lib/odbc$ file /usr/lib/libstdc++.so.6
> /usr/lib/libstdc++.so.6: symbolic link to `libstdc++.so.6.0.13'
> u...@user-desktop:/usr/lib/odbc$ file /usr/lib/libstdc++.so.6.0.13
> /usr/lib/libstdc++.so.6.0.13: ELF 64-bit LSB shared object, x86-64, version 1 
> (SYSV), dynamically linked, stripped
> u...@user-desktop:/usr/lib/odbc$ 
> ----

The difference between them is not what 'file' reports as output; the
difference is how they're intended to be used.  ODBC drivers are not shared
libraries, and should not carry sonames because ODBC implements a backwards-
and forwards-compatible interface that *never* needs to support multiple,
binary-incompatible versions of this driver.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/675758

Title:
  libtdsodbc.so misnamed

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to