
9 Jun
2006
9 Jun
'06
8:59 a.m.
(Reposted to café - my -libraries mail seems to have gotten lost along the way) Hi, I'm building an interface to a C library, which comes in the form of two .a files. I can't seem to get Cabal to link statically with these, so that the resulting package (libHSfoo-v.v.a) is self contained. I've tried fiddling with Cabal's ld-options and extra-libraries, but so far with no success - loading my package either results in GHC looking for (and failing to find) .so files, or "unknown symbol". Help? -k PS: did --user stop working (with GHC 20060607)? I'm adding --user to both 'configure' and 'install', but Cabal still wants to put things in /usr/local. -- If I haven't seen further, it is by standing in the footprints of giants