<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 4, 2015 at 3:06 PM, Sven Bartscher <span dir="ltr"><<a href="mailto:sven.bartscher@weltraumschlangen.de" target="_blank">sven.bartscher@weltraumschlangen.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I recently installed a library (namely Hpysics, not on hackage) with<br>
shared libraries (they were on by default).<br>
When trying to do some stuff with the library (program attached), I get<br>
a bunch of undefined symbol errors like this:<br>
<br>
$ ghc --make Main.hs<br>
Linking Main ...<br>
/home/sven/.cabal/lib/i386-linux-ghc-7.8.4/Hpysics-0.0/libHSHpysics-0.0.a(Body.o):(.text+0x46e):<br>
undefined reference to<br>
`Hpysicszm0zi0_PhysicsziHpysicsziBoundingSphere_constructBoundingSpherezugo_info' /home/sven/.cabal/lib/i386-linux-ghc-7.8.4/Hpysics-0.0/libHSHpysics-0.0.a(Body.o):(.text+0x4f9):<br>
</blockquote><div><br></div><div>Physics.Hpysics.BoundingSphere is missing from extra-modules in Hpysics' cabal file.</div><div><br></div></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>