| Summary: | [Regression] Can't start KWord or KPresenter from T-Menu | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Darrell <darrella> |
| Component: | non-core programs | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | albator78, bugwatch, darrella, slavek.banko |
| Priority: | P1 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | Other | ||
| OS: | All | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
|
Description
Darrell
2011-11-20 11:35:35 CST
It is working correctly here (RHEL, Fedora). Update with GIT 2838. Same behavior with KWord and KPresenter. KOffice 3.5.10 and KOffice 2 (KDE4) are not installed. There are no other executables on the system with those file names. /opt/trinity/share/applications/kde/kword.desktop and /opt/trinity/share/applications/kde/kpresent.desktop exist. BTW, by KRunner, I did not mean KDE4, but the Alt-F2 Run option in Trinity. Does Trinity have a name for that applet? Is there a way I can trace/debug this? With the latest GIT I still experience this problem. I have to be able to trace/debug when launching from the menu. The TDE Menu uses the .desktop files to launch the application, whereas the Run Dialog may not. I would start by looking in the .desktop files for kword and kpresenter to make sure that the Exec= line is correct. Everything is as expected. I just tried again and noticed this in the xsession log: [tdeinit] Got EXT_EXEC 'kword' from launcher. The Trinity ltdl loader was unable to dlopen() the shared library '/opt/trinity/lib/trinity/libkwordpart.so' : '/opt/trinity/lib/libkwordprivate.so.4: undefined symbol: _ZN7KSpell212ConfigWidget32setBackgroundCheckingButtonShownEb' The Trinity ltdl loader was unable to dlopen() the shared library '/opt/trinity/lib/trinity/libkwordpart.so' : '/opt/trinity/lib/libkwordprivate.so.4: undefined symbol: _ZN7KSpell212ConfigWidget32setBackgroundCheckingButtonShownEb' [tdeinit] PID 3212 terminated. [tdeinit] Got EXT_EXEC 'kpresenter' from launcher. The Trinity ltdl loader was unable to dlopen() the shared library '/opt/trinity/lib/trinity/libkpresenterpart.so' : '/opt/trinity/lib/libkpresenterprivate.so.4: undefined symbol: _ZN7KSpell212ConfigWidget32setBackgroundCheckingButtonShownEb' The Trinity ltdl loader was unable to dlopen() the shared library '/opt/trinity/lib/trinity/libkpresenterpart.so' : '/opt/trinity/lib/libkpresenterprivate.so.4: undefined symbol: _ZN7KSpell212ConfigWidget32setBackgroundCheckingButtonShownEb' Launching the other koffice apps does not result in those errors. libkwordprivate.so.4 is installed in /opt/trinity/lib libkwordpart.so is installed in /opt/trinity/lib/trinity I don't know what the errors mean or how to resolve, but looks like we now have a clue! I don't have any symbol debugging support built in right now. :-( Is this a problem with the way I am compiling? Possibly more information: ld /opt/trinity/lib/libkwordprivate.so.4 ld: warning: cannot find entry symbol _start; not setting start address /opt/trinity/lib/libkwordprivate.so.4: undefined reference to `KSpell2::ConfigWidget::setBackgroundCheckingButtonShown(bool)' /opt/trinity/lib/libkwordprivate.so.4: undefined reference to `KSpell2::ConfigWidget::save()' /opt/trinity/lib/libkwordprivate.so.4: undefined reference to `KSpell2::ConfigWidget::slotDefault()' /opt/trinity/lib/libkwordprivate.so.4: undefined reference to `KSpell2::ConfigWidget::ConfigWidget(KSpell2::Broker*, TQWidget*, char const*)' ld /opt/trinity/lib/trinity/libkwordpart.so ld: warning: cannot find entry symbol _start; not setting start address /opt/trinity/lib/libkwordprivate.so.4: undefined reference to `KSpell2::ConfigWidget::setBackgroundCheckingButtonShown(bool)' /opt/trinity/lib/libkwordprivate.so.4: undefined reference to `KSpell2::ConfigWidget::save()' /opt/trinity/lib/libkwordprivate.so.4: undefined reference to `KSpell2::ConfigWidget::slotDefault()' /opt/trinity/lib/libkwordprivate.so.4: undefined reference to `KSpell2::ConfigWidget::ConfigWidget(KSpell2::Broker*, TQWidget*, char const*)' When I run kword from the mini cli using no path then I see the "ltdl loader" errors. When I run kword with the full path (/opt/trinity/bin/kword) I do not see the errors. Someting strange going on next door.... I can confirm the same behavior in 3.5.13.1. Modifying the report to a regression for easier identification. When I track this error, I noticed the following: Many files *. la in /opt/trinity/lib/trinity includes a reference to places where performed build: -L/tmp/buildd/koffice-trinity-3.5.13/... I made great cleaning in many Makefile.am. On Ubuntu, not only that it does not run KWord and KPresenter from the menu, but I can not run KSpread - in any way: missing KFindDialog (=> not linked libkutils). KWord and KPresenter not explicitly linked to libkspell2, but this alone does not help, because libkspell2 from tdelibs contains an bug. I found that CMake in tdelibs/kspell2/ui defines two targets with same name - kspell2. But each with different SRCS. Due to this, library kspell2 was incomplete. koffice part fixed in GIT hash 5c69fcd3. tdelibs part fixed in GIT hash 3e284fad. Confirmed --- fixed! Thank you! |