5 Replies Latest reply: Jan 10, 2011 4:01 AM by msadiq RSS

    How to install GMake on Solaris 9

    691378
      I got error when run
      gmake hello
      ld.so.1: gmake: fatal: libintl.so.8: open failed: No such file or directory
      Killed

      I installed all the pre-requests including
      libiconv-1.13.1-sol9-sparc-local
      make-3.82-sol9-sparc-local
      gcc-3.4.6-sol9-sparc-local
      libgcc-3.4.6-sol9-sparc-local

      using pkgadd -d libiconv-1.13.1-sol9-sparc-local -R /tmp
      The installation is successful.


      # uname -a
      SunOS 5.9 Generic_122300-47 sun4u sparc SUNW,Netra-T12
        • 1. Re: How to install GMake on Solaris 9
          msadiq
          Hi

          i suggest you to find the file libintl.so.8 in / and if the file is found check if the LIBRARY PATH is set properly for the file to read .

          Regards
          Sadiq
          • 2. Re: How to install GMake on Solaris 9
            691378
            Hi Sadiq,
            I can't find the libintl.so.8 in / . I redo the installation use the following sequences, still got the same error:

            I downloaded an unzip the files to /tmp/mm
            then
            from /tmp/mm
            I run
            1) pkgadd -d libiconv-1.13.1-sol9-sparc-local
            2) pkgadd -d gcc-3.4.6-sol9-sparc-local
            3) pkgadd -d make-3.82-sol9-sparc-local
            The installation is successful from the output of pkgadd.
            and I can find the gcc, make under /usr/local/bin.
            I use the helloworld to test the GCC , it is OK. but make still got the same error.
            I echo $PATH and can find the /usr/local/bin in the PATH ( This is the way to check library path ?) I am a newbie.

            Thanks
            Kan
            • 3. Re: How to install GMake on Solaris 9
              abrante
              You can check the LD_LIBRARY_PATH, which its actually called by using
              echo $LD_LIBRARY_PATH

              LD_LIBRARY_PATH is just a variable in your shell the exact syntax to change it is determined by your shell.

              Also take a look at the command 'crle', which can be used to set the LD_LIBRARY_PATH at a global level.


              .7/M.
              • 4. Re: How to install GMake on Solaris 9
                691378
                echo $LD_LIBRARY_PATH
                /opt/CA/SharedComponents/lib

                So something wrong in my setting ? Thanks
                • 5. Re: How to install GMake on Solaris 9
                  msadiq
                  Hi

                  Add the library path of the lib files you have installed to the existing path

                  LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/the/library
                  export LD_LIBRARY_PATH

                  Regards
                  Sadiq