OpenSolaris

Printable Version Enter a New Search
Bug ID 6326497
Synopsis ld.so not properly processing LD_LIBRARY_PATH ending in :
State 10-Fix Delivered (Fix available in build)
Category:Subcategory compiler:linker
Keywords onnv_triage
Responsible Engineer Ali Bahrami
Reported Against
Duplicate Of
Introduced In solaris_8
Commit to Fix snv_32
Fixed In snv_32
Release Fixed solaris_nevada(snv_32) , solaris_10u4(s10u4_04) (Bug ID:2141883)
Related Bugs
Submit Date 20-September-2005
Last Update Date 29-January-2007
Description
The shell interpretes a trailing : on PATH as though it were :.
LD_LIBRARY_PATH should be interpreted the same way.

	LD_LIBRARY_PATH=:foo:bar -> .:foo:bar
	LD_LIBRARY_PATH=foo::bar -> foo:.:bar
	LD_LIBRARY_PATH=foo:bar: -> foo:bar (should be foo:bar:.)
Work Around
Change empty path components to '.'.
Comments
N/A