The problem turns out to be 32/64 bit. The zpool command uses 32 bit libraries, 
and I 
was only setting the 64 bit locations.  The minute I did a "file" on the 
libraries zpool was
loading, this became obvious.  

Thanks for pointing out the 32/64 LD_LIBRARY_PATH variants, and the elfdump 
trick to 
see if  a search location was set.

I got the semicolon idea from the ld man pages. (Perhaps I was wrongly assuming 
that it 
also had some effect on the run-time library path search order)

Paraphrasing the man page:

For ld processing,  including a semicolon in the LD_LIBRARY_PATH causes the 
path(s) 
preceeding the semi to be searched first (before the -L paths).
Without the semi, the entire LD_LIBRARY PATH is searched _after_ processing the 
-L options. 

Cheers, 
Steve
-- 
This message posted from opensolaris.org

Reply via email to