cmdlib broken library path

1
2
3
4
5
6
7
Building cmdlib-0.2.1...
/usr/bin/ld: cannot find -lHSsplit-0.1.3-ghc6.12.3
collect2: ld returned 1 exit status
    Aborting...

[owen@OWEN-DTL haskell-cmdlib]$ locate HSsplit-0.1.3-ghc6.12.3
/usr/lib/ghc-6.12.3/site-local/split-0.1.3/libHSsplit-0.1.3-ghc6.12.3.so