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
- Next message: Mark Daniels: "Re: unix aix question"
- Previous message: Ted Timar: "Welcome to comp.unix.questions [Frequent posting]"
- In reply to: qazmlp: "Re: 'Path for the shared libraries which I do not have direct dependency' also in LD_LIBRARY_PATH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Mark Daniels: "Re: unix aix question"
- Previous message: Ted Timar: "Welcome to comp.unix.questions [Frequent posting]"
- In reply to: qazmlp: "Re: 'Path for the shared libraries which I do not have direct dependency' also in LD_LIBRARY_PATH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|