create_rts fails with error "ld: fatal: file [...] crti.o: open failed"
- Article Type: General
- Product: Aleph
- Product Version: 20
Problem Symptoms:
When one enters the command "create_rts" as UNIX user aleph, the following error message appears:
$ create_rts
create rts
ld: fatal: file /opt/SUNWspro/prod/lib/crti.o: open failed: No such file or directory
mv: cannot access /exlibris/aleph/a20_1/aleph/exe/rts32x
Cause:
The file $aleph_dev/product/local/cobol/coblib/liblist which belongs to the COBOL development and run-time environment does not include the correct path to the following object and library files:
crti.o
crt1.o
values-xt.o
mcrt1.o
libsunmath*
Resolution:
(1)
Determine the actual location of the object and library files given above by entering the command "which cc" as UNIX user aleph.
Example:
$ which cc
/opt/solarisstudio12.3/prod/bin/cc
In this example, the object and library files are probably located in directory /opt/solarisstudio12.3/prod/lib .
Verify this path to the files by displaying the contents of the directory.
(2)
Open the file $aleph_dev/product/local/cobol/coblib/liblist with a text editor.
(3)
Replace the path to each of the object and library files given above with the path determined in Step 1.
(4)
Execute the command "create_rts" again. No error messages should appear.
Category: System Management (500) - ALEPH
Subject: ALEPH - 500
- Article last edited: 3/18/2014