#i118923# OS/2 port, report correct error string in case of dlopen() failure, rewrote code to use more dl* functions.

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1570843 13f79535-47bb-0310-9956-ffa450edef68