1. RE: Problems using the wxEuphoria shared library
- Posted by "Elliott S. de Andrade" <quantum_analyst at hotmail.com> Jan 10, 2005
- 407 views
- Last edited Jan 11, 2005
>From: Alexander Toresson <guest at RapidEuphoria.com> >Reply-To: EUforum at topica.com >To: EUforum at topica.com >Subject: Problems using the wxEuphoria shared library >Date: Mon, 10 Jan 2005 11:48:15 -0800 > >posted by: Alexander Toresson <alexander.toresson at gmail.com> > >I've been trying to use wxEuphoria on my linux laptop. However, it seems >like >it cannot open the shared library. I made a program which tries to open the >.so >both with open_dll() and open(). open_dll() fails, open() succeeds. I tried >doing the same with a random .so from my /lib directory, and it worked >perfectly. I also tried using an older version of the so, though that >didn't >work either. > Is the wxEuphoria shared library not in your LD_CONFIG_PATH? Or, at the very least, are you opening it with an semi-absolute path? Linux won't open shared libraries, or run programs in the current directory unless specified explicitly. You must use open_dll("./wxlibrary.so"), not open_dll("wxlibrary.so"). >My system runs Debian 3.1 and Kernel 2.6.8. > >Regards, Alexander Toresson > ~[ WingZone ]~ http://wingzone.tripod.com/