Ubuntu 15.04 compile Subsurface from source

Linus Torvalds torvalds at linux-foundation.org
Fri Jul 3 12:37:47 PDT 2015


On Fri, Jul 3, 2015 at 12:29 PM, Steve Butler <kg7je at comcast.net> wrote:
>
> Compiled fine but attempting to run the local version give:
>     install-root/bin/subsurface: error while loading shared libraries:
> libGrantlee_Templates.so.5: cannot open shared object file: No such file or directory

Yeah, subsurface uses a shared library for its private grantlee link,
which is kind of annoying, but some libraries really want to be
shared, whether it makes sense or not.

And since the library is in a non-standard place, the system doesn't find it.

You can work around it by doing something like

    sudo ldconfig full-path-to/install-root/lib

to run stuff in place (or by just installing it all, but you'll still
need to then run "ldconfig" to let the system know about the new
library).

              Linus


More information about the subsurface mailing list