exec: 193: ./firefox-bin not found

Hi, all.

When I run iceweasel as normal user in squeeze,
I got forrowing message.

exec: 193: ./firefox-bin: not found

I think this is readlink problem, because ...

#cat /usr/bin/iceweasel

line 40...........
MOZ_APP_LAUNCHER=$(which $0)
MOZ_DIST_BIN= $(dirname $(readlink -f ${MOZ_APP_LAUNCHER}))
...........

MOZ_DIST_BIN seems to have empty value

$readlink -f /usr/bin/iceweasel #### execute as normal user
$ #### nothing is returned

#readlink -f /usr/bin/iceweasel #### as root
/usr/lib/iceweasel/iceweasel
#

Does anyone have any ideas?

It would appear that you need to fix up the symbolic link between ./firefox-bin and wherever your Firefox binary or startup script is located.

Thanks for reply.

I run `dpkg-reconfigure iceweasel` and `aptitude reinstall iceweasel`,
but still have problem.

PS.
When I run iceweasel as root, there is no problem.

back up home directory. then removed it.
`userdel $USERNAME; useradd -m $USERNAME; passwd $USERNAME`

after that , I could run iceweasel.
I dont know what was wrong, but problem has gone.