Evolution: Building From Source, Then Moving Path

I’ve successfully build evolution from source, per: https://wiki.gnome.org/Apps/Evolution/Building. Initially, I built it with PREFIX=$HOME/evolution, & have been launching with a script like:

#!/bin/bash
export PREFIX=$HOME/evolution
export PATH=$PREFIX/bin:$PATH
export XDG_DATA_DIRS=$PREFIX/share:$XDG_DATA_DIRS
export LD_LIBRARY_PATH=$PREFIX/lib
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig
export GSETTINGS_SCHEMA_DIR=$PREFIX/share/glib-2.0/schemas
export CFLAGS="-Wno-deprecated-declarations"
$PREFIX/libexec/evolution-source-registry & sleep 1 ; $PREFIX/libexec/evolution-calendar-factory -r & sleep 1 ; $PREFIX/libexec/evolution-addressbook-factory -r & sleep 1 ; $PREFIX/bin/evolution

Now that I’m satisfied it’s working well, I’d like to move it from my home dir to /opt/evolution. I figured this would be a simple matter of moving it & updating the prefix in my launch script - however, it doesn’t work. Launching it yields:

/opt/evolution/libexec/evolution-source-registry: error while loading shared libraries: libedbus-private.so: cannot open shared object file: No such file or directory
/opt/evolution/libexec/evolution-calendar-factory: error while loading shared libraries: libedbus-private.so: cannot open shared object file: No such file or directory
/opt/evolution/libexec/evolution-addressbook-factory: error while loading shared libraries: libedbus-private.so: cannot open shared object file: No such file or directory
/opt/evolution/bin/evolution: error while loading shared libraries: libevolution-shell.so: cannot open shared object file: No such file or directory

Does something get baked into the binaries that makes it inflexible to be moved? Is there any way to move it, without rebuilding from scratch?

Thanks in advance!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.