Re: EuGtk: the FreeBSD experience
- Posted by jimcbrown (admin) Sep 02, 2012
- 1087 views
Hi Jim, that's it. Right now I am using the linux binaries under freebsd because I haven't compiled a native bsd distro yet. ASAP I will switch.
Anyway, I *believe* that the interpreter will allow me to access any *.so file I want to, doesn't it? Am I wrong? The fact is that the interpreter doesn't complains about being unable to access libgtk.so, it is the eugtk wrapper that complains about locating the library.
I will post any advance or further testing. thanks, Raúl
Actually, it's the ELF interpreter that determines this. I am not sure how this works when dealing with Linux/GNU emulation under FreeBSD, but I wouldn't be too surprised to find out that the emulation system prevents accessing native FreeBSD libraries from the Linux/GNU side, going as far as to hide them from it. (Why? This is simpler than making the emulation smart enough detect when FreeBSD vs Linux/GNU code is running in the same process and providing a compatibility layer between them.)
If you install a linux/GNU version of libgtk.so (and its dependencies and so on), then you should be able to use that from the linux/GNU version of euphoria. Just something to tide you over until the FreeBSD version of Euphoria is built.