11gR2 bbed在linux运行 需要10g上的几个文件

[oracle@test170 lib]$  make -f ins_rdbms.mk $ORACLE_HOME/rdbms/lib/bbed

Linking BBED utility (bbed)
rm -f /s01/app/oracle/product/11.2.3/db_1/rdbms/lib/bbed
gcc -o /s01/app/oracle/product/11.2.3/db_1/rdbms/lib/bbed -m64 -L/s01/app/oracle/product/11.2.3/db_1/rdbms/lib/ -L/s01/app/oracle/product/11.2.3/db_1/lib/ -L/s01/app/oracle/product/11.2.3/db_1/lib/stubs/  /s01/app/oracle/product/11.2.3/db_1/lib/s0main.o /s01/app/oracle/product/11.2.3/db_1/rdbms/lib/ssbbded.o /s01/app/oracle/product/11.2.3/db_1/rdbms/lib/sbbdpt.o `cat /s01/app/oracle/product/11.2.3/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -ldbtools11 -lclntsh  `cat /s01/app/oracle/product/11.2.3/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /s01/app/oracle/product/11.2.3/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11 -lztkg11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lmm -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat /s01/app/oracle/product/11.2.3/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /s01/app/oracle/product/11.2.3/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11   -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11   `cat /s01/app/oracle/product/11.2.3/db_1/lib/sysliblist` -Wl,-rpath,/s01/app/oracle/product/11.2.3/db_1/lib -lm    `cat /s01/app/oracle/product/11.2.3/db_1/lib/sysliblist` -ldl -lm   -L/s01/app/oracle/product/11.2.3/db_1/lib
gcc: /s01/app/oracle/product/11.2.3/db_1/rdbms/lib/ssbbded.o: No such file or directory
gcc: /s01/app/oracle/product/11.2.3/db_1/rdbms/lib/sbbdpt.o: No such file or directory
make: *** [/s01/app/oracle/product/11.2.3/db_1/rdbms/lib/bbed] Error 1

运行时还需要用到bbedus.msg和bbedus.msb 2个信息文

[oracle@test170 lib]$ ls
env_rdbms.mk  jox.o      kkxwtp.o    kzlnlbac.o      libskgxpr.a  rfsxc.o     sjssu.o      ssdbgved.o   tstshm.o
bbedus.msb  genezi.o      joxoff.o   kopc.o      kzvidv.o        libwrc11.a   s0exudrv.o  skecpt.o     sskeced.o    ttcoerr.o
bbedus.msg  genksms.o     jssu.o     kprnts.o    kzvndv.o        libxdb.a     s0impdrv.o  skfedpt.o    sskfeded.o   ttcsoi.o
cdf.o       hoaoci.o      kciwcx.o   kprwts.o    libcdf11.a      log.bbd      s0khpf.o    skfmupt.o    sskfmued.o   wpspldrv.o
config.c    hoat.o        kcsm.o     kpucb.o     libdbtools11.a  mapsga.o     s0kudbv.o   skfndgpt.o   sskfndged.o  xaondy.o
config.o    hoax.o        kdzof.o    ksms.o      libdsga11.a     maxmem.o     s0kuzr.o    skfodpt.o    sskfoded.o   xaonsl.o
cursize.o   homts.o       kecnr.o    ksnkcs.o    libeva11.a      mkpatch.o    s0kvpf.o    skfsagpt.o   sskfsaged.o  xsnoolap.o
dbfsize.o   hormc.o       kecwr.o    ksnkkpo.o   libhggcon11.a   nmliblist    s0udexp.o   skgxpinfo.o  sskrmed.o    xsyeolap.o
dbguci.o    hormd.o       kfndg.o    ksnktd.o    libknlopt.a     opimai.o     s0udimp.o   skrmpt.o     sskrned.o    zsmsdrv.o
dbgvci.o    horm.o        kfod.o     ksnnni.o    libnfsodm11.a   orion.o      sbbdpt.o    skrnpt.o     sskrsed.o
dg4pwd.o    hormt.o       kfoff.o    ksnnt2.o    libperfsrv11.a  osh.o        sdbgupt.o   skrspt.o     ssoraed.o
diskmon.o   hout.o        kfon.o     ktd.o       libqsmashr.a    rfobsv.o     sdbgvpt.o   sllfls.o     sstrced.o
dmndm.o     houzi.o       kgutc.o    kxmnsd.o    libskgxns.a     rfscom.o     shorm.o     srfsd.o      strcpt.o
dmwdm.o     hsxaora.o     kkpoban.o  kxmwsd.o    libskgxpd.a     rfsd.o       shou.o      ssbbded.o    sulmain.o
dumpsga.o   ins_rdbms.mk  kkxntp.o   kzlilbac.o  libskgxpg.a     rfsin.o      sjsex.o     ssdbgued.o   sysresv.o

