In older versions of the AIX operating system, shared libraries were not supported. A work-around solution was to include an EsUserPrimitive table and make this table the entry point for the library module. The .a suffix was used by default for libraries of this type. These special load modules have been commonly referred to as "willie" files and given an explicit .w suffix to differentiate them from normal load modules with the .a suffix.The currently supported versions of AIX have implemented full shared library support. Therefore, VA Smalltalk searches first for a library with a .so prefix, and if it finds a file of this name it will use the operating system's dynamic load mechanism to access the specified shared library. If it fails to find a .so file, the search continues looking for an .a library and assumes that an .a file implements the work-around solution.1. Call dlopen with the name specified in the PlatformFunction.3. On fail, add the lib prefix and the .so suffix to the name specified in the PlatformFunction and call dlopen.4. On fail, call load with the name specified in the PlatformFunction.If you use "willie" files on AIX and if you code an explicit suffix on the libraryname parameter of the PlatformFunction creation method, you must change this method call by removing the explicit suffix. This may also entail renaming your "willie" file.
![]() |