Bug 127551 - Failed to start boson
Summary: Failed to start boson
Status: RESOLVED WORKSFORME
Alias: None
Product: boson
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: The Boson Team
URL:
Keywords:
: 127552 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-18 10:14 UTC by Daniel Lärm
Modified: 2006-05-18 20:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Lärm 2006-05-18 10:14:28 UTC
Version:           0.11-19 (using KDE KDE 3.5.2)
Installed from:    SuSE RPMs
OS:                Linux

When starting boson, everytime following output is generated:

[int main(int, char**)] resolving GL, GLX and GLU symbols
[int main(int, char**)] GL, GLX and GLU symbols successfully resolved
Boson Sound: [BosonAudioInterface::BosonAudioInterface()]
Boson Sound: [BosonAudioInterface::BosonAudioInterface()] construct BosonAudio object
boson: [BosonAudioAL::BosonAudioAL()] initializing OpenAL
boson: [BosonAudioAL::BosonAudioAL()] OpenAL initialized
Boson Sound: [BosonAudioInterface::BosonAudioInterface()] BosonAudio object constructed
Boson Sound: [void BosonAudioAL::executeCommand(BoAudioCommand*, BosonMusic*, BosonSound*)] music object is created on startup. nothing to do
boson: [QString BoCheckInstallation::checkInstallation()]
boson: [QString BoCheckInstallation::checkInstallation()] successful
boson: [BosonGLWidget::BosonGLWidget(QWidget*, const char*, bool)]
boson: [void BosonGLWidget::setContext(BoContext*)]
boson: [BosonMainWidget::BosonMainWidget(QWidget*, bool)]
Boson Sound: [void BosonAudioAL::executeCommand(BoAudioCommand*, BosonMusic*, BosonSound*)] enable sound: 0
boson: [void BosonMainWidget::slotSetUpdateInterval(unsigned int)] 20
boson: [void BosonGLWidget::initGL()]
boson: [virtual void BosonMainWidget::initializeGL()]
boson: [void boglInit()] Checking for OpenGL extensions...
boson: [virtual void BosonMainWidget::initializeGL()] starting timer
boson: [void BoGLQueryStates::init()]
boson: [void BoGLQueryStates::init()] done
boson: [void BoTextureManager::initOpenGL()] Checking for OpenGL extensions...
boson: [void BoTextureManager::initOpenGL()] Multitexturing is not supported!
boson: [void BoTextureManager::initOpenGL()] S3TC texture compression is not supported!
boson: [void BoTextureManager::initOpenGL()] Max anisotropy: 1
boson: [void BoTextureManager::initOpenGL()] OpenGL initialized
boson: [void BoTextureManager::initOpenGL()] OpenGL already inited, returning
boson: [void BosonMainWidget::initUfoGUI()]
boson: [BoUfoManager::BoUfoManager(int, int, bool)] 640x320
boson: [BosonGameView::BosonGameView()]
boson: [void BoLightManager::init()] 8 lights are supported
boson: [static void BoGroundRendererManager::initStatic()]
boson: [static void BoGroundRendererManager::initStatic()] done
boson: [static void BoMeshRendererManager::initStatic()]
boson: [static void BoMeshRendererManager::initStatic()] done
boson: [static void BosonGameViewPluginManager::initStatic()]
boson: [static void BosonGameViewPluginManager::initStatic()] done
boson: ERROR: [bool BoPluginManager::loadLibrary()] Unable to find a file for this plugin
boson: ERROR: [bool BoPluginManager::loadLibrary()] library loading failed. fatal error.
boson: [void BosonGLWidget::initGL()]
boson: [virtual void BosonMainWidget::initializeGL()]
boson: [void BosonGLWidget::initGL()] done
boson: [virtual void BosonMainWidget::resizeGL(int, int)] 640 320
boson: [bool BoUfoManager::sendResizeEvent(int, int)] 640x320
boson: [virtual void BosonMainWidget::resizeGL(int, int)] 640 320
boson: [bool BoUfoManager::sendResizeEvent(int, int)] 640x320
boson: [bool BoPluginManager::unloadLibrary()] unsetting old plugin
boson: [bool BoPluginManager::unloadLibrary()] deleting factory

