foss-asic-tools
foss-asic-tools copied to clipboard
libklayout_tl.so.0: cannot open shared object file
As of today, running the docker in tigervnc vncviewer after "docker pull efabless/foss-asic-tools:latest". I wanted to use klayout for layout work with sky130, and ran into an issue
sh-4.2$ klayout
klayout: error while loading shared libraries: libklayout_tl.so.0: cannot open shared object file: No such file or directory
On my linux install the path is /usr/lib/libklayout_tl.so. Not in /usr/lib of the docker image.
Could somebody help? Do you need some more info from me?
I've found /foss/tools/klayout/c021a1834cdc77961e0aa3e87684cdba76aa7159/libklayout_tl.so.0
$ export LD_LIBRARY_PATH=/foss/tools/klayout/c021a1834cdc77961e0aa3e87684cdba76aa7159
Now getting to a new error:
sh-4.2$ klayout sky130_sram_1kbyte_1rw1r_32x256_8.gds
Warning: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-'
ERROR: ../../../src/lay/lay/layApplication.cc,870,ms_instance == 0
terminate called after throwing an instance of 'tl::InternalException'
Aborted (core dumped)