added ldconfig for share libs, change start-scripts for use ldconfig