[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