I've been trying on Solaris 9 to use crle with the -G option to create an
executable which uses its owon ld.config file.  However, the generated
executable segfaults.  LD_DEBUG=libs shows some output which seems strange to
me -- it starts out looking for libc.so and ends up trying libpthread.so 


18905: find object=libc.so.1; searching
18905:  search path=/path/to/lib/sparcv9  (LD_LIBRARY_PATH)
18905:  trying path=/path/to/lib/sparcv9/libc.so.1
18905:  search path=/usr/lib/64  (configuration default - 
/path/to64/bin/bin-alternatives/ld.config.xmllint)
18905:  search path=/path/to/lib/sparcv9  (configuration default - 
/path/to64/bin/bin-alternatives/ld.config.xmllint)
18905:  trying path=/usr/lib/64/libc.so.1
18905:  trying path=/usr/platform/SUNW,Sun-Fire-15000/lib/sparcv9/libc_psr.so.1
18905:  trying path=/usr/lib/64/libthread.so.1



Is there some reasonable explanation for this Could anyone help me understand 
the , or is it possibly a bug
in the loader/crle?

-- 
Yorick
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to