C++ Library using C library

Hi all,
I’m building a C++ library along with it’s test client. Everything worked fine until I had to integrate 3rd party .so files within my library for DB access. The C++ library itself builds, generating the .a, .so and S.a files.
When I build the test client application, ntox86-ld complains that some .so file, needed by my C++ library (that just built!) can’t be found.

// Warning generated:
/cygdrive/c/QNX621/host/win32/x86/usr/bin/ntox86-ld warning: libbasic.so, needed by D:/Documentation/Genisys/RB-KameleonHEAD/EMB-Source/SOU20050207A-MG/KameleonClasses/x86/so/libKameleonClasses.so, not found (try using -rpath or -rpath-link)

The same applies 4 other .so, which the C++ library links against.

Any idea how to get this together?

System configuration:
Momentics IDE 6.3.0 SP2, building for 6.2.1