[oracle@test170 lib]$ make -f ins_rdbms.mk $ORACLE_HOME/rdbms/lib/bbed

Linking BBED utility (bbed)
rm -f /s01/app/oracle/product/11.2.3/db_1/rdbms/lib/bbed
gcc -o /s01/app/oracle/product/11.2.3/db_1/rdbms/lib/bbed -m64 -L/s01/app/oracle/product/11.2.3/db_1/rdbms/lib/ -L/s01/app/oracle/product/11.2.3/db_1/lib/ -L/s01/app/oracle/product/11.2.3/db_1/lib/stubs/  /s01/app/oracle/product/11.2.3/db_1/lib/s0main.o /s01/app/oracle/product/11.2.3/db_1/rdbms/lib/ssbbded.o /s01/app/oracle/product/11.2.3/db_1/rdbms/lib/sbbdpt.o `cat /s01/app/oracle/product/11.2.3/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -ldbtools11 -lclntsh  `cat /s01/app/oracle/product/11.2.3/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /s01/app/oracle/product/11.2.3/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11 -lztkg11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lmm -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat /s01/app/oracle/product/11.2.3/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /s01/app/oracle/product/11.2.3/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11   -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11   `cat /s01/app/oracle/product/11.2.3/db_1/lib/sysliblist` -Wl,-rpath,/s01/app/oracle/product/11.2.3/db_1/lib -lm    `cat /s01/app/oracle/product/11.2.3/db_1/lib/sysliblist` -ldl -lm   -L/s01/app/oracle/product/11.2.3/db_1/lib

 

bbedus.msg和bbedus.msb拷贝到安装目录下$ORACLE_HOME/rdbms/mesg下即可

[oracle@test170 lib]$ ./bbed
Password:

BBED: Release 2.0.0.0.0 - Limited Production on Mon Sep 10 13:56:18 2012

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

************* !!! For Oracle Internal Use only !!! ***************

BBED> exit

[oracle@test170 lib]$ ldd bbed
        linux-vdso.so.1 =>  (0x00007fffbb7dc000)
        libclntsh.so.11.1 => /s01/app/oracle/product/11.2.3/db_1/lib/libclntsh.so.11.1 (0x00007f7126711000)
        libnnz11.so => /s01/app/oracle/product/11.2.3/db_1/lib/libnnz11.so (0x00007f7126344000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003711c00000)
        libm.so.6 => /lib64/libm.so.6 (0x0000003711800000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003712400000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003715800000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003711400000)
        libaio.so.1 => /usr/lib64/libaio.so.1 (0x00007f7126127000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003711000000)
[oracle@test170 lib]$

 

 

[oracle@test170 lib]$ ./bbed
./bbed: error while loading shared libraries: libnnz10.so: cannot open shared object file: No such file or directory

 

