OracleDatabase 11g安装bbed

 OracleDatabase 11g中缺省的未提供BBED库文件,但是可以用10g的文件编译出来,需要先从10g中复制如下文件到相应目录,然后再执行上述连接命令,参考如下步骤:
(1)复制Oracle 10g文件
Copy $ORA10g_HOME/rdbms/lib/ssbbded.o to$ORA11g_HOME/rdbms/lib
Copy $ORA10g_HOME/rdbms/lib/sbbdpt.o to $ORA11g_HOME/rdbms/lib

Copy $ORA10g_HOME/rdbms/mesg/bbedus.msb to $ORA11g_HOME/rdbms/mesg
Copy $ORA10g_HOME/rdbms/mesg/bbedus.msg to $ORA11g_HOME/rdbms/mesg
Copy $ORA10g_HOME/rdbms/mesg/bbedar.msb to $ORA11g_HOME/rdbms/mesg

(2)编译
[oracle@june2 lib]$ make -f ins_rdbms.mk  BBED=$ORACLE_HOME/bin/bbed  $ORACLE_HOME/bin/bbed

Linking BBED utility (bbed)
rm -f /oracle/app/oracle/product/11.2.0/dbhome_1//bin/bbed
gcc -o /oracle/app/oracle/product/11.2.0/dbhome_1//bin/bbed -m32 -L/oracle/app/oracle/product/11.2.0/dbhome_1//rdbms/lib/ -L/oracle/app/oracle/product/11.2.0/dbhome_1//lib/ -

L/oracle/app/oracle/product/11.2.0/dbhome_1//lib/stubs/ -L/oracle/app/oracle/product/11.2.0/dbhome_1//lib/ -lirc -lipgo   

/oracle/app/oracle/product/11.2.0/dbhome_1//lib/s0main.o /oracle/app/oracle/product/11.2.0/dbhome_1//rdbms/lib/ssbbded.o 

/oracle/app/oracle/product/11.2.0/dbhome_1//rdbms/lib/sbbdpt.o `cat /oracle/app/oracle/product/11.2.0/dbhome_1//lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -

ldbtools11 -lclntsh  `cat /oracle/app/oracle/product/11.2.0/dbhome_1//lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat 

/oracle/app/oracle/product/11.2.0/dbhome_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 

/oracle/app/oracle/product/11.2.0/dbhome_1//lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /oracle/app/oracle/product/11.2.0/dbhome_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 /oracle/app/oracle/product/11.2.0/dbhome_1//lib/sysliblist` -Wl,-

rpath,/oracle/app/oracle/product/11.2.0/dbhome_1//lib -lm    `cat /oracle/app/oracle/product/11.2.0/dbhome_1//lib/sysliblist` -ldl -lm   -

L/oracle/app/oracle/product/11.2.0/dbhome_1//lib
/oracle/app/oracle/product/11.2.0/dbhome_1//rdbms/lib/ssbbded.o: file not recognized: File format not recognized
collect2: ld 返回 1
make: *** [/oracle/app/oracle/product/11.2.0/dbhome_1//bin/bbed] 错误 1

报错 :
原因为export ORACLE_HOME=/oracle/app/oracle/product/11.2.0/dbhome_1/

设置为export ORACLE_HOME=/oracle/app/oracle/product/11.2.0/dbhome_1

[oracle@june2 lib]$ make -f $ORACLE_HOME/rdbms/lib/ins_rdbms.mk BBED=$ORACLE_HOME/bin/bbed $ORACLE_HOME/bin/bbed

Linking BBED utility (bbed)
rm -f /oracle/app/oracle/product/11.2.0/dbhome_1/bin/bbed
gcc -o /oracle/app/oracle/product/11.2.0/dbhome_1/bin/bbed -m32 -L/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/ -L/oracle/app/oracle/product/11.2.0/dbhome_1/lib/ -

L/oracle/app/oracle/product/11.2.0/dbhome_1/lib/stubs/ -L/oracle/app/oracle/product/11.2.0/dbhome_1/lib/ -lirc -lipgo   /oracle/app/oracle/product/11.2.0/dbhome_1/lib/s0main.o 

/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/ssbbded.o /oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/sbbdpt.o `cat 

/oracle/app/oracle/product/11.2.0/dbhome_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -ldbtools11 -lclntsh  `cat 

/oracle/app/oracle/product/11.2.0/dbhome_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /oracle/app/oracle/product/11.2.0/dbhome_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 /oracle/app/oracle/product/11.2.0/dbhome_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 

-lnl11 -lnro11 `cat /oracle/app/oracle/product/11.2.0/dbhome_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 

/oracle/app/oracle/product/11.2.0/dbhome_1/lib/sysliblist` -Wl,-rpath,/oracle/app/oracle/product/11.2.0/dbhome_1/lib -lm    `cat 

/oracle/app/oracle/product/11.2.0/dbhome_1/lib/sysliblist` -ldl -lm   -L/oracle/app/oracle/product/11.2.0/dbhome_1/lib
/oracle/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/ssbbded.o: file not recognized: File format not recognized
collect2: ld 返回 1
make: *** [/oracle/app/oracle/product/11.2.0/dbhome_1/bin/bbed] 错误 1

LINUX 版本为32位,给的库是64位的
密码blockedit

你可能感兴趣的:(OracleDatabase 11g安装bbed)