Habe ich richtig vermutet
Du verwendest einen gcc >= 4.* Compiler
Wenn du Bibliotheken schreibst mußt du dich mit Visibility auseinander setzen.
http://gcc.gnu.org/wiki/Visibility
Außerdem werden deine Pfade zu den Abhängigkeiten nicht aufgelöst.
Siehe ldd und ld
Beispiel:
Code:
~> ldd libxhtmldbg-1.0.so.0.8.13
linux-gate.so.1 => (0xffffe000)
libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb748c000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7472000)
libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb6819000)
libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0xb67cf000)
libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0xb673d000)
libkdeui.so.5 => /usr/lib/libkdeui.so.5 (0xb6272000)
libqjson.so.0 => /usr/lib/libqjson.so.0 (0xb6251000)
libkdecore.so.5 => /usr/lib/libkdecore.so.5 (0xb5f2f000)
libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0xb5ed1000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb5dce000)
libm.so.6 => /lib/libm.so.6 (0xb5da8000)
libc.so.6 => /lib/libc.so.6 (0xb5c39000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb5c19000)
libodbc.so.1 => /usr/lib/libodbc.so.1 (0xb5ba7000)
libodbcinst.so.1 => /usr/lib/libodbcinst.so.1 (0xb5b93000)
libsqlite.so.0 => /usr/lib/libsqlite.so.0 (0xb5b32000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb5a5a000)
libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0xb59ff000)
libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0xb5847000)
libdl.so.2 => /lib/libdl.so.2 (0xb5843000)
libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb57f3000)
librt.so.1 => /lib/librt.so.1 (0xb57ea000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb56b4000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb5674000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb5648000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb55b1000)
libz.so.1 => /lib/libz.so.1 (0xb5597000)
libiconv.so.2 => /usr/lib/libiconv.so.2 (0xb54b1000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb54aa000)
/lib/ld-linux.so.2 (0xb7863000)
libpng14.so.14 => /usr/lib/libpng14.so.14 (0xb547d000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb5429000)
libSM.so.6 => /opt/kde3/lib/libSM.so.6 (0xb5420000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb5405000)
libXi.so.6 => /usr/lib/libXi.so.6 (0xb53f6000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb53eb000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb53e2000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb53db000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb53d0000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb53cb000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb53b7000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb52ae000)
libXft.so.2 => /usr/lib/libXft.so.2 (0xb5296000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb5292000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb528b000)
libXpm.so.4 => /usr/lib/libXpm.so.4 (0xb5278000)
libattica.so.0 => /usr/lib/libattica.so.0 (0xb51f1000)
libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0xb508a000)
libdbusmenu-qt.so.2 => /usr/lib/libdbusmenu-qt.so.2 (0xb5051000)
libXtst.so.6 => /usr/lib/libXtst.so.6 (0xb504a000)
libbz2.so.1 => /lib/libbz2.so.1 (0xb5036000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0xb500b000)
libresolv.so.2 => /lib/libresolv.so.2 (0xb4ff4000)
libfam.so.1 => /usr/lib/libfam.so.1 (0xb4feb000)
libltdl.so.7 => /usr/lib/libltdl.so.7 (0xb4fe1000)
libgomp.so.1 => /usr/lib/libgomp.so.1 (0xb4fcf000)
libffi.so.4 => /usr/lib/libffi.so.4 (0xb4fc7000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb4fc1000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb4fa3000)
~> ld libxhtmldbg-1.0.so.0.8.13
ld: warning: cannot find entry symbol _start; not setting start address
~> nm -g -D -C --defined-only libxhtmldbg-1.0.so.0.8.13
00004800 T xhtmldbg::PluginInfo::getVersion()
00004940 T xhtmldbg::PluginInfo::setVersion(QString const&)
00003e40 T xhtmldbg::PluginInfo::qt_metacall(QMetaObject::Call, int, void**)
00003da0 T xhtmldbg::PluginInfo::qt_metacast(char const*)
00004a00 T xhtmldbg::PluginInfo::dbusInterface(QDBusConnection const&, QObject*)
00004840 T xhtmldbg::PluginInfo::getDescription()
000047c0 T xhtmldbg::PluginInfo::getGenericName()
00004980 T xhtmldbg::PluginInfo::setDescription(QString const&)
00004900 T xhtmldbg::PluginInfo::setGenericName(QString const&)
0000adc4 D xhtmldbg::PluginInfo::staticMetaObject
00004780 T xhtmldbg::PluginInfo::getName()
000048c0 T xhtmldbg::PluginInfo::setName(QString const&)
00004880 T xhtmldbg::PluginInfo::getAuthor()
000049c0 T xhtmldbg::PluginInfo::setAuthor(QString const&)
000046e0 T xhtmldbg::PluginInfo::PluginInfo(QObject*, xhtmldbg::PluginInfo::PluginType)
00004660 T xhtmldbg::PluginInfo::PluginInfo(QObject*, xhtmldbg::PluginInfo::PluginType)
00004480 T xhtmldbg::WinInterface::qt_metacall(QMetaObject::Call, int, void**)
000043a0 T xhtmldbg::WinInterface::qt_metacast(char const*)
00006aa0 T xhtmldbg::WinInterface::errorMessage(QString const&)
00006920 T xhtmldbg::WinInterface::noticeMessage(QString const&)
0000ae78 D xhtmldbg::WinInterface::staticMetaObject
00006c20 T xhtmldbg::WinInterface::open(QUrl const&, bool)
00004420 T xhtmldbg::WinInterface::error(QString const&, QString const&)
00006da0 T xhtmldbg::WinInterface::setUrl(QUrl const&, QUrl const&)
00006860 T xhtmldbg::WinInterface::hasErrors()
00006f40 T xhtmldbg::WinInterface::setSource(QUrl const&, QString const&)
000074c0 T xhtmldbg::WinInterface::WinInterface(QDBusConnection const&, QObject*)
000074c0 T xhtmldbg::WinInterface::WinInterface(QDBusConnection const&, QObject*)
00007160 T xhtmldbg::WinInterface::~WinInterface()
000070c0 T xhtmldbg::WinInterface::~WinInterface()
000070c0 T xhtmldbg::WinInterface::~WinInterface()
00005c20 T xhtmldbg::Plugger::findPlugin(QString const&)
000058c0 T xhtmldbg::Plugger::findPlugins()
00004260 T xhtmldbg::Plugger::qt_metacall(QMetaObject::Call, int, void**)
000042c0 T xhtmldbg::Plugger::qt_metacast(char const*)
00005d40 T xhtmldbg::Plugger::pluginsByType(QWidget*, xhtmldbg::PluginInfo::PluginType)
0000ae18 D xhtmldbg::Plugger::staticMetaObject
00005320 T xhtmldbg::Plugger::Plugger(QObject*)
00005320 T xhtmldbg::Plugger::Plugger(QObject*)
00005780 T xhtmldbg::Plugger::~Plugger()
00005720 T xhtmldbg::Plugger::~Plugger()
00005720 T xhtmldbg::Plugger::~Plugger()
00003a60 T xhtmldbg::Interface::qt_metacall(QMetaObject::Call, int, void**)
00003b00 T xhtmldbg::Interface::qt_metacast(char const*)
0000ad00 D xhtmldbg::Interface::staticMetaObject
00004040 T xhtmldbg::PluginInfo::metaObject() const
00004600 T xhtmldbg::WinInterface::metaObject() const
00004340 T xhtmldbg::Plugger::metaObject() const
00003ba0 T xhtmldbg::Interface::metaObject() const
0000ad10 V typeinfo for xhtmldbg::PluginInfo
0000ae28 V typeinfo for xhtmldbg::WinInterface
0000add4 V typeinfo for xhtmldbg::Plugger
0000ac40 V typeinfo for xhtmldbg::Interface
00007960 V typeinfo name for xhtmldbg::PluginInfo
00007ca0 V typeinfo name for xhtmldbg::WinInterface
00007978 V typeinfo name for xhtmldbg::Plugger
000076ab V typeinfo name for xhtmldbg::Interface
0000ad28 V VTT for xhtmldbg::PluginInfo
0000ac58 V VTT for xhtmldbg::Interface
0000ad40 V vtable for xhtmldbg::PluginInfo
0000ae40 V vtable for xhtmldbg::WinInterface
0000ade0 V vtable for xhtmldbg::Plugger
0000ac60 V vtable for xhtmldbg::Interface
00004020 T virtual thunk to xhtmldbg::PluginInfo::metaObject() const
00003b80 T virtual thunk to xhtmldbg::Interface::metaObject() const
00003d80 T virtual thunk to xhtmldbg::PluginInfo::qt_metacast(char const*)
00003ae0 T virtual thunk to xhtmldbg::Interface::qt_metacast(char const*)
00003e20 T virtual thunk to xhtmldbg::PluginInfo::qt_metacall(QMetaObject::Call, int, void**)
00003a40 T virtual thunk to xhtmldbg::Interface::qt_metacall(QMetaObject::Call, int, void**)
0000b178 A __bss_start
0000b178 A _edata
0000b180 A _end
00007658 T _fini
000032a4 T _init
Lesezeichen