Bug 64844
Summary: | Oracle9 installtion fails | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Steve Cawley <stephen.cawley> |
Component: | libc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-10-03 19:35:46 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Steve Cawley
2002-05-13 15:03:12 UTC
Try removing -z defs from Oracle makefiles or add dynamic linker (/lib/ld-linux.so.2) to the linker commands using -z defs for shared libraries. I'm not sure is this related to the initial bug report, but I have following situation: I have Red Hat Linux 7.3 freshly installed. I installed Oracle 9i Release 1 for Linux (version 9.1.0.1.0). However, installing Oracle 9i Release 2 for Linux (version 9.2.0.1.0) fails. Oracle error report says: Error in invoking target install of makefile /var/oracle/ctx/lib/ins_ctx.mk When manually trying to do "make install" in that directory using makefile mentioned above, following error appears: [...] mv ctxsrv /var/oracle/bin/ctxsrv chmod 751 /var/oracle/bin/ctxsrv gcc -o ctxhx -L/var/oracle/ctx/lib/ -L/var/oracle/lib/ -L/var/oracle/lib/stubs/ /var/oracle/ctx/lib/ctxhx.o -L/var/oracle/ctx/lib/ -lm -lsc_ca -lsc_fa -lsc_ex -lsc_da -lsc_ut -lsc_ch -lsc_fi -lctxhx -lc -Wl,-rpath,/var/oracle/ctx/lib -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 /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' collect2: ld returned 1 exit status make: *** [ctxhx] Error 1 bash-2.05a$ Removing -z defs from makefiles before linking phase did not help. "I have Red Hat Linux 7.3 freshly installed. I installed Oracle 9i Release 1 for Linux (version 9.1.0.1.0). However, installing Oracle 9i Release 2 for Linux (version 9.2.0.1.0) fails." Probably better to clarify this a bit: I installer 9iRel1 succesfully on a RH7.3. Installing 9iRel2 to the same kind of environment (not the machine already running 9iRel1) fails. This is solved at http://www.idevelopment.info/data/DBA_tips/Linux/LINUX_5.shtml Errors during the Relink Phase of the Install During the "Link Phase" of the install, you will get an error while trying to make/install CTX. (The same issue exists in 9.0.1 on RedHat Linux). The following errors will exist in $ORACLE_HOME/install/make.log /lib/libdl.so.2: undefined reference to `__ctype_b_loc' /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' collect2: ld returned 1 exit status make: *** [ctxhx] Error 1 This error occurs when the following is executed: /usr/bin/make -f ins_ctx.mk install ORACLE_HOME=/u01/app/oracle/product/9.2.0 Solution The solution is to edit the file $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) This is solved at http://www.idevelopment.info/data/DBA_tips/Linux/LINUX_5.shtml Errors during the Relink Phase of the Install During the "Link Phase" of the install, you will get an error while trying to make/install CTX. (The same issue exists in 9.0.1 on RedHat Linux). The following errors will exist in $ORACLE_HOME/install/make.log /lib/libdl.so.2: undefined reference to `__ctype_b_loc' /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' collect2: ld returned 1 exit status make: *** [ctxhx] Error 1 This error occurs when the following is executed: /usr/bin/make -f ins_ctx.mk install ORACLE_HOME=/u01/app/oracle/product/9.2.0 Solution The solution is to edit the file $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) RHL 7.3 is not supported anymore, closing. |