<
 

Username: Password: Remember me
diff -Naur opt/teamviewer9/tv_bin/script/tvw_config opt.fixed/teamviewer9/tv_bin/script/tvw_config
--- opt/teamviewer9/tv_bin/script/tvw_config	2014-04-11 10:28:44.000000000 +0000
+++ opt.fixed/teamviewer9/tv_bin/script/tvw_config	2014-04-23 19:16:45.571400255 +0000
@@ -26,6 +26,7 @@
 TV_PIDFILE='/var/run/teamviewerd.pid'
 
 # used in UpdateBinaries
+TV_WINELIB_DIR="$TV_BIN_DIR/wine/lib"
 TV_RTLIB_DIR="$TV_BIN_DIR/RTlib"
 TV_BINLOADER="$TV_RTLIB_DIR/ld-linux.so.2"
 
@@ -35,6 +36,7 @@
 if ! [ "$USE_LOCAL_WINE" = "yes" ] ; then
   export WINEPREFIX="$TV_PROFILE"
   export WINEDLLPATH="$TV_WINE_DIR/lib:$TV_WINE_DIR/lib/wine:$TV_WINE_DIR/drive_c/TeamViewer"
+  export LD_LIBRARY_PATH=$TV_WINE_DIR/lib:$LD_LIBRARY_PATH
   export PATH=$TV_WINE_DIR/bin:$PATH
 fi