Re: open_dll on Linux?
- Posted by jeremy (admin) Sep 09, 2009
- 1539 views
mattlewis said...
No, it should be handled by your package manager, once we get packages built for distribution. I've no idea how the linking decides which version to load, but proper dependencies would at least ensure that the right libraries are there.
Not really. Here's the problem:
libm = open_dll("/usr/lib/libm.so")
That fails on any 64bit OS. libm.so is a 64bit version.
eui will work fine, but any open_dll() will have issues. For instance:
open_dll("libmysqlclient.so")
will fail on a 64bit os. You have to install the 32bit versions of libmysqlclient.so, then Euphoria can open it.
Jeremy