From: Georg M. <mai...@st...> - 2005-03-06 23:42:45
|
On Thu, 03 Mar 2005 13:31:13 +0900, Jens Petersen <je...@ju...> = wrote: > 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 o= r >> directory > > I worked round this by moving the library to system libdir. > You can also set the LD_LIBRARY_PATH variable to contain the path where t= he library lies. Georg --=20 ---- Georg Martius, Tel: (+49 34297) 89434 ---- ------- http://www.flexman.homeip.net --------- |