Quote Originally Posted by barteksch View Post
undefined symbol or segmentation fault error
Without changing the code it would be one or the other, not both.
Since you say the symbols can be found, I guess the main problem is a segmentation fault?

If so, it might be a simple pointer error.

Can you post a compilable and minimal example demonstrating the problem?