Re: Could not open wxEuphoria library.
- Posted by ghaberek (admin) May 07, 2009
- 953 views
wxEuphoria is trying to load "libwxeu.so.%d" where %d is the build version required (12, 13, etc.) or "libwxeu.so" which can be a symbolic pointer to the current build version (see below). But it is not trying to load "wxeu.so" or anything like that.
constant wxNEED_BUILD = 13 atom wxWidgets if platform() = LINUX then -- This is the one we really want wxWidgets = open_dll( sprintf("libwxeu.so.%d", wxNEED_BUILD ) ) if wxWidgets = 0 then -- But a later one should be fine, too wxWidgets = open_dll( "libwxeu.so" ) end if else wxWidgets = open_dll( "libwxeu.dll" ) end if
To make a symbolic link to the library...
$ cd /usr/local/lib $ sudo ln -s libwxeu.so.13 libwxeu.so
-Greg