Re: 'Path for the shared libraries which I do not have direct dependency' also in LD_LIBRARY_PATH

From: Chuck Dillon (cdillon_at_nimblegen.com)
Date: 03/25/04


Date: Thu, 25 Mar 2004 08:52:44 -0600

qazmlp wrote:
> Chuck Dillon <cdillon@nimblegen.com> wrote in message news:<c3s731$1tc$1@grandcanyon.binc.net>...
>
>>The default linker behavior when linking a program or .so is to fully
>>resolve all symbols including the dependencies in .so's indirectly
>>referenced.
>
> If default behaviour is so, is it possible to change such that, we do
> not to give the path for indirect dependencies?
>

(Solaris specific info...)
I was incorrect in saying the default behavior for linking shared
objects is to choke on unresolved symbols. The default behavior of ld
is to allow them. The -z defs switch of ld (see man ld) forces
resolution of all symbols.

I suggest you reference the man pages for your compiler, ld and look at
the "libraries and linkers guide" at docs.sun.com.

-- ced

-- 
Chuck Dillon
Senior Software Engineer
NimbleGen Systems Inc.


Relevant Pages

  • Re: Path for the shared libraries which I do not have direct dependency also in LD_LIBRARY_PATH
    ... >>The default linker behavior when linking a program or .so is to fully ... >>resolve all symbols including the dependencies in .so's indirectly ... > not to give the path for indirect dependencies? ... I was incorrect in saying the default behavior for linking shared ...
    (comp.unix.solaris)
  • Re: Path for the shared libraries which I do not have direct dependency also in LD_LIBRARY_PATH
    ... >>The default linker behavior when linking a program or .so is to fully ... >>resolve all symbols including the dependencies in .so's indirectly ... > not to give the path for indirect dependencies? ... I was incorrect in saying the default behavior for linking shared ...
    (comp.unix.programmer)
  • Re: Summary Bar Linking
    ... opinions about linking summary lines in this forum. ... loops of task dependencies, obviously impossible in the real world. ... most important part of CPM scheduling. ... linking to the summary bar. ...
    (microsoft.public.project)
  • Re: incremental build not optimal?
    ... > Linking is never a part of the .NET Framework concept. ... >A total recompile of all projects is ... > Dependencies shouldn't be a problem if you put your ... > common DLLs into the GAC and turn off automatic versioning. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: rpm - the prerequisites before installing package?
    ... On Sun, 21 Dec 2003 14:06:00 GMT, eiszf@rqbrpj.com wrote: ... > dependencies, direct and indirect, so you say yes to that. ... and what will yast do if the dependencies are outside ...
    (comp.os.linux.setup)