slcoit
asked on
Errors in attempt to compile after new install
After installing Micro Focus Cobol Server Express on AIX 5.2, we are able to compile individual programs but are having a problem with any that links multiple libraries.
From the errors below, I believe that the compiler cannot find libsslb.a libcrypt9.a, libsgr.a, libzjs.a, lib-ll.a, and libro.a.
I have searched for these libraries and also cannot find them. I have found the libraries libnsslb9.a libncrypt9.a, libnsgr9.a, libnzjs9.a, and libnro9.a. What I have not found is where the compiler is receiving the request for the 'missing' libraries. I believe that if I can find where the request is coming from, and then I could substitute the found libraries names for the missing libraries and hopefully will succeed in compiling with multiple libraries.
This is the result of our compile attempt:
cob32 -x GUAVRFY.o /scth70/bannerFIN5/general /exe/GUAGE TP.o /scth70/bannerFIN5/general /exe/GUASE TR.o -L
/oracleh70/app/oracle/prod uct/9.2.5L /lib32/ /oracleh70/app/oracle/prod uct/9.2.5L /precomp/l ib32/cobsq lintf.o -ls
ql9 /oracleh70/app/oracle/prod uct/9.2.5L /lib32/nau tab.o /oracleh70/app/oracle/prod uct/9.2.5L /lib32/nae et.o /ora
cleh70/app/oracle/product/ 9.2.5L/lib 32/naect.o /oracleh70/app/oracle/prod uct/9.2.5L /lib32/nae dhs.o `cat /oracl
eh70/app/oracle/product/9. 2.5L/lib32 /ldflags` -lsslb -lcrypt9 -lsgr -lzjs -l -ll -lro `cat /oracleh70/app/or
acle/product/9.2.5L/lib32/ ldflags` -lsslb -lcrypt9 -lsgr -lzjs -l -ll -lclient9 -lvsn9 -lwtc9 -lcommon9 -l
generic9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /oracleh70/app/o
racle/product/9.2.5L/lib32 /ldflags` -lsslb -lcrypt9 -lsgr -lzjs -l -ll -lro `cat /oracleh70/app/oracle/prod u
ct/9.2.5L/lib32/ldflags` -lsslb -lcrypt9 -lsgr -lzjs -l -ll -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -
lpls9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9
-lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lld -lm `cat /orac
leh70/app/oracle/product/9 .2.5L/lib3 2/syslibli st` -lm -lpls9 -lsql9 -lxsd9 `if [ "\`/usr/bin/uname -v\`" = "
4" ]; \
then echo "-bI:/oracleh70/app/oracle /product/9 .2.5L/lib/ pw-syscall .exp"; fi;` -o /scth70/bannerFIN5/gen
eral/exe/GUAVRFY
ld: 0706-006 Cannot find or open library file: -l sslb
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l crypt9
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l sgr
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l zjs
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l -ll
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l ro
ld:open(): A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 255.
Any and all help will be appreciated.
From the errors below, I believe that the compiler cannot find libsslb.a libcrypt9.a, libsgr.a, libzjs.a, lib-ll.a, and libro.a.
I have searched for these libraries and also cannot find them. I have found the libraries libnsslb9.a libncrypt9.a, libnsgr9.a, libnzjs9.a, and libnro9.a. What I have not found is where the compiler is receiving the request for the 'missing' libraries. I believe that if I can find where the request is coming from, and then I could substitute the found libraries names for the missing libraries and hopefully will succeed in compiling with multiple libraries.
This is the result of our compile attempt:
cob32 -x GUAVRFY.o /scth70/bannerFIN5/general
/oracleh70/app/oracle/prod
ql9 /oracleh70/app/oracle/prod
cleh70/app/oracle/product/
eh70/app/oracle/product/9.
acle/product/9.2.5L/lib32/
generic9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /oracleh70/app/o
racle/product/9.2.5L/lib32
ct/9.2.5L/lib32/ldflags` -lsslb -lcrypt9 -lsgr -lzjs -l -ll -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -
lpls9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9
-lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lld -lm `cat /orac
leh70/app/oracle/product/9
4" ]; \
then echo "-bI:/oracleh70/app/oracle
eral/exe/GUAVRFY
ld: 0706-006 Cannot find or open library file: -l sslb
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l crypt9
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l sgr
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l zjs
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l -ll
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l ro
ld:open(): A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 255.
Any and all help will be appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
csachdeva,
When you copy something from somewheer, please post a link to the source. Your text is a copy-paste from http://www.computing.net/unix/wwwboard/forum/6921.html
When you copy something from somewheer, please post a link to the source. Your text is a copy-paste from http://www.computing.net/unix/wwwboard/forum/6921.html
ld -o wrap -L/applic/oracle/product/9
2. AIX: 0706-006: DURING INSTALL OF ADVANCED NETWORKING OPTION (DCE)
The following error message appear inside the install.log: AIX 4.3 ======= ld: 0706-006 Cannot find or open library file: -l dcelibc_r 1068470.6 14-APR-2004 Oracle Server - Enterprise Edition AIX-Based Systems PROBLEM
3. Relinking Errors In Mscxgcal Installing Oracle Exchange
ld: 0706-027 The -d flag is ignored. 197184.1 29-MAY-2002 Oracle Exchange Generic PROBLEM
4. Relink errors on 9.2.0.6
ld -b64 -o sqlplus -L/oracle/TIVTCMT/920_64/s
5. Relink Errors - cannot find library files ha_gs_r, ha_en_r when relinking DB*...
ld: 0706-006 Cannot find or open library file: -l ha_gs_r 362449.996 08-MAY-2003 N/A N/A Forum
6. Number of errors labeled 'Error in Invoking target relink of makefile'
ld: 0706-006 Cannot find or open library file: -l m 367501.995 30-APR-2003 N/A N/A Forum
7. 0706-006 Cannot find or open library file: -l m
RDBMS Version: 8.0.5Operating System & Version: AIX 4.3.3 Error Number (if applicable): ld: 0706-006 Product (i.e. SQL*Loader, Import, etc.): Oracle 8 installProduct Version: 8.0.50706-006 Cannot find or open library file: -l mHi - 61833.999 19-FEB-2000 N/A N/A Forum
8. Trying to relink oracle executables after AIX 4.2.1 to 4.3.3 upgrade
RDBMS Version: 8.0.4Operating System and Version: AIX from 4.2.1 to 4.3.3Error Number (if applicable): ld: 0706-006 cannot find or open library file: -l mProduct (i.e 172434.996 04-DEC-2001 N/A N/A Forum
9. RELINK ALL GIVES INS_SRVM.MK ERRORS ON A NON-RAC INSTALLATION
On a non-RAC (Real Application Clusters) installation relinking fails as follows: $ relink all ... ... ld: 0706-006 Cannot find or open library file: -l ha_gs_r 253649.1 04-AUG-2004 Oracle Server - Enterprise Edition AIX-Based Systems (64-bit) PROBLEM
10. IBM/AIX ld: 0706-006 Cannot find or open library file: -l perfstat
ld: 0706-006 Cannot find or open library file: -l perfstat 198337.1 24-FEB-2003 Oracle Server - Enterprise Edition IBM RS 6000 AIX 5L PROBLEM
11. Linking Error On Install: Ld: 0706-006 Cannot Find Or Open Library File: -l p...
IBM RS 6000 AIX (64-bit) Symptom(s) ~~~~~~~~~~ Errors in the make.log file ld: 0706-006 Cannot find or open library file: -l perfstat 210717.1 20-FEB-2003 Oracle Server - Enterprise Edition AIX-Based Systems (64-bit) PROBLEM
12. AIX: 0706-006, MAKE: 1254-004 ERRORS AFTER 7.3.x or 8.0.x PATCHSET INSTALL
you receive the following error in the make.log: ld: 0706-006 Cannot find or open library file: -l mdknl ld:open(): A file or directory in the path name does not exist 1056383.6 11-JUN-2002 Oracle Server - Enterprise Edition AIX-Based Systems PROBLEM
13. Relink All Results in Errors On A 64bit Non-Rac Installation
Version: 9.2.0.6IBM SP AIX Symptoms ld: 0706-006 Cannot find or open library file: -l ha_gs64_r ld:open(): A file or directory in the path name does not exist. 295122.1 18-FEB-2005 Oracle Server - Enterprise Edition IBM SP AIX PROBLEM
14. IBM_AIX: ld: 0706-006 Cannot find or open library file: -l sna
ld: 0706-006 Cannot find or open library file: -l sna 136608.1 08-MAY-2002 Oracle Universal Installer AIX-Based Systems PROBLEM
15. Connect Problem
the error occurs, 'echo "-lha_gs64_r -lha_em_r"; fi` -locijdbcst9 -lxsd9 ld: 0706-006 Cannot find or open library file: -l jox9 541424.994 13-JAN-2005 N/A N/A Forum
16. Installation of 9iAS Mid-Tier fails in Linking phase
ins_forms.mk and ins_reports.mk files. I check out the make.log file. The error comes from **************************
17. Install 9iAS BIF fails during linking phase(ins_calypsa.mk)
ins_forms.mk and ins_reports.mk files. I check out the make.log file. The error comes from **************************
18. Re : Problem with installation ( unable to link )
Re : Problem with installation ( unable to link ) 240408.995 18-JUN-2002 N/A N/A Forum
19. Fopen system called failed during installation
ld: 0706-006 Cannot find or open library file: -l m 311318.999 15-JAN-2002 N/A N/A Forum
20. URGENT! Installation went through, but cannot relink all components
Then I tried to relink all components manually. The relink had a lot of errors during running as $ relink all /app/oracle/product/8.1.7/
21. Error in invoking target install of makefile /local2/app/oracle/product
ld: 0706-006 Cannot find or open library file: -l m 136499.996 18-AUG-2001 N/A N/A Forum
22. install of developer server on AIX
phobos:/oracle/app/orasrv/
23. Relink Error -l sna
The production relink went fine, but our development relink died with the following: ld: 0706-006 Cannot find or open library file: -l sna We moved some AIX library file from 4.3 that no longer existed in 5.1 (We don't use SNA 337429.996 21-FEB-2003 N/A N/A Forum
24. error on patch install
Linking Oracle rm -f /usr/oracle/product/8.1.7/
25. Re : Unable to Link Oracle
ld: 0706-006 Cannot find or open library file: -l perfstat 232798.995 08-NOV-2002 N/A N/A Forum
26. Re : Problem Linking Oracle 9.2.0.1 on AIX 5L
RDBMS Version: 9.2.0.1Operating System and Version: AIX 5LError Number (if applicable): ld: 0706-006 Cannot find or open library file: -l perfstatProduct (i.e 364177.999 26-JUN-2002 N/A N/A Forum
27. Errors when relinking
SQL*Loader, Import, etc.): Product Version: Errors when relinkingld: 0706-006 Cannot find or open library file: -l ntcp8 ld:open(): No such file or directory 205000.999 21-MAR-2001 N/A N/A Forum
28. Re : Applied patch set version 8.1.6.2.0 to new 8.1.6.0.0 upgrade can not con...
Re : Applied patch set version 8.1.6.2.0 to new 8.1.6.0.0 upgrade can not con... 138173.999 20-SEP-2000 N/A N/A Forum
29. install of makefile ins_net_client.mk
ld: 0706-006 Cannot find or open library file: -l -m ld: open(): A file or directory in the path does not exist...... make:1254-004 make:1254-005. Please let me know the solution for thie error. Thanks. PB DBA 128179.999 19-JUL-2000 N/A N/A Forum
30. installing Developer Server rel 6.0 patch 2
I'm trying to install patch 2 over this, and when I try to relink anything I get: ld: 0706-006 Cannot find or open library file: -l Xmu 36906.998 26-OCT-1999 N/A N/A Forum
31. 9iAS Release 2 Installation Fails During Linking on AIX-Based 5L Systems
symptom: ld:open(): A file or directory in the path name does not exist 248930.1 22-NOV-2004 Oracle Application Server 10g Enterprise Edition Generic PROBLEM
32. Relinking fails on AIX system with "cannot find -l m"
Enterprise Edition fact: AIX-Based Systems symptom: Error in invoking target relink of makefile. symptom: ld: 0706-006 Cannot find or open library file: -l m 145698.1 06-OCT-2003 Oracle Server - Enterprise Edition Generic PROBLEM
33. Link Of Procedural Gateway for IBM MQSeries on AIX Fails With ld: 0706-006
symptom: ld: 0706-006 Cannot find or open library file: -l mqm_r 245928.1 12-AUG-2003 Oracle Procedural Gateway for IBM MQSeries Generic PROBLEM
34. make -f ins_forms45w.mk on ibm aix cannot find libsqlnet.a
ld: 0706-006 Cannot find or open library file: -l sqlnet 109297.1 22-AUG-2000 Application Install AIX-Based Systems PROBLEM
35. Applying 8.1.6.2 Patch Fails with Linking Error on AIX
symptom: ld:0706-006 cannot find or open library file : -l ordsdo8 symptom: ld: open(): a file or directory in the path does not exist symptom: After choosing ignore