The windows thing is permissions related.. when you copy stuff around as root, it does so with restricted permissions, so you don’t accidentally move something around and make it writable by everyday users. That’s a FEATURE, not a BUG. 🙂
wrt to the nano thing, try it with LD_LIBRARY_PATH capitalized.
I think the deal is that it can’t find a library it wants. Thats all I can think.
foo@slug:~$ export LD_LIBRARY_PATH=/opt/lib