Hiya,
I'm looking for a rather obscure Sun Solaris ld linker option which is proving very difficult to find!!
The scenario is that I'm building an executable which makes a call to a function which is resolved by a particular shared library. However, to get to this shared library, other shared libraries have to be referenced - basically there is a 3 to 4 level shared library hierarchy so the whole setup is rather complex. The problem is that the executable is failing during the linking process because other shared libraries also call the particular function and therefore the system thows a wobbly about not being able to resolve the symbol.
By default, ld seems to make one pass through the list of input shared libraries and within this pass, each shared library's symbol table may be searched several times in a row but each other input shared library is processed only once.
What I need is an ld option which makes additional passes through the list of shared libraries in an attempt to resolve all symbols.
There is an equivalent option in SEQUENT which is '-Ur'.
Please can someone tell me what this option is on Sun if it exists at all??!!
Thanks,
JL
I'm looking for a rather obscure Sun Solaris ld linker option which is proving very difficult to find!!
The scenario is that I'm building an executable which makes a call to a function which is resolved by a particular shared library. However, to get to this shared library, other shared libraries have to be referenced - basically there is a 3 to 4 level shared library hierarchy so the whole setup is rather complex. The problem is that the executable is failing during the linking process because other shared libraries also call the particular function and therefore the system thows a wobbly about not being able to resolve the symbol.
By default, ld seems to make one pass through the list of input shared libraries and within this pass, each shared library's symbol table may be searched several times in a row but each other input shared library is processed only once.
What I need is an ld option which makes additional passes through the list of shared libraries in an attempt to resolve all symbols.
There is an equivalent option in SEQUENT which is '-Ur'.
Please can someone tell me what this option is on Sun if it exists at all??!!
Thanks,
JL