Skip to content

Instantly share code, notes, and snippets.

@leftaroundabout
Created July 17, 2016 20:22
Show Gist options
  • Save leftaroundabout/b31ab94a55649ca806429f490352e992 to your computer and use it in GitHub Desktop.
Save leftaroundabout/b31ab94a55649ca806429f490352e992 to your computer and use it in GitHub Desktop.
Linker error when using download in IHaskell
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import Network.Download"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"openURI \"http://www.google.com\""
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Haskell",
"language": "haskell",
"name": "haskell"
},
"language_info": {
"codemirror_mode": "ihaskell",
"file_extension": ".hs",
"name": "haskell",
"version": "7.10.2"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
@leftaroundabout
Copy link
Author

This IHaskell notebook causes the linker error

~/.cabal/lib/x86_64-linux-ghc-7.10.2/download-0.3.2.4-GglUNCzzEM5GEneu9jc8yk/libHSdownload-0.3.2.4-GglUNCzzEM5GEneu9jc8yk.a: unknown symbol `stat64'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment