From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040719 Firefox/0.9.1 Description of problem: Because of what obviously is a typo: If LD_LIBRARY_PATH is not already set prior to invocation, "/usr/bin/firefox" incorrectly sets LD_LIBRARY_PATH to the same directory repeated twice, instead of a directory and a subdirectory. Consequently, firefox hangs when invoked, not opening a window or anything. Version-Release number of selected component (if applicable): 0.9.1 How reproducible: Always Steps to Reproduce: 1. Run "/usr/bin/firefox" when LD_LIBRARY_PATH is not set. 2. 3. Actual Results: firefox is running (seen using "ps ax") but no window opens. Process must be killed manually. Expected Results: Open a window on default home page... Additional info: The correction is here: Bad code line commented out below. ## ## Set LD_LIBRARY_PATH ## if [ "$LD_LIBRARY_PATH" ] then LD_LIBRARY_PATH=$MOZ_DIST_BIN:$MOZ_DIST_BIN/plugins:$LD_LIBRARY_PATH else # slk, the following line is bad: # LD_LIBRARY_PATH=$MOZ_DIST_BIN:$MOZ_DIST_BIN LD_LIBRARY_PATH=$MOZ_DIST_BIN:$MOZ_DIST_BIN/plugins fi export LD_LIBRARY_PATH
I cannot reproduce the bad behavior that you mention, which I suspect is unrelated to this LD_LIBRARY_PATH problem. I am testing the below patch before committing. --- firefox.orig 2004-10-30 23:19:53.842473953 -1000 +++ firefox 2004-10-30 23:20:08.025959165 -1000 @@ -55,7 +55,7 @@ then LD_LIBRARY_PATH=$MOZ_DIST_BIN:$MOZ_DIST_BIN/plugins:$LD_LIBRARY_PATH else - LD_LIBRARY_PATH=$MOZ_DIST_BIN:$MOZ_DIST_BIN + LD_LIBRARY_PATH=$MOZ_DIST_BIN:$MOZ_DIST_BIN/plugins fi export LD_LIBRARY_PATH
LD_LIBRARY_PATH=$MOZ_DIST_BIN:$MOZ_DIST_BIN/plugins${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH} without any if is better - there is just one place where the path is set, so having the prepended library paths not in sync is not possible.