[Haskell] Dynamically loading wxhaskell?

Dylan Thurston dpt at lotus.bostoncoop.net
Tue Apr 13 20:07:29 EDT 2004


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 libwxc-0.6.so, and
> GHCi was still able to load the wx package successfully.  In fact,
> libwx_gtk appeared to be already stripped.
> 
> What error messages do you get, specifically?

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 for: wxc-gtk2.4.2-0.7 (/usr/local/stow/wxhaskell//lib/libwxc-gtk2.4.2-0.7.so: undefined symbol: _ZN10wxGLCanvasC1EP8wxWindowiRK7wxPointRK6wxSizelRK8wxStringPiRK9wxPalette)
------------------------------

I suspect it's something funny with Debian's setup, and quite possibly
a bug somewhere else in Debian.

Peace,
	Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org//pipermail/glasgow-haskell-users/attachments/20040413/1cdaa506/attachment.bin


More information about the Glasgow-haskell-users mailing list