first version of RC2 has problems with lack of dynamic libraries at least on the Mac

Austin Seipp austin at well-typed.com
Fri Feb 28 00:05:25 UTC 2014


I just tested this and cannot reproduce it:

$ cabal install vector
... building ...

$ ls /Users/a/.cabal/lib/x86_64-osx-ghc-7.8.0.20140226/vector-0.10.9.1
Data libHSvector-0.10.9.1-ghc7.8.0.20140226.dylib include libHSvector-0.10.9.1.a

$ ls /Users/a/.cabal/lib/x86_64-osx-ghc-7.8.0.20140226/primitive-0.5.2.1/
Control include libHSprimitive-0.5.2.1.a Data
libHSprimitive-0.5.2.1-ghc7.8.0.20140226.dylib

$ uname -a
Darwin Calcifer.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19
22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64

There is certainly a dylib available for both of these libraries.
You're going to need to be very explicit in what you did to install
GHC, and how. (Did you use the binary distribution I pulled from the
server?)* Unfortunately I'm about to run out the door, and don't have
time for the next few hours closely investigate.

* On another note, I will say that there is not an 'RC2' until I
announce that it is so, to be completely honest. Right this second,
some last minute fixes went into HEAD which will be merged for the
actual RC2. Otherwise I would have released it today. But thank you
for testing anyway!

On Thu, Feb 27, 2014 at 5:53 PM, George Colpitts
<george.colpitts at gmail.com> wrote:
> corrected subject line
>
>
> On Thu, Feb 27, 2014 at 7:47 PM, George Colpitts <george.colpitts at gmail.com>
> wrote:
>>
>> Hi
>>
>> After installing the first version of RC2 I ran into the following problem
>>
>>  cabal install vector
>> Resolving dependencies...
>> Configuring vector-0.10.9.1...
>> ...
>> [ 5 of 19] Compiling Data.Vector.Fusion.Stream.Monadic (
>> Data/Vector/Fusion/Stream/Monadic.hs,
>> dist/build/Data/Vector/Fusion/Stream/Monadic.o )
>> Loading package ghc-prim ... linking ... done.
>> Loading package integer-gmp ... linking ... done.
>> Loading package base ... linking ... done.
>> Loading package primitive-0.5.2.1 ... <command line>: can't load .so/.DLL
>> for: libHSprimitive-0.5.2.1.dylib (dlopen(libHSprimitive-0.5.2.1.dylib, 9):
>> image not found)
>>
>> There seems to be a general problem that the install did not produce any
>> dynamic libraries at least on the Mac:
>>
>>  ls /Users/gcolpitts/Library/Haskell/ghc-7.8.0.20140226/lib/*/lib
>> /Users/gcolpitts/Library/Haskell/ghc-7.8.0.20140226/lib/cpphs-1.18.2/lib:
>> HScpphs-1.18.2.o Language Text libHScpphs-1.18.2.a libHScpphs-1.18.2_p.a
>>
>>
>> /Users/gcolpitts/Library/Haskell/ghc-7.8.0.20140226/lib/hashable-1.2.1.0/lib:
>> Data HShashable-1.2.1.0.o libHShashable-1.2.1.0.a
>> libHShashable-1.2.1.0_p.a
>>
>>
>> /Users/gcolpitts/Library/Haskell/ghc-7.8.0.20140226/lib/hscolour-1.20.3/lib:
>> HShscolour-1.20.3.o Language libHShscolour-1.20.3.a
>> libHShscolour-1.20.3_p.a
>>
>>
>> /Users/gcolpitts/Library/Haskell/ghc-7.8.0.20140226/lib/primitive-0.5.2.1/lib:
>> Control HSprimitive-0.5.2.1.o libHSprimitive-0.5.2.1.a
>> Data include libHSprimitive-0.5.2.1_p.a
>>
>> /Users/gcolpitts/Library/Haskell/ghc-7.8.0.20140226/lib/syb-0.4.1/lib:
>> Data Generics HSsyb-0.4.1.o libHSsyb-0.4.1.a libHSsyb-0.4.1_p.a
>>
>> /Users/gcolpitts/Library/Haskell/ghc-7.8.0.20140226/lib/text-1.1.0.0/lib:
>> Data HStext-1.1.0.0.o libHStext-1.1.0.0.a libHStext-1.1.0.0_p.a
>>
>>
>> /Users/gcolpitts/Library/Haskell/ghc-7.8.0.20140226/lib/unordered-containers-0.2.3.3/lib:
>> Data libHSunordered-containers-0.2.3.3.a
>> HSunordered-containers-0.2.3.3.o libHSunordered-containers-0.2.3.3_p.a
>
>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>



-- 
Regards,

Austin Seipp, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/


More information about the ghc-devs mailing list