This discussion is archived
12 Replies Latest reply: Jan 2, 2013 2:13 AM by Soundappan RSS

Cobol linking issue

Soundappan Journeyer
Currently Being Moderated
Hi ,

I have successfully installed and compiled the cobol program, Howerver when I try to link the cobol program

using ./psrun.mak I am receiving the below.

Any help on this highly appreciated.

Error:
sound@fcas:/sound/proj/peoplesoft/PT8.52/setup $ ./psrun.mak
./psrun.mak - linking PSRUN for oel-5-x86_64, Version 2.6.32.27-0.2-default ...
./psrun.mak - Error(s) encountered creating PSRUN!
./psrun.mak - See /sound/proj/peoplesoft/PT8.52/setup/psrun.err for messages

sound@fcas:/sound/proj/peoplesoft/PT8.52/setup $ cat /sound/proj/peoplesoft/PT8.52/setup/psrun.err
cob64: can not execute program "ld".
sound@fcas:/sound/proj/peoplesoft/PT8.52/setup $


OS:

sound@fcas:/sound/proj/peoplesoft/PT8.52/setup $ uname -a
Linux fcas 2.6.32.27-0.2-default #1 SMP 2010-12-29 15:03:02 +0100 x86_64 x86_64 x86_64 GNU/Linux
  • 1. Re: Cobol linking issue
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    You may have several missing packages as well as wrong cobopt and cobopt64 contents.
    Please have a look in my blog entry :
    http://gasparotto.blogspot.nl/2010/02/cobol-on-peoplesoft-ovm.html

    Nicolas.
  • 2. Re: Cobol linking issue
    Soundappan Journeyer
    Currently Being Moderated
    Hi Nic,

    Thanks for your reply. I have the below entry on cobopt and cobopt64.

    sound@fcas:/sound/proj/storage/cobol/etc $ more cobopt
    -C nolist
    set GCC_LIB=/usr/lib64/gcc/x86_64-suse-linux/4.3/32
    set GCC_SEARCH_PATH=$GCC_LIB:/usr/lib:/lib
    set GCC_EXCEP_LIB=gcc_s
    sound@fcas:/sound/proj/storage/cobol/etc $ more cobopt64
    -C nolist
    set GCC_LIB=/usr/lib64/gcc/x86_64-suse-linux/4.1.2
    set GCC_SEARCH_PATH=$GCC_LIB:/usr/lib64:/usr/lib
    set GCC_EXCEP_LIB=gcc_s

    Found the below entry:
    sound@fcas:/usr/lib64/gcc/x86_64-suse-linux $ ls -ltr
    total 8
    drwxr-xr-x 6 root root 4096 2011-05-14 02:00 4.5
    drwxr-xr-x 5 root root 4096 2011-05-14 02:01 4.3

    Kindly let me know the value I need to change on the above entry.(Not sure I need to change it to 4.3 (or) 4.1.2)

    Appreciated your help on the same.

    Thanks
    Soundappan

    Edited by: Soundappan on Nov 19, 2012 7:13 PM
  • 3. Re: Cobol linking issue
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    Have you first check the packages to avoid "ld" error ?
    Then for the 2nd point, try to use fist 4.3. Not sure exactly what it should be on Suse though, but cobopt64 used to be wrong.

    Nicolas.
  • 4. Re: Cobol linking issue
    Soundappan Journeyer
    Currently Being Moderated
    Hi Nic,

    Thanks for your reply.

    Kindly let me know How to check (or) get the required RPM to my OS.

    Thanks
    Soundappan
  • 5. Re: Cobol linking issue
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    rpm -q <package_name.rpm>
    But double-check your env variables and path directories in the mentioned files.

    Nicolas.
  • 6. Re: Cobol linking issue
    Soundappan Journeyer
    Currently Being Moderated
    Thanks Nic. Env and path variables are correct.

    Do you know the list of required rpm files for SLES 11 (or) rpm files are common for all the OS?

    Thanks
    Soundappan
  • 7. Re: Cobol linking issue
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    Try to check what is available for your OS compared to the ones I gave on my blog entry linked earlier, except the version.

    Nicolas.
  • 8. Re: Cobol linking issue
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    Soundappan,
    I've never check it before, interestingly, Peoplesoft AppServer/Batch/PIA are not certified on x86-64 SLES 11. Only the database is.
    I can be explain by some error as you get. Unfortunately, I cannot confirm if it can work despite it is not a certified combination. You probably should reconsider your OS.

    Nicolas.
  • 9. Re: Cobol linking issue
    Soundappan Journeyer
    Currently Being Moderated
    Hi Nic,

    Thanks for your information on this, I don't find any information related to this on support.oracle.com.

    Can you provide me any search keyword or URL to justify the below statement.
    "Peoplesoft AppServer/Batch/PIA are not certified on x86-64 SLES 11"

    Also I Can able to find the Microfocus cobol is certified with SLES 11.

    Your help on this is highly appreciated.


    Thanks
    Soundappan

    Edited by: Soundappan on Nov 22, 2012 3:27 PM
  • 10. Re: Cobol linking issue
    Nicolas.Gasparotto Oracle ACE
    Currently Being Moderated
    Go to certification tab, enter "PeopleSoft PeopleTools" product, select 8.52 for the release and press "search'.
    Expend "Operating systems", click on "SLES 11" and you will read that only the database is certified. There's no other Peoplesoft components (such as Application Server, Batch Server, Web Server) certified on this plateform.

    Nicolas.

    PS: I do not say that won't work at all, it could rather be challenging to make it works (I may have a tryu on my spare time). But if you are doing a production environment, then you probably want to reconsider your choice.

    Edited by: N Gasparotto on Nov 22, 2012 11:11 AM
  • 11. Re: Cobol linking issue
    Soundappan Journeyer
    Currently Being Moderated
    Thanks for your information nic.

    Thanks
    Soundappan
  • 12. Re: Cobol linking issue
    Soundappan Journeyer
    Currently Being Moderated
    It was a permission issue and resolved now.

    Thanks
    Soundappan

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points