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

Korundum Conundrum

Tags: None
(comma "," separated)
RedMage
Registered Member
Posts
3
Karma
0

Korundum Conundrum

Mon Sep 24, 2012 3:44 pm
Hey there Everyone

Long time KDE user here, trying my hand at a manga reader for plasma active.

I know Javascript fairly well, and I know that QML is the "preferred" dev tool, but I like Ruby so much because of it's well developed eco system, particularly for TDD("If it's not worth testing, then it's not worth writing!"). When everything is in place, I can build much faster with Ruby than ECMAScript stuff.

Running Kubuntu Precise. I have installed korundum, ruby 1.8 through the repositories. I can't get it to run a basic app made using Qt Designer and rbuic4. Whenever I run I get this darned error:

Code: Select all
/usr/lib/ruby/1.8/x86_64-linux/korundum4.so: libruby.so.1.9: cannot open shared object file: No such file or directory - /usr/lib/ruby/1.8/x86_64-linux/korundum4.so (LoadError)
        from MangaMate/ui/home_ui.rb:10


I tried creating a symbolic link to /usr/lib/ruby-1.9.1.so.1.9.1. That gets rid of the error, but then it seg faults:

Code: Select all
/usr/lib/ruby/1.8/Qt/qtruby4.rb:2705: [BUG] Segmentation fault
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

Aborted (core dumped


Anyone else have similar problems? I could barely find any mention of korundum on the forum or anywhere else in the world
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Korundum Conundrum

Wed Sep 26, 2012 8:31 am
Taking a guess - it would seem that Korundum on your system was built against Ruby 1.9 - which is incompatible with the Ruby 1.8 installed on your system. This would explain the library not found and segmentation fault messages you get.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
RedMage
Registered Member
Posts
3
Karma
0

Re: Korundum Conundrum

Wed Sep 26, 2012 6:36 pm
Thanks. I'll have to contact the package maintainer. When I run the program with ruby 1.9, per the repositories, it says the gem does not exist.
RedMage
Registered Member
Posts
3
Karma
0

Re: Korundum Conundrum  Topic is solved

Tue Oct 02, 2012 4:59 pm
Turns out a compilation of qtbindings from one of my RVM installs was causing mayhem. Stick with the repos!

SOLVED!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Korundum Conundrum

Fri Oct 05, 2012 6:57 am
Marked as Solved. Good to hear you managed to find the cause of the issue.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

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