Hi AJ,
Because of the loader changes needed to support PE builtins, importing a Winelib library directly at the Unix level is currently broken. It may be reimplemented at some point, but that's not trivial.
You can still link to a library at the Unix level (as opposed to building an import library and linking to that), but you have to tell Wine explicitly about the loaded library. This can be done by adding a LoadLibraryA("libtest.so") at the start of your app.
Has anyone tried this recently? Are there any examples of this still working?
I tried to insert LoadLibraryA("libtest.so") with success, but this did not change anything. Still the same crash.
Thanks,
/pedro