From: Simon M. <sim...@mi...> - 2004-04-14 08:37:12
|
=20 > On Tue, Apr 13, 2004 at 03:53:31PM +0100, Simon Marlow wrote: > > I tried stripping /usr/lib/libwx_gtk-2.4.so.0.1.1 and=20 > libwxc-0.6.so, and > > GHCi was still able to load the wx package successfully. In fact, > > libwx_gtk appeared to be already stripped. > >=20 > > What error messages do you get, specifically? >=20 > Here it is: > ------------------------------- > Loading package base ... linking ... done. > Loading package haskell98 ... linking ... done. > Loading package lang ... linking ... done. > Loading package concurrent ... linking ... done. > Loading package QuickCheck ... linking ... done. > Loading package readline ... linking ... done. > Loading package unix ... linking ... done. > Loading package posix ... linking ... done. > Loading package util ... linking ... done. > Loading package data ... linking ... done. > Loading package wxcore ... ghc-6.2.1: can't load .so/.DLL=20 > for: wxc-gtk2.4.2-0.7=20 > (/usr/local/stow/wxhaskell//lib/libwxc-gtk2.4.2-0.7.so:=20 > undefined symbol:=20 > _ZN10wxGLCanvasC1EP8wxWindowiRK7wxPointRK6wxSizelRK8wxStringPi > RK9wxPalette) > ------------------------------ >=20 > I suspect it's something funny with Debian's setup, and quite possibly > a bug somewhere else in Debian. That symbol looks suspiciously like it comes from the separate OpenGL parts of WX, which reside in a separate library (/usr/lib/libwx_gtk_gl-2.4.so here). On my system, libwxc has an explicit dependency on libwx_gtk_gl, because it was linked against it. Did you configure wxHaskell with --with-opengl? Cheers, Simon |