Error linking lambdabot on osx / 64-bit haskell platform

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
$ cabal install --extra-lib-dirs=/usr/lib --extra-lib-dirs=/opt/local/lib
Resolving dependencies...
Configuring lambdabot-4.2.3.2...
Preprocessing executables for lambdabot-4.2.3.2...
Building lambdabot-4.2.3.2...

<no location info>:
    Warning: -fvia-C is incompatible with -fPIC; ignoring -fvia-C

Plugin/Pl/Common.hs:1:12:
    Warning: The -fvia-C flag will be removed in a future GHC release

Plugin/Pl/RuleLib.hs:1:16:
    Warning: -fglasgow-exts is deprecated: Use individual extensions instead
Linking dist/build/lambdabot/lambdabot ...
ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
Undefined symbols for architecture x86_64:
  "_rl_insert_completions", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_zdwa5_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_possible_completions", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_zdwa7_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_copy_text", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_zdwa1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_get_keymap_name", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_zdwa4_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_discard_keymap", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_zdwa2_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_extend_line_buffer", referenced from:
      _s63C_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_filename_quote_characters", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_getFilenameQuoteCharacters1_info in libHSreadline-1.0.1.0.a(Readline.o)
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_setFilenameQuoteCharacters1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_basic_quote_characters", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_getBasicQuoteCharacters1_info in libHSreadline-1.0.1.0.a(Readline.o)
      _s6v6_info in libHSreadline-1.0.1.0.a(Readline.o)
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_setBasicQuoteCharacters1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_filename_quoting_desired", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_getFilenameQuotingDesired1_info in libHSreadline-1.0.1.0.a(Readline.o)
      _s7QC_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_complete_internal", referenced from:
      _s7p9_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_clear_signals", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_clearSignals1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_set_signals", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_setSignals1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_catch_sigwinch", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_getCatchSigwinch1_info in libHSreadline-1.0.1.0.a(Readline.o)
      _s810_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_ding", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_ding1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_delete_text", referenced from:
      _s7wv_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_clear_message", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_clearMessage1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_reset_line_state", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_resetLineState1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_on_new_line_with_prompt", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_onNewLineWithPrompt1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_on_new_line", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_onNewLine1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_modifying", referenced from:
      _s7yK_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_do_undo", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_doUndo1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_end_undo_group", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_endUndoGroup1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_begin_undo_group", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_beginUndoGroup1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_funmap_names", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_funmapNames1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_unbind_key_in_map", referenced from:
      _s7Fa_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_unbind_key", referenced from:
      _s7Gd_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_binding_keymap", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_getBindingKeymap1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_executing_keymap", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_getExecutingKeymap1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_mark", referenced from:
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_getMark1_info in libHSreadline-1.0.1.0.a(Readline.o)
      _s87I_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_function_of_keyseq", referenced from:
      _s7Lp_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_function_dumper", referenced from:
      _s82t_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_erase_empty_line", referenced from:
      _s85D_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_pending_input", referenced from:
      _s86o_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_username_completion_function", referenced from:
      _s8bP_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_add_undo", referenced from:
      _s8i3_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_named_function", referenced from:
      _s8jF_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_unbind_command_in_map", referenced from:
      _s8lK_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_get_keymap_by_name", referenced from:
      _s8mL_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_copy_keymap", referenced from:
      _s8o2_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_resize_terminal", referenced from:
      _r5Xk_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_reset_after_signal", referenced from:
      _r5Xm_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_restore_prompt", referenced from:
      _r5Xu_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_save_prompt", referenced from:
      _r5Xw_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_free_undo_list", referenced from:
      _r5XA_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_list_funmap_names", referenced from:
      _r5XC_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_make_keymap", referenced from:
      _r5XG_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_filename_quoting_function", referenced from:
      _s6vE_info in libHSreadline-1.0.1.0.a(Readline.o)
      _sadV_info in libHSreadline-1.0.1.0.a(Readline.o)
      _sadN_info in libHSreadline-1.0.1.0.a(Readline.o)
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_setFilenameQuotingFunction1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_completion_word_break_hook", referenced from:
      _sab5_info in libHSreadline-1.0.1.0.a(Readline.o)
      _sab1_info in libHSreadline-1.0.1.0.a(Readline.o)
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_setCompletionWordBreakHook1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_filename_dequoting_function", referenced from:
      _sakj_info in libHSreadline-1.0.1.0.a(Readline.o)
      _sak8_info in libHSreadline-1.0.1.0.a(Readline.o)
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_setFilenameDequotingFunction1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_char_is_quoted_p", referenced from:
      _saot_info in libHSreadline-1.0.1.0.a(Readline.o)
      _saok_info in libHSreadline-1.0.1.0.a(Readline.o)
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_setCharIsQuotedP1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_ignore_some_completions_function", referenced from:
      _saz4_info in libHSreadline-1.0.1.0.a(Readline.o)
      _sayI_info in libHSreadline-1.0.1.0.a(Readline.o)
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_setIgnoreSomeCompletionsFunction1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_directory_completion_hook", referenced from:
      _saFn_info in libHSreadline-1.0.1.0.a(Readline.o)
      _saFe_info in libHSreadline-1.0.1.0.a(Readline.o)
      _readlinezm1zi0zi1zi0_SystemziConsoleziReadline_setDirectoryCompletionHook1_info in libHSreadline-1.0.1.0.a(Readline.o)
  "_rl_message", referenced from:
      _hs_rl_message in libHSreadline-1.0.1.0.a(HsReadline_cbits.o)
     (maybe you meant: _hs_rl_message)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
cabal: Error: some packages failed to install:
lambdabot-4.2.3.2 failed during the building phase. The exception was:
ExitFailure 1