I have a problem with the installation of klayout for linux red hat

edited February 2014 in KLayout Support
Hi my name is Luca , i'm writing because is from this morning that I'm trying to install the new version of klayout but I always get the same error and do not know anymore what to do :
55: lgiffi @ a123564 me/lgiffi/tmp/klayout-0.23.2 > . / Build.sh -platform linux -gcc -64 -releases
Scanning installation ..

Using ruby interpreter : ruby
Ruby version code is 10901
Ruby library found: / usr/local/lib/libruby.so.1.9.1
Ruby headers found: / usr/local/include/ruby-1.9.1 and / usr/local/include/ruby-1.9.1/x86_64-linux
Ruby installation is in:
- / Usr/local/lib/libruby.so.1.9.1 ( lib )
- / Usr/local/include/ruby-1.9.1 (includes )
- / Usr/local/include/ruby-1.9.1/x86_64-linux (config for 1.9.x )

Qt installation directory is / usr/local/Trolltech/Qt-4.8.4/lib ( lib ) / usr/local/Trolltech/Qt-4.8.4/bin ( tools) and / usr/local/Trolltech/Qt-4.8 .4/include (includes )

Platform is 64 - linux- gcc -release
*** ERROR : wrong - rblib path: / usr/local/lib/libruby.so.1.9.1 does not exist or not to file
56: lgiffi @ a123564 / home/lgiffi/tmp/klayout-0.23.2 >

I had launch the installation with only ./build.sh but I have the equal issue:
./build.sh
Scanning installation ..

Using ruby interpreter: ruby
Ruby version code is 10901
Ruby library found: /usr/local/lib/libruby.so.1.9.1
Ruby headers found: /usr/local/include/ruby-1.9.1 and /usr/local/include/ruby-1.9.1/x86_64-linux
Ruby installation is in:
- /usr/local/lib/libruby.so.1.9.1 (lib)
- /usr/local/include/ruby-1.9.1 (includes)
- /usr/local/include/ruby-1.9.1/x86_64-linux (config for 1.9.x)

Qt installation directory is /usr/local/Trolltech/Qt-4.8.4/lib (lib), /usr/local/Trolltech/Qt-4.8.4/bin (tools) and /usr/local/Trolltech/Qt-4.8.4/include (includes)

Platform is linux-64-gcc-release
*** ERROR: wrong -rblib path: /usr/local/lib/libruby.so.1.9.1 does not exist or not a file
57: lgiffi@a123564 /home/lgiffi/tmp/klayout-0.23.2 >

help me

Comments

  • edited November -1

    Hi Luca,

    it looks like you don't have the ruby shared object on your system. Since you have Ruby, it's likely you have a static library (libruby.a) in /usr/local/lib for example, but KLayout won't build against that.

    To solve the problem, you can either try to get a shared object (libruby.so) or build Ruby yourself and use that version.

    Matthias

  • edited November -1
    Matthias hello thank you very much but still not solve,
    I have find this library of ruby : /usr/local/lib/libruby-static.a
    please note that on my system is installed working version of klayout 0.22.5 and it works fine.
    I don't know anymore what to do.
    bye
  • edited February 2014

    Hi Luca,

    you can try to link against the static ruby lib by using

    build.sh -rblib /usr/local/lib/libruby-static.a
    

    but static libraries have been deprecated in some Ruby versions and some symbols may be missing. Hence there is some chance it won't work.

    If that fails, maybe there is somebody who can provide you with a fully functional Ruby installation including a libruby.so. If you have one, make sure that ruby interpreter is in the path and run build.sh. The build script will then use that installation. Another option is to build and install your own Ruby interpreter and use that one.

    Basically it's hard for me to take care of every kind of Linux installation. The build script supports most free distributions out of the box. For other systems, specifically Red Hat, I have to rely on the ability of the users to solve the build issues.

    Matthias

Sign In or Register to comment.