I'm working on a small project that I compile into a shared library. This project is done with autotools, so I have split major pieces into subdirectories which are put together as libtool libraries and then linked to my final shared library. But, when I link the shared library to my test program, it can access all library functions outside those that were in the libtool libraries. Those linked in libtool libraries return errors such as this when called:
test.cpp.text+0x40): undefined reference to `raim::Error::Error(int, char const*)'
collect2: ld returned 1 exit status
How might I go about solving this problem?