Klayout not opening on centos7

Hi Everyone,

I have installed Klayout in the centos7 environment.

Using the build.sh command on the centos7 machine, it has completed successfully.

However when I try to open klayout on the machine I am getting the following error.

$ ./bin-release/klayout
./bin-release/klayout: error while loading shared libraries: libklayout_tl.so.0: cannot open shared object file: No such file or directory

Thank you for taking the time to read this and hopefully someone will have a solution to this.




  • I forgot to add the version of klayout which I am trying to install 0.25.9

  • I have found the issue it turns out that klayout requires an enviroment variable to be set which points to the shared librarys

  • Hi Andrew,

    LD_LIBRARY_PATH isn't necessary if you specify a prefix with "--prefix" in the build step. In this case, the installation path will be put into the RPATH header entry of the shared objects and executables.


Sign In or Register to comment.