Unresolved while linking

See answers in Load a standalone sharedlibrary