Resolving dependencies... Configuring mtl-2.2.1... Configuring stm-2.4.4.1... Building mtl-2.2.1... Building stm-2.4.4.1... Configuring transformers-compat-0.5.1.4... Installed stm-2.4.4.1 Building transformers-compat-0.5.1.4... Installed mtl-2.2.1 Installed transformers-compat-0.5.1.4 Configuring exceptions-0.8.3... Building exceptions-0.8.3... Installed exceptions-0.8.3 Configuring temporary-1.2.0.4... Building temporary-1.2.0.4... Installed temporary-1.2.0.4 Configuring haskakafka-0.5.0... Failed to install haskakafka-0.5.0 Build log ( /home/builder/.cabal/logs/haskakafka-0.5.0.log ): cabal: Entering directory '/tmp/cabal-tmp-17884/haskakafka-0.5.0' Configuring haskakafka-0.5.0... cabal: Missing dependency on a foreign library: * Missing C library: rdkafka This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is. cabal: Leaving directory '/tmp/cabal-tmp-17884/haskakafka-0.5.0' cabal: Error: some packages failed to install: haskakafka-0.5.0 failed during the configure step. The exception was: ExitFailure 1