歡迎您光臨本站 註冊首頁

編譯uwsgi報錯

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

編譯uwsgi報錯

centos
在virtualenv下安裝完django,準備安裝uwsgi-0.9.9.6,python版本2.5.5
在make -f Makefile.Py25時,報了下邊的錯誤
/home/be/py25/lib/libpython2.5.so: undefined reference to `emacs_meta_keymap'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_initialize'
/home/be/py25/lib/libpython2.5.so: undefined reference to `remove_history'
/home/be/py25/lib/libpython2.5.so: undefined reference to `write_history'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_instream'
/home/be/py25/lib/libpython2.5.so: undefined reference to `replace_history_entry'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_bind_key_in_map'
/home/be/py25/lib/libpython2.5.so: undefined reference to `read_history'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_completion_append_character'
/home/be/py25/lib/libpython2.5.so: undefined reference to `history_get'
/home/be/py25/lib/libpython2.5.so: undefined reference to `clear_history'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_complete'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_redisplay'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_completer_word_break_characters'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_completion_matches'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_read_init_file'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_free_line_state'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_outstream'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_pre_input_hook'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_insert_text'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_attempted_completion_function'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_callback_read_char'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_attempted_completion_over'
/home/be/py25/lib/libpython2.5.so: undefined reference to `history_get_history_state'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_catch_signals'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_parse_and_bind'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_prep_terminal'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_startup_hook'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_cleanup_after_signal'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_insert'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_readline_name'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_callback_handler_install'
/home/be/py25/lib/libpython2.5.so: undefined reference to `using_history'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_callback_handler_remove'
/home/be/py25/lib/libpython2.5.so: undefined reference to `add_history'
/home/be/py25/lib/libpython2.5.so: undefined reference to `history_truncate_file'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_line_buffer'
/home/be/py25/lib/libpython2.5.so: undefined reference to `rl_bind_key'
collect2: ld returned 1 exit status
*** error linking uWSGI ***
make: *** Error 1

這是是少什麼東西嗎,請教怎麼解決
《解決方案》

可能是由於編譯python時,我安裝了readline-dev的包。
有大俠有想法的嗎

[火星人 ] 編譯uwsgi報錯已經有778次圍觀

http://coctec.com/docs/service/show-post-15029.html