Skip to Content.
Sympa Menu

freetds - Re: UG clarification

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Steve Langasek <vorlon AT netexpress.net>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: UG clarification
  • Date: Wed, 12 Jun 2002 08:32:37 -0500

On Wed, Jun 12, 2002 at 02:05:20AM -0400, James K. Lowden wrote:
> http://www.freetds.org/userguide/x200.htm#AEN210

> Two questions about this ldconfig stuff, if I may, for someone who knows
> better.

> 1) The UG says "On OS's with shared libraries (Linux usually), pay
> attention to ldconfig". Bolderdash, right? Shouldn't that be, "On
> systems still using the laughably decrepit a.out format for their
> binaries"? Is there better more precise technical terminology?

ldconfig is used on Linux systems to generate /etc/ld.so.cache, which
provides an efficient hash lookup of libraries by soname without having
to stat each file within /usr/lib/. In addition, it aids in the
integration of alternate library search paths at the system level
(/etc/ld.so.conf). The net result is that on Linux, 'rpath' is
unnecessary, but running 'ldconfig' every time a library is installed is
necessary.

This does not hold true for all Linux distros, AIUI (just as it
certainly is not true for all ELF-using platforms): I believe Slackware
does not use ldconfig.

Steve Langasek
postmodern programmer

Attachment: pgpbYigh276fj.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page