[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shared libraries



martin f krafft <madduck@debian.org> wrote:

> also sprach Justin Pryzby <justinpryzby@users.sourceforge.net> [2004.12.07.1811 +0100]:
>> I think I will actually be installing them into /usr/lib/, with a
>> proper soname (even though the soname won't serve any purpose, as the
>> executables are bundled with the library).
>
> Make sure to read
> http://wiki.debian.net/index.cgi?RpathIssue
>
> and the library packaging guide. Try to stay away from
> LD_LIBRARY_PATH
> http://www.visi.com/~barr/ldpath.html

This document explains a couple of execptions where using it is actually
good practice, and one of them is:

,----
| * X11 uses LD_LIBRARY_PATH during its build process. X11 distributes
|   its fonts in "bdf" format, and during the build process it needs to
|   "compile" the bdf files into "pcf" files. LD_LIBRARY_PATH is used to
|   point the the build lib directory so it can run bdftopcf during the
          ^^^ should be 'to'
|   build stage before the shared libraries are installed.
`----

As I understood it, this is exactly the situation Justin is in.

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer



Reply to: