Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61136 - kdenetwork 3.3.0 kopete problem with modules - "There was an error loading the module"
Summary: kdenetwork 3.3.0 kopete problem with modules - "There was an error loading th...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 77578 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-21 04:21 UTC by Hans-Christian Armingeon
Modified: 2005-01-12 16:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Christian Armingeon 2004-08-21 04:21:33 UTC
Hi,

I am having troubles getting kopete to work.
I emerged kdenetwork-3.3.0. When I start kopete, and go into the Settings / Configure Kopete Menu, kopete says:

There was an error loading the module.
In the Details box is this text:

The diagnostics is:
/usr/lib/kde3/kcm_kopete_accountconfig.so: cannot open shared object file: No such file or directory
Possible reasons:
An error occurred during your last KDE upgrade leaving an orphaned control module
You have old third party modules lying around.
Check these points carefully and try to remove the module mentioned in the error message. If this fails, consider contacting your distributor or packager.

Well, I'm contacted the packager ;-).

FYI, I have an old kde 3.2.5 install lying around.
/usr/lib/kde3/kcm_kopete_accountconfig.so is not available, but /usr/lib/kde3/kcm_kopete_accountconfig.la is available.

I searched for the lib, and found out, that it is in /usr/kde/3.3/lib/kde3/kcm_kopete_accountconfig.so.

Can somebody explain me the difference between /usr/kde/3.3/lib/kde3/ and /usr/lib/kde3/ ?
/usr/lib/kde3/kcm_kopete_accountconfig.la doesn't seem to be owned by any package, acording to qpkg -f .

I compiled kdenetwork with debug messages:
# kopete
libkopete: using X11 MIT Screensaver extension
kutils (KSettings::Dispatcher): [static KSettings::Dispatcher* KSettings::Dispatcher::self()]
kutils (KSettings::Dispatcher): [KSettings::Dispatcher::Dispatcher(QObject*, const char*)]
kutils (KSettings::Dispatcher): [void KSettings::Dispatcher::registerInstance(KInstance*, QObject*, const char*)] kopete
libkopete: [void KopeteContactList::setSelectedItems(QPtrList<KopeteMetaContact>, QPtrList<KopeteGroup>)] 0 metacontacts, 0 gr
oups selected
kio (KTrader): KServiceTypeProfile::offers( Kopete/Plugin, )
kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-root/ksycoca
kio (KTrader): Returning 22 offers
libkopete: [bool Kopete::MimeTypeHandler::registerAsMimeHandler(const QString&)] Mime type application/x-kopete-emoticons regi
stered
libkopete: [bool Kopete::MimeTypeHandler::registerAsMimeHandler(const QString&)] Mime type application/x-tgz registered
libkopete: [bool Kopete::MimeTypeHandler::registerAsMimeHandler(const QString&)] Mime type application/x-tbz registered
kio (KTrader): KServiceTypeProfile::offers( Kopete/Plugin, )
kio (KTrader): Returning 22 offers
libkopete: [KopetePlugin* KopetePluginManager::loadPluginInternal(const QString&)] No service implementing the given mimetypeand fullfilling the given constraint expression can be found.
libkopete: [KopetePlugin* KopetePluginManager::loadPluginInternal(const QString&)] Loading plugin 'kopete_chatwindow' failed,KLibLoader reported error: '
libkopete: /usr/lib/kde3/kopete_chatwindow.so: cannot open shared object file: No such file or directory'
kopete: [virtual int KopeteApplication::newInstance()]
kopete: [void KopeteApplication::handleURLArgs()] called with 0 arguments to handle.
kio (KTrader): KServiceTypeProfile::offers( Kopete/Plugin, )
kio (KTrader): Returning 22 offers
kutils (KSettings::Dispatcher): [static KSettings::Dispatcher* KSettings::Dispatcher::self()]
kutils (KSettings::Dispatcher): [void KSettings::Dispatcher::registerInstance(KInstance*, QObject*, const char*)] kopete
kutils (KPluginInfo): [virtual void KPluginInfo::setPluginEnabled(bool)]
libkopete: [KopetePlugin* KopetePluginManager::loadPluginInternal(const QString&)] Successfully loaded plugin 'kopete_netmeeting'
kio (KTrader): KServiceTypeProfile::offers( Kopete/Plugin, )
kio (KTrader): Returning 22 offers
kutils (KSettings::Dispatcher): [static KSettings::Dispatcher* KSettings::Dispatcher::self()]
kutils (KSettings::Dispatcher): [void KSettings::Dispatcher::registerInstance(KInstance*, QObject*, const char*)] kopete_latex
kutils (KPluginInfo): [virtual void KPluginInfo::setPluginEnabled(bool)]
libkopete: [KopetePlugin* KopetePluginManager::loadPluginInternal(const QString&)] Successfully loaded plugin 'kopete_latex'
kio (KTrader): KServiceTypeProfile::offers( Kopete/Plugin, )
kio (KTrader): Returning 22 offers
kutils (KSettings::Dispatcher): [static KSettings::Dispatcher* KSettings::Dispatcher::self()]
kutils (KSettings::Dispatcher): [void KSettings::Dispatcher::registerInstance(KInstance*, QObject*, const char*)] kopete_alias
kutils (KPluginInfo): [virtual void KPluginInfo::setPluginEnabled(bool)]
libkopete: [KopetePlugin* KopetePluginManager::loadPluginInternal(const QString&)] Successfully loaded plugin 'kopete_alias'
kopete: [void KopeteApplication::handleURLArgs()] called with 0 arguments to handle.
kutils (KSettings::Dialog): [QValueList<KSharedPtr<KService> > KSettings::Dialog::instanceServices() const]
kutils (KSettings::Dialog): calling KServiceGroup::childGroup( kopete )
kutils (KSettings::Dialog): call was successfull
kutils (KSettings::Dialog): found service
kutils (KSettings::Dialog): found service
kutils (KSettings::Dialog): found service
kopete: [KCModuleInfo::KCModuleInfo(KSharedPtr<KService>)] kopete_accountconfig.desktop
kopete: [KCModuleInfo::KCModuleInfo(KSharedPtr<KService>)] kopete_behaviorconfig.desktop
kopete: [KCModuleInfo::KCModuleInfo(KSharedPtr<KService>)] kopete_appearanceconfig.desktop
kutils (KSettings::Dialog): [void KSettings::PageNode::sort()] root node
kutils (KSettings::Dialog): [int KSettings::PageNode::weight() const] Appearance 100
kutils (KSettings::Dialog): [int KSettings::PageNode::weight() const] Behavior 100
kutils (KSettings::Dialog): [int KSettings::PageNode::weight() const] Behavior 100
kutils (KSettings::Dialog): [int KSettings::PageNode::weight() const] Accounts 100
kutils (KSettings::Dialog): [void KSettings::PageNode::sort()] Accounts
kutils (KSettings::Dialog): [void KSettings::PageNode::sort()] Behavior
kutils (KSettings::Dialog): [void KSettings::PageNode::sort()] Appearance
kutils (KSettings::Dialog): creating KCMultiDialog
kutils (KSettings::Dispatcher): [static KSettings::Dispatcher* KSettings::Dispatcher::self()]
kutils (KSettings::Dispatcher): [static KSettings::Dispatcher* KSettings::Dispatcher::self()]
kutils (KSettings::Dispatcher): [static KSettings::Dispatcher* KSettings::Dispatcher::self()]
kutils (KSettings::Dialog): [void KSettings::PageNode::addToDialog(KCMultiDialog*)] for root node
kutils (KSettings::Dialog): check whether the Accounts KCM should be shown
kutils (KSettings::Dialog): [bool KSettings::PageNode::isVisible()] returns true
kutils (KSettings::Dialog): [bool KSettings::PageNode::isVisible()] returns true
kutils (KSettings::Dialog): [void KSettings::PageNode::addToDialog(KCMultiDialog*)] for Accounts
kutils (KSettings::Dialog): [bool KSettings::PageNode::isVisible()] returns true
kutils (KCMultiDialog): KCMultiDialog::addModule Accounts
kutils (KCMultiDialog): [void KCMultiDialog::addModule(const KCModuleInfo&, QStringList, bool)] ParentComponents=(kopete)
kutils (KCMultiDialog): [void KCMultiDialog::slotAboutToShow(QWidget*)]