and a messagebox appears with th following content:

Plugin could not be loaded - check your installation

Failed Plugin: libbomeshrendererplugin

Tried file:

Error: Unable to find a file for this plugin
--

The file and links metioned above is existent under /opt/kde/share/apps/boson/meshrendererplugins.
I tried it under KDE 3.51 and 3.52 with the packages shipped within kde.
The error exists also under Suse 9.3, 10.0 and 10.1 with different hardware.
Comment 1 Andreas Beckermann 2006-05-18 14:21:28 UTC
Hi
first of all: KDE does not ship boson at all. You specified you used RPMs - where did you get them from? Who packaged them?

I can not find any filenames at all in the text you quoted - which files exactly exist under /opt/kde/share/apps/boson/meshrendererplugins ?
Where does the boson binary reside? (try "which boson")

Which CPU do you use? 32 or 64 bit?

CU
Andi
Comment 2 Andreas Beckermann 2006-05-18 14:22:13 UTC
*** Bug 127552 has been marked as a duplicate of this bug. ***
Comment 3 Daniel Lärm 2006-05-18 19:06:24 UTC
Hi,

the packages are out of the kde third party apt repository on ftp://ftp4.gwdg.de/pub/linux/suse/apt/SuSE/.../RPMS.kde
Packager entry is only http://bugs.opensuse.org .

/opt/kde3/share/apps/boson/meshrendererplugins (sorry typo forgot 3) contains of:

-rw-r--r--  1 root root   925 2006-05-16 08:50 libbomeshrendererplugin.la
lrwxrwxrwx  1 root root    32 2006-05-18 09:36 libbomeshrendererplugin.so -> libbomeshrendererplugin.so.0.0.0*
lrwxrwxrwx  1 root root    32 2006-05-18 09:36 libbomeshrendererplugin.so.0 -> libbomeshrendererplugin.so.0.0.0*
-rwxr-xr-x  1 root root 52904 2006-05-16 09:09 libbomeshrendererplugin.so.0.0.0*

Because the errormessage told that loading of this plugin failed like postet above i first thought, these files were missing, but they exist.
I testet it on 64 Bit and 32 Bit, both the same error.
Some other people using Suse have the same problem.
Boson files reside under:

/opt/kde3/bin/boson
Comment 4 Andreas Beckermann 2006-05-18 19:37:09 UTC
Hi
looking at the path again I now see why this fails: it is wrong.
/opt/kde3/share/apps/boson/meshrendererplugins is no valid path for boson plugins. These files are supposed to reside at
  /opt/kde3/lib/kde3/plugins/boson/
So the packages provided by your packager are clearly broken. I don't know what you mean by "other people using Suse" - noone ever complained to us at least :-(

Taking a closer look at the relevant Makefile.am of 0.11 it is understandable how that happened: it contains the line
  pluginsdir = $(kde_datadir)/boson/meshrendererplugins
which is where your plugin is installed to. However this line is never used (in our official release) at all, since the name of the variable is boson_plugin_* and the relevant destination for that is boson_plugindir. This however is defined by acinclude.m4.in to '\${libdir}/kde3/plugins/boson'.
Apparently the packager of that rpm did not notice that and never tested the package at all (or accidentally had the plugins already installed at the correct location).


Ok, I have probably confused you with that explanation now, I recommend that you simply give that to the packager of your rpm package, i.e. report to bugs.opensuse.org.

Note that we are going to release 0.12 soon, which will be cmake based and thus won't have this problem (but lots of different problems ;-( )

CU
Andi
Comment 5 Daniel Lärm 2006-05-18 20:28:05 UTC
Hi,

thanks for your help, i copied the files to the right directory and it works :-)
The problem with not reporting, i dont know, the problem was first mentioned one year ago at http://www.linux-club.de/ftopic31591.html#348572 in german.
If someone finds this report here, the bugreport at opensuse can be found under:

https://bugzilla.novell.com/show_bug.cgi?id=176909

cu

Daniel