This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDEInit failing to launch non-KDE binary

Tags: None
(comma "," separated)
dfoskett
Registered Member
Posts
34
Karma
0
OS
Hi, first time posting here, I hope this is in an acceptable place.

I'm using a fresh install of Kubuntu 12.10, with KDE 4.10.2, and have installed a mail client, Mulberry, into my home directory. (AFAICT it's a bunch of files in a hidden directory in my home directory, and a binary you can put anywhere - I've put it in /usr/loca/sbin, which is in my $PATH). I've added it to the Kickoff Launcher, and to my panel. When clicking to launch from the kickoff launcher, nothing whatsoever seems to happen, and when I click on the shortcut in my panel, I get this error message:

KDEInit could not launch '/usr/local/sbin/mulberry'

The mulberry binary in sbin belongs to the root user & group, and has permissions set to rwxr-xrwx. Everything about this installation of Mulberry is identical to a working installation on Kubuntu 11.10 (off the top of my head I'm unsure about what version of KDE, but I can boot into it and check if it matters).

If anybody has any ideas or advice, I'd be grateful to hear it.

Thanks,
- Dan
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you attempt to launch the executable manually in Konsole, does this work?
You might be missing needed libraries, etc.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
dfoskett
Registered Member
Posts
34
Karma
0
OS
Hi Ben, Thanks for replying. Mulberry's FAQ says: "Mulberry is built and tests on a RedHat 9 x86 system. It should run on any Linux x86 system with glibc2.3 libraries." so i did searches on both installs and found glibc21.m4 and glibc2.m4 on each, so I assumed (perhaps incorrectly?) that the library requirements were met on both systems. When I try to run Mulberry from Konsole, it complains:

$ mulberry
bash: /usr/local/sbin/mulberry: No such file or directory

Thanks for your help!

- Dan
User avatar
google01103
Manager
Posts
6668
Karma
25
where'd you get it?

on the website (http://www.mulberrymail.com/) the last update to the sw is 2007, afaik that's the date the executable was created might be a bit too old

you might try to compile from source see http://herbert.the-little-red-haired-gi ... index.html

and there's a git hub for the 4.1d1 branch (whatever that is) https://github.com/mbert/mulberry-main

and of course they do have a mailing list you can try


OpenSuse Leap 42.1 x64, Plasma 5.x

dfoskett
Registered Member
Posts
34
Karma
0
OS
Hi Bill - I got it from the official website, http://www.mulberrymail.com - I've been using it for about ten years, I think. The mailing list looks pretty dead (I glanced through the archives), but I'll ask and see if anyone has it running on k/ubuntu 12.10. The author/owner of Mulberry open-sourced it , so I assume 4.1d1 is a version released by someone else, working from the last official release, 4.0.8 - I had no idea anyone was doing this! I guess i can try to compile it myself, though i may quickly get in over my head ;-)

I had thought I would try here for help, since googling KDEInit problems had turned up some recent hits. Does the error reported by Konsole, above, suggest anything to you about whether it's a KDE problem, or a distro/library problem, or something else?

Thanks,

- Dan
User avatar
google01103
Manager
Posts
6668
Karma
25
are you sure the file is there? and that you have permissions? and that it is executable?
the message says it can't find it, might be a rights thing
it should probably go in /usr/local/bin as sbin is usually for admin purposes

if you try running the full path does it run?
try moving is to your /home and run it with sh ~/mulberry in Konsole


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
google01103
Manager
Posts
6668
Karma
25
I just dl'ed and it ran it so I'm guessing it's a permission or location issue


OpenSuse Leap 42.1 x64, Plasma 5.x

dfoskett
Registered Member
Posts
34
Karma
0
OS
Okay, I got rid of previously downloaded, untarred, and moved stuff, redownloaded & untarred, and

~$ sh ~/mulberry
/home/my_home_dir/mulberry: 1: /home/my_home_dir/mulberry: Syntax error: "(" unexpected
User avatar
google01103
Manager
Posts
6668
Karma
25
sorry I was not clear, meant move the executable, you're trying to execute the folder

run the executable with full path which would be, in your case, sh /home/my_home_dir/mulberry/mulberry


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
google01103
Manager
Posts
6668
Karma
25
if this works placing it in /usr/local/bin should work as should /usr/bin and ~/bin, but ~/bin would only be available normally to you


OpenSuse Leap 42.1 x64, Plasma 5.x

dfoskett
Registered Member
Posts
34
Karma
0
OS
Ah, sorry - so, when I untar the download it creates a hidden folder in my home directory called .mulberry, and the binary mulberry winds up in my home folder. I moved the binary to /home/my_home_dir/test, and

sh /home/my_home_dir/test/mulberry

gives the same result:

$ sh /home/my_home_dir/test/mulberry
/home/dff/test/mulberry: 1: /home/dff/test/mulberry: Syntax error: "(" unexpected

Does this tell us anything?

Thanks,
- Dan
User avatar
google01103
Manager
Posts
6668
Karma
25

Mon Apr 08, 2013 9:52 pm
sometime I no think so good, you can't run an executable with sh (it's for scripts) arghhhhhhhh - sorry

just do /home/my_home_dir/test/mulberry


OpenSuse Leap 42.1 x64, Plasma 5.x

dfoskett
Registered Member
Posts
34
Karma
0
OS
No problem! But now we're back to

$ /home/my_home_dir/test/mulberry
bash: /home/my_home_dir/test/mulberry: No such file or directory

here's some additional info (a guy on the mulberry mailing list just asked me if i was sure the binary wasn't actually a symlink pointing to nowhere, so):

$ ls -l /home/my_home_dir/test/mulberry
-rwxrwxr-x 1 my_username my_username 15466880 Feb 21 2007 /home/my_home_dir/test/mulberry
User avatar
google01103
Manager
Posts
6668
Karma
25

Mon Apr 08, 2013 10:16 pm
that's the executable, same size as I excute with no issue - I'm clueless

can you cd to /home/my_home_dir/test/ and then run ./mulberry
the ./ is to insure there not a different mulberry earlier in your path

I have no idea why the error message is preceeded with "bash"

can you run these 2 commands:
which mulberry
whereis mulberry


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
google01103
Manager
Posts
6668
Karma
25

Mon Apr 08, 2013 10:31 pm
are you running 64bit Kubuntu? if so you might be missing some 32bit libraries as the executable is 32bit, found post with similar error message that impied this,
if 64bit try running sudo apt-get install ia32-libs

do you have any similar issues with other apps? have you ever gotten Mulberry to work?

also close & reopen konsole or open new tab and the try re-running it, maybe there's something wrong with your bash session

finally run ldd mulberry


OpenSuse Leap 42.1 x64, Plasma 5.x



Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]