Compile bbed under Oracledb11.2.0.4linux6.3

Source: Internet
Author: User

Compile bbed under Oracledb11.2.0.4linux6.3

Environment:

Oracle db 11.2.0.4, rhel 6.3 x86-64bit

The following files required for compiling bbed in 11.2.0.4 (11gR2:

Sbbdpt. o from: $ ORACLE_HOME/lib of Oracle db 10.2.0.5 under rhel5.8 x86-64bit

Ssbbded. o Source: Oracle db 10.2.0.5 $ ORACLE_HOME/rdbms/lib under rhel5.8 x86-64bit

Bbedus. msb Source: Oracle db 10.2.0.5 $ ORACLE_HOME/rdbms/mesg under rhel5.8 x86-64bit

An error is reported during the initial compilation:

[oracle@rhel63single lib]$ make -f ins_rdbms.mk $ORACLE_HOME/rdbms/lib/bbedLinking BBED utility (bbed)rm -f /u02/app/oracle/product/11.2.0.4/db_1/rdbms/lib/bbedgcc -o /u02/app/oracle/product/11.2.0.4/db_1/rdbms/lib/bbed -m64 -z noexecstack -L/u02/app/oracle/product/11.2.0.4/db_1/rdbms/lib/ -L/u02/app/oracle/product/11.2.0.4/db_1/lib/ -L/u02/app/oracle/product/11.2.0.4/db_1/lib/stubs/  /u02/app/oracle/product/11.2.0.4/db_1/lib/s0main.o /u02/app/oracle/product/11.2.0.4/db_1/rdbms/lib/ssbbded.o /u02/app/oracle/product/11.2.0.4/db_1/rdbms/lib/sbbdpt.o `cat /u02/app/oracle/product/11.2.0.4/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -ldbtools11 -lclntsh  `cat /u02/app/oracle/product/11.2.0.4/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /u02/app/oracle/product/11.2.0.4/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 /u02/app/oracle/product/11.2.0.4/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /u02/app/oracle/product/11.2.0.4/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 /u02/app/oracle/product/11.2.0.4/db_1/lib/sysliblist` -Wl,-rpath,/u02/app/oracle/product/11.2.0.4/db_1/lib -lm    `cat /u02/app/oracle/product/11.2.0.4/db_1/lib/sysliblist` -ldl -lm   -L/u02/app/oracle/product/11.2.0.4/db_1/libgcc: /u02/app/oracle/product/11.2.0.4/db_1/rdbms/lib/ssbbded.o: No such file or directorygcc: /u02/app/oracle/product/11.2.0.4/db_1/rdbms/lib/sbbdpt.o: No such file or directorymake: *** [/u02/app/oracle/product/11.2.0.4/db_1/rdbms/lib/bbed] Error 1


Copy the relevant library file from Oracle db 10.2.0.5 under rhel5.8 x86-64bit:

[Oracle @ rhel63single lib] $ cp/home/oracle/sbbdpt. o. /--------------> Source: rhel5.8 x86-64bit under the Oracle db 10.2.0.5 [oracle @ rhel63single lib] $ cp/home/oracle/ssbbded. o. /--------------> from: rhel5.8 x86-64bit under the Oracle db 10.2.0.5 [oracle @ rhel63single lib] $ cp/home/oracle/bbedus. msb .. /mesg/--------------> Source: Oracle db 10.2.0.5 under rhel5.8 x86-64bit

 

Re-compile:

 

[oracle@rhel63single lib]$ make -f ins_rdbms.mk $ORACLE_HOME/rdbms/lib/bbedLinking BBED utility (bbed)rm -f /u02/app/oracle/product/11.2.0.4/db_1/rdbms/lib/bbedgcc -o /u02/app/oracle/product/11.2.0.4/db_1/rdbms/lib/bbed -m64 -z noexecstack -L/u02/app/oracle/product/11.2.0.4/db_1/rdbms/lib/ -L/u02/app/oracle/product/11.2.0.4/db_1/lib/ -L/u02/app/oracle/product/11.2.0.4/db_1/lib/stubs/  /u02/app/oracle/product/11.2.0.4/db_1/lib/s0main.o /u02/app/oracle/product/11.2.0.4/db_1/rdbms/lib/ssbbded.o /u02/app/oracle/product/11.2.0.4/db_1/rdbms/lib/sbbdpt.o `cat /u02/app/oracle/product/11.2.0.4/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -ldbtools11 -lclntsh  `cat /u02/app/oracle/product/11.2.0.4/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /u02/app/oracle/product/11.2.0.4/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 /u02/app/oracle/product/11.2.0.4/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /u02/app/oracle/product/11.2.0.4/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 /u02/app/oracle/product/11.2.0.4/db_1/lib/sysliblist` -Wl,-rpath,/u02/app/oracle/product/11.2.0.4/db_1/lib -lm    `cat /u02/app/oracle/product/11.2.0.4/db_1/lib/sysliblist` -ldl -lm   -L/u02/app/oracle/product/11.2.0.4/db_1/lib

 

[oracle@rhel63single lib]$ ls -lrt bbed-rwxr-xr-x. 1 oracle oinstall 259142 Apr 18 19:23 bbed[oracle@rhel63single lib]$ pwd/u02/app/oracle/product/11.2.0.4/db_1/rdbms/lib[oracle@rhel63single lib]$

 

[oracle@rhel63single lib]$ cp bbed ../../bin/[oracle@rhel63single lib]$ which bbed/u02/app/oracle/product/11.2.0.4/db_1/bin/bbed[oracle@rhel63single lib]$ 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.