Can't startup wftpserver in Solaris 10/11

If you run Wing FTP Server on Solaris, sometimes you can't startup wftpserver after installation, and you would get error message like this "...libstdc++.so.6: open failed: No such file or directory".
The solution is editing the file "/etc/profile", add the following string into it:
LD_LIBRARY_PATH_32=/usr/sfw/lib:$LD_LIBRARY_PATH_32
export LD_LIBRARY_PATH_32
LD_LIBRARY_PATH_64=/usr/sfw/lib:$LD_LIBRARY_PATH_64
export LD_LIBRARY_PATH_64
Then restart your server, everything will be OK.
The solution is editing the file "/etc/profile", add the following string into it:
LD_LIBRARY_PATH_32=/usr/sfw/lib:$LD_LIBRARY_PATH_32
export LD_LIBRARY_PATH_32
LD_LIBRARY_PATH_64=/usr/sfw/lib:$LD_LIBRARY_PATH_64
export LD_LIBRARY_PATH_64
Then restart your server, everything will be OK.