From: Jens P. <je...@ju...> - 2005-03-03 04:31:23
|
Jens Petersen wrote: > % ghc -package wx HelloWorld.hs > /usr/lib64/ghc-6.2.2/libwxc-gtk2.4.2-0.9.so: undefined reference to > `wxGLCanvas::SwapBuffers()' Ok, the solution to this is just to configure with --with-opengl. > % ./helloworld ./helloworld: error while loading shared libraries: > libwxc-gtk2.4.2-0.9.so: cannot open shared object file: No such file or > directory I worked round this by moving the library to system libdir. Jens |