[Nix-dev] TeamViewer process ends with "undefined symbol: _ZN10__cxxabiv120__unexpected_handlerE"

Christoph-Simon Senjak christoph.senjak at googlemail.com
Sat Apr 8 19:50:14 CEST 2017


Hi.

On my installation, the teamviewer GUI will start, but when trying to 
connect to a remote host, the main window of the GUI minimizes, but 
otherwise, nothing will happen, no error message, it is as if the 
connection was successfull, but it never starts.

I have found one possible cause of this being the fact that a subprocess 
which TeamViewer tries to call (and successfully calls on a Debian 
Machine where I tested it) is in the directory share/teamviewer/tv_bin 
and called TVGuiDelegate. When I try to run it, it doesn't even get to 
the main method, but just outputs

./TVGuiDelegate: symbol lookup error: ./TVGuiDelegate: undefined symbol: 
_ZN10__cxxabiv120__unexpected_handlerE

and in fact, no library in the rpath contains this symbol. On my Debian 
machine, it uses this function from a subdirectory "RTlib", which 
apparently is there to make it more system independent. However, in the 
nix package

https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/remote/teamviewer/default.nix

on line 39, this directory is deleted, probably because these libraries 
should be provided from other nix packages. But the ones from nix do not 
expose the symbol _ZN10__cxxabiv120__unexpected_handlerE, according to 
readelf, while the ones in RTlib do.

Maybe it would be a good idea to add an option to the packge to use its 
own library rather than system packages.

Any help on this issue would be appreciated, especially by the maintainers.

Best Regards,
Christoph-Simon Senjak


More information about the nix-dev mailing list