1 Articles, Search Results for 'libreadline'

  1. 2010/04/23 gnuplot on Mac OS X (snow leopard) by 차상길
When we install the gnuplot on Mac OS X from the source code, we encounter this strange error message:
Undefined symbols:
"_rl_forced_update_display", referenced from:
_restore_prompt in command.o
"_rl_ding", referenced from:
_alert in mouse.o
"_history_list", referenced from:
_write_history_list in history.o
"_rl_complete_with_tilde_expansion", referenced from:
_rl_complete_with_tilde_expansion$non_lazy_ptr in plot.o
"_rl_reset_after_signal", referenced from:
_main in plot.o
...
This error is due to the readline library in Mac OS X.
If you look at the /usr/lib/libreadline.dylib file, the symlink is pointing at a library file that we do not know. (Seems not familiar to me) Thus, we can solve this problem by installing libreadline from the source, and change the symlink properly. In my case:
sudo ln -s /usr/local/lib/libreadline.6.1.dylib /usr/lib/libreadline.dylib


2010/04/23 03:40 2010/04/23 03:40
Posted by 차상길.