SpikeInterface / SpikeInterface/spikeinterface
Issue using docker container with Kilosort 2 and 2.5 : error while loading shared libraries
Open
@alejoe91 is already working on this.
Since Jun 19, 2025.
container
sorters
- Dominant language
- Python
- Stars
- 847
- Forks
- 280
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 29
Description
Hi all,
When I am trying to use kilosort 2 or 2.5 through the use of a docker container I get the following error
"ks2_5_compiled: error while loading shared libraries: /opt/matlabruntime/R2022b/sys/os/glnxa64/libstdc++.so.6: file too short"
The code I am using to run the sorter is
import spikeinterface.full as si
basepath = Path(r"D:\Ephys\20250611_LY_TS232F\Record Node 101\experiment1")
rec3 = si.read_openephys(basepath / 'recording3',stream_name='Record Node 101#OneBox-100.ProbeA-AP')
params = si.get_default_sorter_params('kilosort2_5')
sorting_KS2 = si.run_sorter('kilosort2_5',rec3, folder = basepath / 'rec3kilosort2_5', verbose = True, docker_image = True,installation_mode = 'pypi',**params)
Any help figuring this out would be greatly appreciated!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.