Undefined error of "enif_make_string" happens to erlang nif function

After checking again I think the -bundle is supposed to replace the -shared for clang. Does that work for you?