Red Hat Enterprise 6 KLayout build

edited November 2016 in KLayout Support
Hi Matthias,
I am trying to build KLayout on Red Hat Linux 6 and I get the error which says it is not able to open shared library that is present under the directory that I specified as part of the "-qtlib" command line argument.
Can you please help out?
I have pasted the command and I ran and the message I get below.

Thanks for your help!

Regards,
Senthil

$ ./build.sh -qtbin /tools/cad/Qt5/bin -qtlib /tools/cad/Qt5/lib -qtinc /tools/cad/Qt5/include -platform linux-64-gcc-release
Scanning installation ..

Using Ruby interpreter: ruby
Ruby version code is 10901
Ruby library found: /tools/packages/ruby/1.9.3-p0/Linux/lib/libruby-static.a
Ruby headers found: /tools/packages/ruby/1.9.3-p0/Linux/include/ruby-1.9.1 and /tools/packages/ruby/1.9.3-p0/Linux/include/ruby-1.9.1/x86_64-linux
Ruby installation is in:
- /tools/packages/ruby/1.9.3-p0/Linux/lib/libruby-static.a (lib)
- /tools/packages/ruby/1.9.3-p0/Linux/include/ruby-1.9.1 (includes)
- /tools/packages/ruby/1.9.3-p0/Linux/include/ruby-1.9.1/x86_64-linux (config for 1.9.x)

Using Python interpreter: python
Python library found: /usr/lib64/libpython2.6.so
Python headers found: /usr/include/python2.6
Python installation is in:
- /usr/lib64/libpython2.6.so (lib)
- /usr/include/python2.6 (includes)

Qt installation directory is /tools/cad/Qt5/lib (lib), /tools/cad/Qt5/bin (tools) and /tools/cad/Qt5/include (includes)

Platform is linux-64-gcc-release
Building plugins:

Running build ..
gmake
for d in main ; do (gmake -C $d .dep ; gmake -C $d all) || exit 1; done
gmake[1]: Entering directory `/projects/cad_develop/development/workareas/sganapathy/klayout/klayout-0.24.8/build.linux-64-gcc-release/main'
/projects/cad_develop/development/workareas/sganapathy/klayout/klayout-0.24.8/src/Makefile.body:772: .dep: No such file or directory
/tools/cad/Qt5/bin/uic -o AddNewImageDialog.h /projects/cad_develop/development/workareas/sganapathy/klayout/klayout-0.24.8/src/AddNewImageDialog.ui
/tools/cad/Qt5/bin/uic: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
gmake[1]: *** [AddNewImageDialog.h] Error 127
gmake[1]: Leaving directory `/projects/cad_develop/development/workareas/sganapathy/klayout/klayout-0.24.8/build.linux-64-gcc-release/main'
gmake[1]: Entering directory `/projects/cad_develop/development/workareas/sganapathy/klayout/klayout-0.24.8/build.linux-64-gcc-release/main'
/projects/cad_develop/development/workareas/sganapathy/klayout/klayout-0.24.8/src/Makefile.body:772: .dep: No such file or directory
/tools/cad/Qt5/bin/uic -o AddNewImageDialog.h /projects/cad_develop/development/workareas/sganapathy/klayout/klayout-0.24.8/src/AddNewImageDialog.ui
/tools/cad/Qt5/bin/uic: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
gmake[1]: *** [AddNewImageDialog.h] Error 127
gmake[1]: Leaving directory `/projects/cad_develop/development/workareas/sganapathy/klayout/klayout-0.24.8/build.linux-64-gcc-release/main'
gmake: *** [all] Error 1

Comments

  • edited 9:08PM

    Hi,

    as the documentation says, KLayout requires Qt4. Qt5 is not compatible to Qt4 in many respects.

    Matthias

Sign In or Register to comment.