gjs doesn't set a SONAME by default which leads to bad paths being baked
into the binaries.
XXX file upstream bug
--- gjs-1.43.3/Makefile.am 2014-12-21 09:37:14.000000000 -0800
+++ gjs-1.43.3/Makefile.am 2015-06-30 14:07:54.267786457 -0700
@@ -98,7 +98,9 @@
$(EXTRA_LINK_FLAGS) \
-export-symbols-regex "^[^_]" -version-info 0:0:0 \
-no-undefined \
- -rdynamic
+ -rdynamic \
+ -Wl,-soname=libgjs.so.0
+
libgjs_la_LIBADD = \
$(GJS_LIBS)