Created
June 15, 2012 17:38
-
-
Save listx/2937766 to your computer and use it in GitHub Desktop.
ghci Libyaml error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[F 15] 45.7491 10:36:15 l@k0 ~/prog/foreign/yaml | |
> ghci Text/Libyaml.hs -L. -lhelper | |
GHCi, version 7.4.1: http://www.haskell.org/ghc/ :? for help | |
Loading package ghc-prim ... linking ... done. | |
Loading package integer-gmp ... linking ... done. | |
Loading package base ... linking ... done. | |
Loading object (dynamic) ./libhelper.so ... done | |
final link ... done | |
[1 of 1] Compiling Text.Libyaml ( Text/Libyaml.hs, interpreted ) | |
Text/Libyaml.hs:38:1: | |
Warning: In the use of `unsafeForeignPtrToPtr' | |
(imported from Foreign.ForeignPtr): | |
Deprecated: "Use Foreign.ForeignPtr.Unsafe.unsafeForeignPtrToPtr instead; This function will be removed in the next release" | |
ByteCodeLink: can't find label | |
During interactive linking, GHCi couldn't find the following symbol: | |
yaml_parser_initialize | |
This may be due to you not asking GHCi to load extra object files, | |
archives or DLLs needed by your current session. Restart GHCi, specifying | |
the missing library using the -L/path/to/object/dir and -lmissinglibname | |
flags, or simply by naming the relevant files on the GHCi command line. | |
Alternatively, this link failure might indicate a bug in GHCi. | |
If you suspect the latter, please send a bug report to: | |
glasgow-haskell-bugs@haskell.org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment