Thursday, December 10, 2009

/usr/bin/ld: crt1.o: No such file: No such file or directory

Environment:
Oracle 11gR1 (x64) Client + RHEL 5.3 (x86_64)

What happened:
Applying 11.1.0.7 patchset

Symptoms:

INFO: gcc -m32 -o /u01/app/oracle/product/11.1.0/client/sqlplus/bin/sqlplus32 -L/u01/app/oracle/product/11.1.0/client/sqlplus/lib32/ -L/u01/app/oracle/produc
t/11.1.0/client/lib32/ -L/u01/app/oracle/product/11.1.0/client/lib32/stubs/ /u01/app/oracle/product/11.1.0/client/sqlplus/lib32/s0afimai.o -lsqlplus -lclnts
h `cat /u01/app/oracle/product/11.1.0/client/lib32/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /u01/app/oracle/product/11.1.0/client/
lib32/ldflags` -lncrypt11 -lnsgr11 -lnzjs11
INFO: -ln11 -lnl11 -lnnz11 -lzt11 -lztkg11 -lztkg11 -lclient11 -lnnetd11 -lvsn11 -lcommon11 -lgeneric11 -lmm -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lc
ore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat /u01/app/oracle/product/11.1.0/client/lib32/ldflags` -lncrypt11 -l
nsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /u01/app/oracle/product/11.1.0/client/lib32/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lclient11 -lnnet
d11 -lvsn11 -lcommon11 -lgeneric11 -lsnls11
INFO: -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 `c
at /u01/app/oracle/product/11.1.0/client/lib32/sysliblist` -Wl,-rpath,/u01/app/oracle/product/11.1.0/client/lib32 -lm -lpthread `cat /u01/app/oracle/produc
t/11.1.0/client/lib32/sysliblist` -ldl -lm -lpt
INFO: hread -L/u01/app/oracle/product/11.1.0/client/lib32

INFO: /usr/bin/ld: crt1.o: No such file: No such file or directory

INFO: collect2: ld returned 1 exit status

INFO: make[1]: Leaving directory `/u01/app/oracle/product/11.1.0/client/sqlplus/lib'

INFO: make[1]: *** [/u01/app/oracle/product/11.1.0/client/sqlplus/bin/sqlplus32] Error 1

INFO: make: *** [newsqlplus32] Error 2

INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'install' of makefile '/u01/app/oracle/product/11.1.0/client/sqlplus/lib/ins_sqlplus.mk'. See '/u01/app/oraInvento
ry/logs/installActions2009-12-10_10-46-17AM.log' for details.
Exception Severity: 1
INFO: The output of this make operation is also available at: '/u01/app/oracle/product/11.1.0/client/install/make.log'

Root cause:
32bit "glibc-devel" has not been installed.

[oracle@vmxdb01 ~]$ rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep glibc-devel
glibc-devel-2.5-34 (x86_64)

Solution:

Using "yum" to install glibc-devel-2.5-34.i386

[oracle@vmxdb01 ~]$ rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep glibc-devel
glibc-devel-2.5-34 (i386)
glibc-devel-2.5-34 (x86_64)

9 comments:

  1. Thankyou - It helped to resolve the issue.

    -Ashok

    ReplyDelete
  2. Excellent Post. Thank you Helped me in resolving the issue.

    ReplyDelete
  3. Hello There. I found your blog using msn. This is a really well written article. I will make sure to bookmark it and come back to read more of your useful information. Thanks for the post. I will definitely return.
    skip bin hire brisbane

    ReplyDelete
  4. Hello There. I found your blog using msn. This is a really well written article. I will make sure to bookmark it and come back to read more of your useful information. Thanks for the post. I will definitely return.
    Car Removal Brisbane
    Cash for Cars Ipswich

    ReplyDelete
  5. Hello There. I found your blog using msn. This is a really well written article. I will make sure to bookmark it and come back to read more of your useful information. Thanks for the post. I will definitely return.
    cash for cars sunshine coast
    cash for scrap cars sunshine coast

    ReplyDelete
  6. Without fail, your writing style is top professional; even your website also looks amazing thank you for posting. Convert pdf to word

    ReplyDelete
  7. Pretty nice post. I just stumbled upon your weblog and wanted to say that I have really enjoyed browsing your blog posts. After all I’ll be subscribing to your feed and I hope you write again soon! convert pdf to png

    ReplyDelete
  8. This particular is usually apparently essential and moreover outstanding truth along with for sure fair-minded and moreover admittedly useful My business is looking to find in advance designed for this specific useful stuffs… fire sharing

    ReplyDelete
  9. Advances in interchanges and innovation have carried with it an off-shoot marvel that has significantly affected the manner in which people and organizations interface and manage one another.what is file entropy

    ReplyDelete