想要在NAS上编译。ipkg是这里默认的包管理器。我已经安装了ncurses,它在/opt/lib (libncurses.so)中
[\w] # ls /opt/lib | grep ncurses
libncurses.so
libncurses.so.5
libncurses.so.5.7
libncursesw.so
libncursesw.so.5
libncursesw.so.5.7
[\w] # file libncurses.so.5.7
libncurses.so.5.7: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, stripped我将这个路径添加到/etc/profile中
[\w] # echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin:/opt/lib所以尝试做menuconfig会给我带来这个错误。
[\w] # make menuconfig
Initializing Menu-Configuration
[*] Running Conversion Tool for older psyBNC Data.
Using existent configuration File.
[*] Running Autoconfig.
System: Linux
Socket Libs: Internal.
Environment: Internal.
Time-Headers: in time.h and sys/time.h
Byte order: Big Endian.
IPv6-Support: Yes, general support. But no interface configured.
async-DNS-Support: Yes.
SSL-Support: No openssl found. Get openssl at www.openssl.org
Creating Makefile
[*] Creating Menu, please wait.
This needs the ncurses library. If it is not available, menuconf wont work. If you are using curses, use make menuconfig-curses instead.
make: *** [menuconfig] Error 1同样也适用于做菜单配置-诅咒。
[\w] # make menuconfig-curses
Initializing Menu-Configuration using Curses
[*] Running Conversion Tool for older psyBNC Data.
Using existent configuration File.
[*] Running Autoconfig.
System: Linux
Socket Libs: Internal.
Environment: Internal.
Time-Headers: in time.h and sys/time.h
Byte order: Big Endian.
IPv6-Support: Yes, general support. But no interface configured.
async-DNS-Support: Yes.
SSL-Support: No openssl found. Get openssl at www.openssl.org
Creating Makefile
[*] Creating Menu, please wait.
This needs the curses library. If it is not available, menuconf wont work.
make: *** [menuconfig-curses] Error 1已经编译好,只想使用menuconfig而不是配置文件。
发布于 2011-02-09 14:21:03
没有安装诅咒库,因为您没有向我们提供有关NAS (Model / Vendor)的信息,这是我们无法更详细地帮助您的。
如果在那个供应商的NAS上有一个针对发行版的诅咒包,你可以安装它。
或者你只需要使用配置和文本编辑器。
如果您确信已经正确设置了库,则可以尝试手动将LD_LIBRARY_PATH设置为/opt/lib。还可以查看Makefile,并使相应的($CC)行更详细。
https://serverfault.com/questions/233270
复制相似问题