NotesInitExended fails on OS X with error 1543

I’m porting an application that is written in python and uses a generated SWiG wrapper around libnotes. The application functions correctly under Linux using libnotes.so from Domino server v7.

I have compiled the application on OS X linking against the libnotes.dylib library. I also needed to link in the libjsmac.dylib and libndgts.dylib libraries to resolve some symbols contained in the libnotes library. All three libraries were copied from the Lotus Notes 7.0.2 release for OS X.

The application I am porting is calling NotesInitExtended which is returning error code 1543.

Can anyone explain what this code means and possibly how to resolve the issue?

Thanks

Subject: NotesInitExended fails on OS X with error 1543

I was having the same error. This was fixed when i copied the executable to the /Applications/Notes.app/Contents/MacOS directory.

Miklos