You want to be linking with the libcxx.so that is in /usr/lib/cmplrs/cxx. If you link using "cxx" it will add an -rpath and -L to find the library in "/usr/lib/cmplrs/cxx". Did you link using "cxx"? Did you add "-L/usr/shlib" or "-rpath /usr/shlib"? Are you still having this problem?