Thanks to Nemo's comment, the issue could be resolved by appending the C++ runtimes to the rpath. In my case, that is
-Wl,--rpath=/path/glibc-elision/build/lib:/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu
The paths can be set by using export LD_LIBRARY_PATH=/your/path
as well.
It also turns out that I falsely used ;
instead of :
to append the paths in the original post.