kekekeks/skypetab-ng — Issue #12: Failed to compile and deb usage
Author: kalabiyau
Created: 2011-12-16 13:31:38+00:00
State: open

1) On System

```
2.6.38-13-generic #52-Ubuntu SMP Tue Nov 8 16:53:51 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
```

Had some linking issue, when compile from source.

```
rm -f libskypetab-ng.so.0.4.3 libskypetab-ng.so libskypetab-ng.so.0 libskypetab-ng.so.0.4
g++ -m32 -Wl,-O1 -shared -Wl,-soname,libskypetab-ng.so.0 -o libskypetab-ng.so.0.4.3 mainwindow.o x11int.o stwindowcontainer.o x11.o skypetab.o stwatcher.o contactlistcontainer.o focusguard.o aboutdialog.o qtintercept.o moc_mainwindow.o moc_stwindowcontainer.o moc_skypetab.o moc_stwatcher.o moc_contactlistcontainer.o moc_focusguard.o moc_aboutdialog.o -L/usr/lib32 -lQtGui -lQtCore -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make: *** [libskypetab-ng.so.0.4.3] Error 1

```

I'am not at c++'er, so please help me with compile.

When using ppa package

```
LD_PRELOAD=/usr/lib/libskypetab-ng.so skype
```

Original skype windows opened, then on click on contact - all it crashed without any errors