Please share the exact way you're doing things.
Vector does build fine as a static profiled lib on Mac, so the challege lies in understanding where your local configuration is broken. Please share more info. Or reinstall stuff
Hi Carter,Are you referring to the '--disable-shared' flag?If so -- I added it because otherwise I got a bunchof errors about:Perhaps you haven't installed the "p_dyn" libraries for package ‛integer-gmp’Or were you referring to some other flag?Thanks!Ranjit.On Wed, Jun 10, 2015 at 9:41 PM, Carter Schonwald <carter.schonwald@gmail.com> wrote:why were you trying to build profiling dylibs? i thought we only support static linked profiling libs? (i could be wrong though)On Wed, Jun 10, 2015 at 9:26 AM, Ranjit Jhala <jhala@cs.ucsd.edu> wrote:ah, my bad I thought I'd included that -- this is ghc 7.8.3, on MacOS, installed from https://ghcformacosx.github.io ...Should I just move to 7.10?--On Wed, Jun 10, 2015 at 4:59 AM, Carter Schonwald <carter.schonwald@gmail.com> wrote:What ghc version and how was it built?
On Wednesday, June 10, 2015, Ranjit Jhala <jhala@cs.ucsd.edu> wrote:Hi all,I cannot build 'vector' (or 'cmdargs') with profiling on.specifically when I run:$ cabal install --enable-executable-profiling --enable-library-profiling --ghc-options="-O2 -rtsopts -prof -auto-all -caf-all" vectorI get the message:Perhaps you haven't installed the "p_dyn" libraries for package ‛integer-gmp’Per some advice I tried to add the '--disable-shared'$ cabal install --disable-shared --enable-executable-profiling --enable-library-profiling --ghc-options="-O2 -rtsopts -prof -auto-all -caf-all" vectorbut then I get this:Loading package primitive-0.6 ... <command line>: can't load .so/.DLL for: libHSprimitive-0.6.dylib (dlopen(libHSprimitive-0.6.dylib, 9): image not found)Any idea whats going on or for any work arounds? Pretty stumped! Thanks in advance!Ranjit.Ranjit.--Ranjit.