[oracle@test170 lib]$ ldd bbed
        linux-vdso.so.1 =>  (0x00007fff985ff000)
        libnnz10.so => not found
        libclntsh.so.10.1 => /s01/app/oracle/product/11.2.3/db_1/lib/libclntsh.so.10.1 (0x00007ffa7ffe8000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003711c00000)
        libm.so.6 => /lib64/libm.so.6 (0x0000003711800000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003712400000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003715800000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003711400000)
        libnnz11.so => /s01/app/oracle/product/11.2.3/db_1/lib/libnnz11.so (0x00007ffa7fc1a000)
        libaio.so.1 => /usr/lib64/libaio.so.1 (0x00007ffa7fa19000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003711000000)
[oracle@test170 lib]$ file bbed
bbed: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), not stripped


 下载BBED需要的文件:http://download.csdn.net/detail/rgb_rgb/4560531

提供10g,11g linux及windows BBED工具 及详细编译说明readme文件。 一. 10g linux编译BBED [oracle@node3 ~]$ cd $ORACLE_HOME/rdbms/lib [oracle@node3 lib]$ make -f ins_rdbms.mk BBED=$ORACLE_HOME/bin/bbed $ORACLE_HOME/bin/bbed 直接生成到bin下为可执行文件 编译完成后: 编译成功后登陆BBED,登陆时需要密码(BBED的默认密码是blockedit) [oracle@node3 bin]$ bbed Password: BBED: Release 2.0.0.0.0 - Limited Production on Wed Apr 11 10:01:07 2018 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. ************* !!! For Oracle Internal Use only !!! *************** BBED> 二. 11g linux编译BBED oracle 11gR2环境中编译BBED可执行文件需要的ssbbded.o和sbbdpt.o对象文件被移除,不过可以从oracle 10g环境中将这两个文件拷贝到oracle11g环境进行编译。 除了将上面的ssbbded.o和sbbdpt.o 文件拷贝到11g环境外,BBED需要用到 $ORACLE_HOME/rdbms/mesg目录下的bbedus.msb这个信息文件, 这几个文件需要oracle10g中拷贝到oracle11g中对于的目录中。 文件linux_10g_bbed_64 包括了这3个文件。 下面是将以上3个文件Oracle 10g中拷贝到11g对于目录后编译的过程。 1)把linux_10g_bbed_64目录下的10g的ssbbded.o和sbbdpt.o 放到 $ORACLE_HOME/rdbms/lib 目录下 2)把linux_10g_bbed_64目录下的10gbbedus.msb 文件拷贝到 $ORACLE_HOME/rdbms/mesg目录下 3)编译 [oracle@node1 ~] cd $ORACLE_HOME/rdbms/lib [oracle@node1 ~] make -f ins_rdbms.mk BBED=$ORACLE_HOME/bin/bbed $ORACLE_HOME/bin/bbed [oracle@node3 bin]$ bbed Password: BBED: Release 2.0.0.0.0 - Limited Production on Wed Apr 11 10:01:07 2018 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. ************* !!! For Oracle Internal Use only !!! *************** BBED> 三、windows 11GR2 bbed oracle9i版本以后Oracle不装载BBED了, Windows上也没有makefile来编译bbed。 所以,如果你想在Windows上使用bbed,你需要很多文件(本下载压缩包已经全包含了): 你需要一个bbed.exe. 你只能从Oracle 9i的安装中得到它。 你需要有一堆的DLL。所有这些DLL在Oracle9i安装中可以得到。 使用BBED需要消息文件。这文件是“bbedus.msb”,位于Oracle9i安装的MESG目录下。而你需要将其复制到ORACLE_HOME的RDBMS\MESG目录下。 这些在目录本压缩包的 bbed_win 中已经全部提供了。 把它们放在BBED安装的目录下(比如D:\bbed_win),环境变量ORACLE_HOME设置好。确保消息文件在$ORACLE_HOME\RDBMS\MESG下,最后启动BBED: D:\bbed_win>bbed Password: BBED: Release 2.0.0.0.0 - Limited Production on Wed Apr 11 10:20:43 2018 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. ************* !!! For Oracle Internal Use only !!! *************** BBED>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值