error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefile解决

Linux RedHat 安装Oracle11gR2的时候出现以下报错:


error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefile解决_第1张图片

RHEL 6.1默认是没有gcc和gcc-c++环境的,总结本地安装方法如下:

上传安装镜像rhel-server-6.1-x86_64-dvd.iso,

然后将镜像文件挂,如/mnt

# mount -o loop rhel-server-6.1-x86_64-dvd.iso /mnt

# cd /mnt/Packages

# rpm -ivh glibc-common-2.12-1.25.el6.x86_64.rpm

 

# rpm -ivh kernel-headers-2.6.32-131.0.15.el6.x86_64.rpm

 

# rpm -ivh libgcc-4.4.5-6.el6.x86_64.rpm

 

# rpm -ivh glibc-2.12-1.25.el6.x86_64.rpm

 

# rpm -ivh libgomp-4.4.5-6.el6.x86_64.rpm

 

# rpm -ivh nscd-2.12-1.25.el6.x86_64.rpm

 

# rpm -ivh glibc-headers-2.12-1.25.el6.x86_64.rpm 

 

# rpm -ivh glibc-devel-2.12-1.25.el6.x86_64.rpm 

 

# rpm -ivh mpfr-2.4.1-6.el6.x86_64.rpm

 

# rpm -ivh ppl-0.10.2-11.el6.x86_64.rpm

 

# rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm

 

# rpm -ivh cpp-4.4.5-6.el6.x86_64.rpm

 

# rpm -ivh gcc-4.4.5-6.el6.x86_64.rpm

 

注:以上是安装gcc,软件安装顺序不能错。

******************************************

# rpm -ivh libstdc++-4.4.5-6.el6.x86_64.rpm

 

# rpm -ivh libstdc++-devel-4.4.5-6.el6.x86_64.rpm

 

# rpm -ivh gcc-c++-4.4.5-6.el6.x86_64.rpm

 

注:以上是安装gcc-c++

 

非常感谢原作者(已经找不到原作者了0.0),尽管我是RedHat5.9的版本,挂载后的rpm包在/mnt/Server目录下,由于rpm包版本不一样,包的名字也要模糊查询下才行,但是根据这个方法还是解决了我的问题。

 

下面贴出oracle官网上列出的要求安装的rpm包以便和上面的对照:

binutils-2.20.51.0.2-5.11.el6 (x86_64)

compat-libcap1-1.10-1 (x86_64)

compat-libstdc++-33-3.2.3-69.el6 (x86_64)

compat-libstdc++-33-3.2.3-69.el6.i686

gcc-4.4.4-13.el6 (x86_64)

gcc-c++-4.4.4-13.el6 (x86_64)

glibc-2.12-1.7.el6 (i686)

glibc-2.12-1.7.el6 (x86_64)

glibc-devel-2.12-1.7.el6 (x86_64)

glibc-devel-2.12-1.7.el6.i686

ksh

libgcc-4.4.4-13.el6 (i686)

libgcc-4.4.4-13.el6 (x86_64)

libstdc++-4.4.4-13.el6 (x86_64)

libstdc++-4.4.4-13.el6.i686

libstdc++-devel-4.4.4-13.el6 (x86_64)

libstdc++-devel-4.4.4-13.el6.i686

libaio-0.3.107-10.el6 (x86_64)

libaio-0.3.107-10.el6.i686

libaio-devel-0.3.107-10.el6 (x86_64)

libaio-devel-0.3.107-10.el6.i686

make-3.81-19.el6

sysstat-9.0.4-11.el6 (x86_64)

 

你可能感兴趣的:(oracle,linux,redhat,mkldflags,ntcontab.o,nnfgt.o)