- 论坛徽章:
- 0
|
我在从源代码安装mcrypt-2.6.5时,收到系统邮件:
...
checking for libmcrypt-config... /usr/local/lib/libmcrypt/bin/libmcrypt-config
checking for libmcrypt - version >= 2.5.0... no
*** Could not run libmcrypt test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding LIBMCRYPT or finding the wrong
*** version of LIBMCRYPT. If it is not finding LIBMCRYPT, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
configure: error: *** libmcrypt was not found
[root@pzy-vm mcrypt-2.6.5]# echo $LIBMCRYPT
You have new mail in /var/spool/mail/root
[root@pzy-vm mcrypt-2.6.5]# tail /var/spool/mail/root
/dev/sda1 99M 12M 83M 13% /boot
---------------------- Disk Space End -------------------------
###################### Logwatch End #########################
[root@pzy-vm mcrypt-2.6.5]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
6.9G 2.2G 4.4G 34% /
/dev/sda1 99M 12M 83M 13% /boot
tmpfs 197M 0 197M 0% /dev/shm
[root@pzy-vm mcrypt-2.6.5]# cat /proc/version
Linux version 2.6.18-53.el5 (brewbuilder@hs20-bc2-3.build.redhat.com) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Wed Oct 10 16:34:02 EDT 2007
~~~~~~~~~~~~~~~
请问:
1) 邮件中的"Disk Space End"是什么意思?
2) 我已经安装了libmcrypt-2.5.7,为什么在configure mcrypt时,会
checking for libmcrypt - version >= 2.5.0... no
?
3) 我在从源代码安装libmcrypt-2.5.7时,如果不在configure时指定prefix,则安装结束后,/usr/local/lib/libmcrypt 是空的;如果指定 --prefix=/usr/local/lib/libmcrypt,则安装结束后才会有
bin include lib man share。为什么必须指定prefix? |
|