less than 1 minute read

The other thing I resolved here was how to get Jekyll running at all on my Fedora laptop. I followed the instructions from the Jekyll website on what packages to install, and it worked for a clean site, but for my own website, which has some customizations, it would complain about not being able to find libsass.so:

Could not open library '/$homedir/gems/gems/sassc-2.4.0/lib/sassc/libsass.so': /$homedir/gems/gems/sassc-2.4.0/lib/sassc/libsass.so: cannot open shared object file: No such file or directory. (LoadError)

At least the fix for this was simple: a run of the find command quickly showed that the library file did exist, but not in the place expected by whatever was attempting to call it. I simply symlinked the actual file to the place where it couldn’t be found, and Jekyll immediately started working:

ln -sf ~/gems/extensions/x86_64-linux/3.3.0/sassc-2.4.0/sassc/libsass.so ~/gems/gems/sassc-2.4.0/lib/sassc/libsass.so

Let’s see when this breaks. I suspect the correct way of solving this would be to add some subfolder here to my $PATH or similar, but the sun is shining and I really can’t be bothered right now.