Bug 359033 - KDEInit could not launch '<*>' - Could not open library 'usr/lib/libkdeinit5_<*>' - 'No such file'. Blender in this case.
Summary: KDEInit could not launch '<*>' - Could not open library 'usr/lib/libkdeinit5_...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.5.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-02-05 16:15 UTC by vindicator
Modified: 2018-09-26 05:56 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
blender.desktop (5.46 KB, application/x-desktop)
2016-02-06 02:12 UTC, vindicator
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vindicator 2016-02-05 16:15:11 UTC
*****(opening blender.desktop via Application Launcher)
KDEInint could not launch 'blender':
Could not open library '/usr/lib/libkdeinit5_blender'.
Cannot load library /usr/lib/libkdeinit5_blender: (/usr/lib/libkdeinit5_blender.so: cannot open shared object file: No such file or directory)
*****

Reproducible: Always

Steps to Reproduce:
1. Download Blender tarball https://www.blender.org/download/
2. Extract tarball in Downloads directory
3. cp ~/Downloads/<extracted blender path>/blender.desktop ~/.local/share/applications
4. Launch via:
  4a. Launch Blender from Application Launcher
or
  4b. Launch blender from CLI: $ ~/Downloads/<extracted blender path>/blender

Actual Results:  
4a: Fails with the error listed under description.
4b: Succeeds with loading Blender.

Expected Results:  
4a: SHOULD succeed with loading Blender.

It seems that KDE expects any ".desktop" program in the Application Launcher to have an associated KDE init lib file.
That is the reason why I titled this bug the way I did.
I had seen other bug instances similar to this (with the error message) and the odd thing with them is they looked like they were already KDE programs (k* like konsole, kwrite).
Comment 1 David Edmundson 2016-02-06 00:35:09 UTC
David-Desktop:~/Downloads/blender-2.76b-linux-glibc211-x86_64 $ ls
2.76                blender-thumbnailer.py  icons                  LICENSE-bmonofont-i18n.ttf.txt
blender             copyright.txt           jemalloc-license.txt   LICENSE-droidsans.ttf.txt
blenderplayer       GPL3-license.txt        lib                    Python-license.txt
blender-softwaregl  GPL-license.txt         LICENSE-bfont.ttf.txt  readme.html


There is no blender.desktop file.

Please check your instructions, and attach your .desktop file.


Also I had no error running Blender directly from the command line. There's no reason that  would go via kdeinit5.
Please can you show me the full output of you running step 4b, including the command you're running.
Comment 2 vindicator 2016-02-06 02:12:44 UTC
Created attachment 97036 [details]
blender.desktop

Oooooh, I wonder if the .desktop file is only included with the "bleeding-edge": https://builder.blender.org/download/
I just downloaded the latest bleeding edge and it does have the .desktop file, but I guess the standard download does not from your file listing.
I am attaching the blender.desktop file.

You are correct that 4b works from the CLI because it does NOT look for that kdeinit5 lib. HOWEVER, 4a does.
Just to be clear, the issue is 4a (NOT 4b).
Comment 3 Andrew Crouthamel 2018-09-25 21:38:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 vindicator 2018-09-26 05:56:43 UTC
I don't know why "NEEDSINFO" when I provided the file and 4b was never the problem.

I gave it another go just now (blender-2.79-linux-glibc219-x86_64) and the application launcher file works for me.