Env:
I am trying to install wxHaskell with
cabal install wx
Then these errors are given.
Missing dependencies on foreign libraries: * Missing C libraries: wx_baseu-2.8, wx_baseu_net-2.8, wx_baseu_xml-2.8, wx_gtk2u_core-2.8, wx_gtk2u_adv-2.8, wx_gtk2u_html-2.8, wx_gtk2u_qa-2.8, wx_gtk2u_xrc-2.8, wx_gtk2u_aui-2.8, wx_gtk2u_richtext-2.8, wx_gtk2u_media-2.8, wx_gtk2u_stc-2.8, wx_gtk2u_gl-2.8
And these libraries actually exist in /usr/lib I type following in terminal
ls libwx*.so
and found libs:
I tried cabal install wx --exteral-lib-dirs=/usr/lib , but still no luck.
I have figured out the issue (and it only took me the best part of a month :))--you need to have g++
installed on your machine. You can install it with sudo yum install gcc-c++
.