From: Simon M. <sim...@mi...> - 2004-04-02 12:56:03
|
=20 > On Thu, 1 Apr 2004 16:08:51 -0500, Dylan Thurston=20 > <dp...@pe...> wrote: >=20 > > On Thu, Apr 01, 2004 at 10:00:23AM +0100, Simon Marlow wrote: > >> > >> > Has anyone succeeded in getting wxhaskell to work under=20 > ghci on Linux? > >> > On my system, I get an error message > >> > > >> > Loading package unix ... ghc-6.2: can't load .so/.DLL for: dl > >> > (libdl.so: cannot open shared object file: No such file=20 > or directory) > >> > > >> > This sounds like it has nothing to do with wxhaskell,=20 > but is a GHC > >> > problem. Any pointers? > >> > >> Is libdl.so in the usual place? (/usr/lib on my system) > > > > Yes. >=20 > I have noticed that ghci can't load ".so" files that are stripped > (while the ghc linker has no such problems.) >=20 > -- Daan. >=20 > (btw. I tested ghci on Fedora Core 1, and it works there) I just tested it here, and managed to get it working. I had to manually change the WXWIN-LIBS setting in config/config.mk: WXWIN-LIBS=3D-pthread -lwx_gtk-2.4 -lwx_gtk_gl-2.4 i.e. add the wx_gtk_gl library. You can get this from wx-config --gl-libs. This is RedHat 9, wxWindows 2.4.1 installed, GHC 6.2.1. Cheers, Simon |