#6128: ghc 7.4.1 does not work with LDAP-0.6.6
-----------------------------------------+----------------------------------
Reporter: magicloud | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.4.1 | Keywords: LDAP
Os: Linux | Architecture: x86_64 (amd64)
Failure: Incorrect result at runtime | Testcase:
Blockedby: | Blocking:
Related: |
-----------------------------------------+----------------------------------
Sample code as below. When I ghci/runhaskell/ghc (compile) it with ghc
7.2.2. Everything is fine.
But when I use ghc 7.4.1, only ghci/runhaskell works. ghc compiled
(without any extra parameters) binary always failed at the second ldap
operation with message: LDAP error: ldapSimpleBind: LDAPException
LdapServerDown(-1): Can't contact LDAP server. I am sure there is nothing
wrong with the network, the client library, or the server/service. Trying
to capture the network package, it seemed that the program did not open a
network connection at all.
Code:
ldap <- ldapInit domain ldapPort
ldapSimpleBind ldap bindDN bindPW
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6128>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs