Chinaunix

标题: Solaris下软件安装问题fatal: libaprutil-1.so.0: open faile [打印本页]

作者: 398641310    时间: 2009-05-08 17:42
标题: Solaris下软件安装问题fatal: libaprutil-1.so.0: open faile

软件来源:
http://www.sunfreeware.com/ftp/pub/freeware/i386/5.10/
软件安装:
-bash-3.00# pkgadd -d wget-1.11.4-sol10-x86-local
The following packages are available:
  1  SMCwget     wget
                 (x86) 1.11.4
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: all
Processing package instance  from
wget(x86) 1.11.4
This appears to be an attempt to install the same architecture and
version of a package which is already installed.  This installation
will attempt to overwrite this package.
Free Software Foundation
Using  as the package base directory.
## Processing package information.
## Processing system information.
   150 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing wget as
## Installing part 1 of 1.
[ verifying class  ]
Installation of  was successful.
-bash-3.00# wget
www.sina.com
ld.so.1: wget: fatal: libssl.so.0.9.8: open failed: No such file or directory


软件启动遇到的问题:
-bash-3.00# ./apachectl start
couldn't set locale correctly
ld.so.1: httpd: fatal: libaprutil-1.so.0: open failed: No such file or directory
Killed
问题的解决:
http://www.gossamer-threads.com/lists/apache/users/349295?page=last
Hi,
Because libaprutil-0.so.0 is not in library path.
Just set the path
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
for example if your file in
usr/ucb/ libaprutil-0.so.0
Then set path
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:usr/ucb
Then run your server.
Thanks
Narendra
#######################################################################
libpq.so.4的包属于:postgresql-libs-32bit-8.1.9-2.1.x86_64.rpm
libaprutil-1.so.0包属于:apr-util-1.2.7-2.i386




本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/59873/showart_1922487.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2