Reproducible: Always
Steps to Reproduce:
See above.



Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r0, 
2.6.8-gentoo) 
================================================================= 
System uname: 2.6.8-gentoo i686 mobile AMD Athlon(tm) XP 2500+ 
Gentoo Base System version 1.5.3 
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-m32 -O3 -march=athlon-4 -O3 -fomit-frame-pointer -funroll-loops 
-pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /lib/modules /opt/glftpd/etc /usr/NX/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control /var/spool/fax/etc /var/vpopmail/domains /var/vpopmail/etc" 
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-m32 -O3 -march=athlon-4 -O3 -fomit-frame-pointer -funroll-loops 
-pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache distcc sandbox sfperms" 
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" 
MAKEOPTS="-j4" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow 3dnowex 3dnowext X X509 aalib acl acpi adns afs aim alsa apache2 
apm arts audiofile avi berkdb bidi bitmap-fonts blender-game bonobo caps 
cdparanoia cdr chasen chroot clearpasswd codecs crypt cscope cups curl cyrus 
dedicated dga directfb divx4linux doc dts dvd dvdr dvdread edl emacs encode 
esd ethereal evo f77 faad fam fax fbcon fbdev fdftk fftw firebird flac flash 
flexresp fltk foomaticdb frascend freetds frlargefiles frxp gb gcj gd gdbm ggi 
gif gimpprint gmp gnome gnutls gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml 
guile icc icq idea imagemagic imagemagick imap imlib inetd informix innodb 
insecure-drivers ipalias ipv6 jabber jack jack-tmpfs java javamail jikes jit 
jks joystick jpeg junit kde kerberos ladcca lcms ldap libcaca libg++ libgda 
libwww linguas_de lirc live lzo mad maildir maildrop mailwrapper matroska mbox 
mbrola mcal mecab memlimit mikmod mmx mmx2 motif mozcalendar mozilla mozsvg 
mpeg mpi msn mysql mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nas 
ncurses netcdf network neural nls nptl oav objc oci8 odbc offensive oggvorbis 
opengl oscar oss pam pcmcia pcsc-lite pdapdflib perl pic plotutils png pnp 
portaudio postgres ppds prelude procmail python qt quicktime readline rtc ruby 
samba sasl scanner sdl sftplogging silc skey slang slp smartcard smime sndfile 
snmp snortsam socks5 soundtouch speex spell sqlite sse ssl stats 
stencil-buffer svg svga szip tcltk tcpd tetex tga theora threads tiff 
transcode transparent-proxy truetype unicode usb v4l v4l2 vda vhosts wifi wmf 
wxwindows x86 xine xinerama xml xml2 xmms xosd xprint xv xvid yahoo yaz zlib"
Comment 1 Matt Rogers 2004-08-25 21:29:45 UTC
do you have both net-im/kopete installed as well? If so, remove it ( emerge -C )
Comment 2 Hans-Christian Armingeon 2004-08-26 02:08:49 UTC
No.
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2004-08-26 02:18:09 UTC
/usr/lib/kde3/ is where old versions of kopete installed their files.
It seems something remained there, doing "rm /usr/lib/kde3/*kopete*"
kopete should start working again.
Comment 4 Hans-Christian Armingeon 2004-08-26 14:42:49 UTC
Halleluja.

Now it works!

Thanks.

But there is al lot of other stuff (460 Files).

So I think there is a real bug there, even thou my problems are fixed. A user shouldn't have to delete files manually, this is the work of the packet manager, I think.

Johnny

PS: feel free to change this bug to fixed
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2004-09-02 14:13:30 UTC
seems fixed for author.
Comment 6 Anno v. Heimburg 2004-09-10 02:28:59 UTC
Well, not entirely. I needed to unmerge kde-network-3.2.3 in order to be able to use kopete. Before that, the same error appeared ("kcm_kopete_accountconfig.so: cannot open shared object file: No such file or directory", no path in this case).

Running ldconfig directly prior to starting kopete would make it work until the next kde restart. my solutin was to unmerge kdenetwork-3.2.3 and its dependencies.
Comment 7 Hans-Christian Armingeon 2004-09-10 08:56:12 UTC
Why do we have slotting, when it doesn't work?

So I think that this bug is still open.

Johnny
Comment 8 Anno v. Heimburg 2004-09-11 06:43:22 UTC
I realised I tried to start kde-3.2.3's kopete. starting kde-3.3's kopete worked, but still, installing kde-3.3 shouldn't break 3.2.

I may be wrong, but perhaps the issue here is that the plugins are not versioned, and as such, ld has no way to figure out which plugin-.so to take, and takes the one higher up in the list - kde-3.3's. which doesn't work with kde-3.2.
Comment 9 Hans-Christian Armingeon 2004-11-26 00:41:11 UTC
new kde available
Comment 10 Gregorio Guidi (RETIRED) gentoo-dev 2005-01-12 16:13:45 UTC
*** Bug 77578 has been marked as a duplicate of this bug. ***