6924d7c0b2
* Upgrade to 4.0.x series This currently requires that we override the LD_LIBRARY_PATH in the environment so that the ceph-common library is correctly loaded by librados2. * Add shim wrapper to pickup ceph package library path * Disable global environment hack
10 lines
249 B
Bash
Executable File
10 lines
249 B
Bash
Executable File
#!/bin/sh
|
|
# NOTE(jamespage): This is a shim that really should not be required.
|
|
|
|
set -e
|
|
|
|
export CEPH_LIBRARY_PATH=`find $SNAP/usr/lib -name "libceph-common.so" -exec dirname {} \;`
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CEPH_LIBRARY_PATH
|
|
|
|
exec $@
|