fatal: libintl.so.8: open failed: No such file or directory on Solaris

0 Likes

"SITUATION:
fatal: libintl.so.8: open failed: No such file or directory on Solaris system upgraded to 4.6.2

RESOLUTION:
This document describes the steps necessary to ensure that your Solaris O/S and compiler environment is compatible with V4.6.2.
Please note that x86 based Solaris systems are not subject to this compatibility check/procedure, as the OS and compiler environment should already be compatible.

Requirements:
The machine must have Version 3.3.x (or higher?) of the GNU C compiler. In addition, the following non-standard C/C language shared libraries must be accessible, both by the AccuRev Installation Wizard and by the installed AccuRev executables. The pathnames below show typical locations for these shared libraries, but they can be placed in any location that is specified in environment variable LIBPATH.

The below represent the correct versions of these libs

/lib/libgcc_s.so.1
/lib/libintl.so.8
/usr/local/lib/libiconv.so.2
/platform/SUNW,A70/lib/libc_psr.so.1
/platform/SUNW,A70/lib/libmd5_psr.so.1



1) The first requirement is to ensure that your system has V3.3.x of the GNU C compiler. To determine this run the following command:
?gcc ?version?
The output will determine what version is installed. If the command output shows an earlier version than V3.3.x, you will need to download a new version. We recommend the following site to download from

http://www.sunfreeware.com/

The archive file is called

gcc-3.4.6-sol7-sparc-local.gz

and is found on the below page:

http://www.sunfreeware.com/programlistsparc7.html#gcc34

Please note we have determined that the GCC libs for Solaris 7 are upward compatible with Solaris 8, 9 and 10.

Once you have downloaded and extracted the archive, you should run the following command: (Note: The pkg<command> executables may be in /usr/bin and/or /usr/sbin.)

pkgadd -d gcc-3.4.6-sol7-sparc-local

You will see below prompt:

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:

Hit enter to select the default of all

At the end of the message list, you should see

Installation of <SMClgcc346> was successful


2) Installing first required OS library (libintl)

We recommend the following site to download from

http://www.sunfreeware.com/

The archive file is called

libintl-3.4.0-sol7-sparc-local.gz

Once you have downloaded and extracted the archive, you should run the following command: (Note: The pkg<command> executables may be in /usr/bin and/or /usr/sbin.)


pkgadd -d libintl-3.4.0-sol7-sparc-local

You will see below prompt:

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:

Select the default which is <all>


At the end of the message list, you should see


Installation of <SMClintl> was successful.


3) Installing second required OS library (libiconv)

We recommend the following site to download from

http://www.sunfreeware.com/

The archive file is called

libiconv-1.11-sol7-sparc-local.gz


Once you have downloaded and extracted the archive, you should run the following command: (Note: The pkg<command> executables may be in /usr/bin and/or /usr/sbin.)


pkgadd -d libiconv-1.11-sol7-sparc-local

You will see below prompt:

The following packages are available:
1 SMCliconv libiconv
(sparc) 1.11

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:


Select the default which is <all>

At the end of the message list, you should see

Installation of <SMCliconv> was successful.

At this point you are ready to install, or if you had already installed but were not able to start AccuRev because of an error message reflecting that it couldn?t find system libraries.

For more information contact AccuRev Support."

Comment List
Related
Recommended