"Error in invoking target install of makefile /opt/oracle/product/9.2.0/ctx/lib/ins_ctx.mk" I saw this error only in connection with Oracle 9i (9.0.1) installation.The following errors showed up in $ORACLE_HOME/install/make.log: /lib/libdl.so.2: undefined reference to `_dl_addr@GLIBC_PRIVATE' /lib/libdl.so.2: undefined reference to `_dl_open@GLIBC_PRIVATE' /lib/libdl.so.2: undefined reference to `_dl_close@GLIBC_PRIVATE' /lib/libdl.so.2: undefined reference to `_dl_sym@GLIBC_PRIVATE' /lib/libdl.so.2: undefined reference to `_dl_vsym@GLIBC_PRIVATE' It happens when the following step is executed: /usr/bin/make -f ins_ctx.mk install ORACLE_HOME=/opt/oracle/product/9.2.0 Edit $ORACLE_HOME/ctx/lib/env_ctx.mk and go to "INSO_LINK =", add a "$(LDLIBFLAG)dl" to the line and save it. Here is the full line with the added "$(LDLIBFLAG)dl" flag: INSO_LINK = -L$(CTXLIB) $(LDLIBFLAG)m $(LDLIBFLAG)dl $(LDLIBFLAG)sc_ca $(LDLIBFLAG)sc_fa $(LDLIBFLAG)sc_ex $(LDLIBFLAG)sc_da $(LDLIBFLAG)sc_ut $(LDLIBFLAG)sc_ch $(LDLIBFLAG)sc_fi $(LLIBCTXHX) $(LDLIBFLAG)c -Wl,-rpath,$(CTXHOME)lib $(CORELIBS) $(COMPEOBJS) After that hit retry in the error popup.在没有碰到错误之前照上面的改。不过我只成功了一次没有出错
http://dbforums.com/t485120.html http://www.orafaq.net/archive/comp.databases.oracle.misc/2002/03/04/77591.htm 以上这两篇文章帮助我解决了遇到的问题,谢谢各位的参与Okay, I had issues with this; & I've got it installed now. I'd originally looked online for instructions, & I got a lot of them; of course, *none* of them got me over that linking issue (& I followed them to the letter). If, on the off-chance, others have got this issue, too (& not getting over it on their own or following the other instructions out there); I'm leaving this little overview on here:I'm only including instructions on overcoming the linking issue itself: not other things one ought to be getting from the Installation Guide. I only got it to install with these versions of the following (look them up to verify): glibc-2.2.4-19.3 egcs -v: gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2) binutils-2.10.91.0.4-1I've got no idea if this is important or not, or if only one of them is, or...I'm only listing them in in order to not be incomplete. Log in as oracle, & input the following: export LD_ASSUME_KERNEL=2.2.5 /usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh&, now, open the installer. I got the linking error immediately (not later on, as often indicated by others) on 'ins_net_client.mk'. Once this occurs...open a new terminal, login as oracle, &: cd $ORACLE_HOME/lib touch ldflags cd ../bin ./genclntsh cd ../network/lib make -f ins_net_client.mk mkldflags make -f ins_net_client.mk ntcontab.o make -f ins_net_client.mk install; relink allOn the file genclntsh: it ought to be okay on its own (i.e., leave '-z defs', etc. in there) if the versions of glibc, binutils, etc. indicated have been installed. Go back into the installer & ignore the following linking errors...it's okay; they've been linked now. It installed for me. ;) I'm obviously only offering this as one of the infinite options out there; but I'd have been glad for these instructions at the time I had this issue. One way or the other, good luck.Noel Whelan
用glibc-2.1.3-stubs.tar.gz重新编译
I saw this error only in connection with Oracle 9i (9.0.1) installation.The following errors showed up in $ORACLE_HOME/install/make.log: /lib/libdl.so.2: undefined reference to `_dl_addr@GLIBC_PRIVATE'
/lib/libdl.so.2: undefined reference to `_dl_open@GLIBC_PRIVATE'
/lib/libdl.so.2: undefined reference to `_dl_close@GLIBC_PRIVATE'
/lib/libdl.so.2: undefined reference to `_dl_sym@GLIBC_PRIVATE'
/lib/libdl.so.2: undefined reference to `_dl_vsym@GLIBC_PRIVATE'
It happens when the following step is executed:
/usr/bin/make -f ins_ctx.mk install ORACLE_HOME=/opt/oracle/product/9.2.0 Edit $ORACLE_HOME/ctx/lib/env_ctx.mk and go to "INSO_LINK =", add a "$(LDLIBFLAG)dl" to the line and save it. Here is the full line with the added "$(LDLIBFLAG)dl" flag:
INSO_LINK = -L$(CTXLIB) $(LDLIBFLAG)m $(LDLIBFLAG)dl $(LDLIBFLAG)sc_ca $(LDLIBFLAG)sc_fa $(LDLIBFLAG)sc_ex $(LDLIBFLAG)sc_da $(LDLIBFLAG)sc_ut $(LDLIBFLAG)sc_ch $(LDLIBFLAG)sc_fi $(LLIBCTXHX) $(LDLIBFLAG)c -Wl,-rpath,$(CTXHOME)lib $(CORELIBS) $(COMPEOBJS) After that hit retry in the error popup.在没有碰到错误之前照上面的改。不过我只成功了一次没有出错
用glibc-2.1.3-stubs.tar.gz重新编译好象也没问题
但一执行root.sh总是不对
说要给个路径,数据库怎么都建不起来
郁闷ing
www.orafaq.com/msgboard/unix/messages/1203.htm
继续关注!
随便打了一个停了一下就退出了,没什么反应,然后就不动了
我怀凝是上面的ignore的时候出的漏子,也还没搞清那几个文件主要是来干什么的,想改也不知怎么改
有会的吗?麻烦说说......
http://www.orafaq.net/archive/comp.databases.oracle.misc/2002/03/04/77591.htm
这个站点上说的不知行不行,我老是出错
http://www.orafaq.net/archive/comp.databases.oracle.misc/2002/03/04/77591.htm
以上这两篇文章帮助我解决了遇到的问题,谢谢各位的参与Okay, I had issues with this; & I've got it installed now. I'd
originally looked online for instructions, & I got a lot of them; of
course, *none* of them got me over that linking issue (& I followed them
to the letter). If, on the off-chance, others have got this issue, too
(& not getting over it on their own or following the other instructions
out there); I'm leaving this little overview on here:I'm only including instructions on overcoming the linking issue itself:
not other things one ought to be getting from the Installation Guide. I
only got it to install with these versions of the following (look them
up to verify): glibc-2.2.4-19.3
egcs -v: gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2)
binutils-2.10.91.0.4-1I've got no idea if this is important or not, or if only one of them is,
or...I'm only listing them in in order to not be incomplete. Log in as
oracle, & input the following: export LD_ASSUME_KERNEL=2.2.5
/usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh&, now, open the installer. I got the linking error immediately (not
later on, as often indicated by others) on 'ins_net_client.mk'. Once
this occurs...open a new terminal, login as oracle, &: cd $ORACLE_HOME/lib
touch ldflags
cd ../bin
./genclntsh
cd ../network/lib
make -f ins_net_client.mk mkldflags
make -f ins_net_client.mk ntcontab.o
make -f ins_net_client.mk install; relink allOn the file genclntsh: it ought to be okay on its own (i.e., leave '-z
defs', etc. in there) if the versions of glibc, binutils, etc. indicated
have been installed. Go back into the installer & ignore the following
linking errors...it's okay; they've been linked now. It installed for
me. ;) I'm obviously only offering this as one of the infinite options
out there; but I'd have been glad for these instructions at the time I
had this issue. One way or the other, good luck.Noel Whelan