In case you are not doing something exotic like manually linking objects and shared files (where order matters) then use ldd on the libXext.so file to list the dependencies that it relies on. One of those dependencies is probably missing (which usually accounts for such an error).