我正在嘗試在Solaris 11 x86上安裝CPM密碼管理工具。 安裝完所有必需的依賴項後,我被卡在CPM的配置中。 我目前的ncurses版本是5.9。找不到ncurses庫
我試圖運行這個命令:
[email protected]:~/Downloads/cpm-0.23beta# ./configure --with-ncurses --with-cdk-dir=/usr/local --with-cracklib-dict=/usr/local/share/cracklib/pw_dict
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/ggrep
checking for egrep... /usr/bin/ggrep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
configure: checking libraries
checking for main in -lm... yes
checking for initscr in -lncurses... no
configure: error: can not find the ncurses library
我希望得到一些幫助。
感謝
你有沒有因爲安裝ncurses的運行ldconfig? –
不,我不是爲什麼? – Nenzo
@KazDragon - Solaris沒有/使用ldconfig。 – alanc