Hey all, I am having trouble installing klayout on...
# klayout
s
Hey all, I am having trouble installing klayout on my Ubuntu 24. I just used “sudo apt install klayout” and when I “klayout -v” it outputs “Klayout 0.28.15” However when I try to open klayout by “klayout”, it runs a few processes and then proceeds to say core has been dumped. I tried to install from the klayout website, but I keep hitting dependencies issues with libgit2-1.1, libruby3.0 and libpython3.10
p
i am not the right person to answer this, but I personally use the iic-osic docker container so that I don't have to deal with any of these installation and integration issues (link-https://github.com/iic-jku/IIC-OSIC-TOOLS)
s
Thank you!
m
klayout 0.29.01 works as expected when build on 24.04 (with libgit2-1.7, libruby3.2 and libpython3.12). The current iic-osic-tools image is based on 22.04 ( an image based on 24.04 is in the works ) A little bit more about the bug : https://bugs.launchpad.net/ubuntu/+source/klayout/+bug/2066026
s
Thanks @Michael Strothjohann, will look into it
l
I use nix for anything that gives me trouble. Basically I use it as a more complete and up-to-date (but slower) apt. On their website and stuff they're talking about a new world order based on content addressed everything, but if you just stick to
nix-env --query --available something
and
nix-env --install something
then it's pretty excellent and fool-proof. I have no idea who maintains all these packages but they are always up to date and available.
s
Hi all, this has issue has been resolved. I built klayout from source using the .tar file provided in the website. Thanks for the help.
Thanks @Luke Harold Miles