the shared target for ntl doesn't work on OS X (yes I know I have been a bad boy when I wrote the original shared patch). The current shared patch only support linux style shared objects. I attaching a small extra patch for OS X (tested on x86-macos but should work on *-macos).
Created attachment 258998 [details, diff] patch to have correct linking on OS X
Ooops someone has solved the problem in the time I took to open the bug. Sorry.