id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,difficulty,ghcversion,platform
318,Library cannnot be used when registered in-place on OS X,guest,,"I built and registered a library --inplace on Mac OS X 10.5.4 using cabal-install 0.5.1 and Cabal 1.4.0.1. I was unable to then use the package afterwards. Compiling my program failed at link-time with:


{{{
Linking Main ...
ld: in /... blah .../lib/dist/build/lib-0.1.a, archive has no table of contents
collect2: ld returned 1 exit status
}}}

After talking to Beelsebob and dcoutts on #haskell, I used '''ranlib''' on lib-0.1.a, and it worked.

According to dcoutts: ""it's because we run ranlib when we install it, but not when we first generate it.""",defect,closed,normal,Cabal-1.8,Cabal library,1.4.0.1,normal,fixed,,johan.tibell@…,easy (<4 hours),6.8.3,Mac OS
