kekekeks / skypetab-ng

A program that adds tabs to Skype™ for Linux
skypetab-ng
GNU Lesser General Public License v3.0
76 stars 4 forks source link

Failed to compile and deb usage #12

Closed kalabiyau closed 12 years ago

kalabiyau commented 12 years ago

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

kekekeks commented 12 years ago

You cann't compile skypetab on amd64 systems on Ubuntu versions lower than 11.10. Try to compile in 32-bit chroot or just install version from ppa for natty.