[Haskell-cafe] Re: Compiling packages for GHCi

Grzegorz grzegorz.chrupala at computing.dcu.ie
Wed Jun 6 11:53:34 EDT 2007

Brandon S. Allbery KF8NH <allbery <at> ece.cmu.edu> writes:

> Alternately, just extract the contents of the .a into a subdirectory  
> and explicitly load them:
> mkdir libmaxent
> cd libmaxent
> ar x /usr/local/lib/libmaxent.a
> cd ..
> ghci (...) libmaxent/*.o

This doesn't quite work:  
ghc-6.6.1: libmaxent/trainer.o: unknown symbol `_ZNSt8ios_base4InitC1Ev'
final link ... ghc-6.6.1: linking extra libraries/objects failed

Thanks for the suggestion anyway! 

More information about the Haskell-Cafe mailing list