Patch-ID# 101242-04 Keywords: libC.so.5 MT dynamically linked Synopsis: SunOS 5.2, 5.3: Shared library for C++ 4.0 Date: Nov/12/93 Solaris Release: 2.2, 2.3 SunOS Release: 5.2, 5.3 Unbundled Product: Unbundled Release: Relevant Architectures: sparc BugId's fixed with this patch: 1136478 1146175 1147577 1147044 1148647 Changes incorporated in this version: 1148647 Patches accumulated and obsoleted by this patch: Patch id binaries package Synopsis ======== ======== ======= ======== 101242-01 libC.so.4 SUNWlibC libC.so.4 was missing from /usr/lib in SunOS 5.2 and "end-user" cluster of SunOS 5.3 101242-02 libC.so.4 SUNWlibC mt programs linked dynamically with libC don't work on SunOS 5.3 101242-03 libC.so.5 SUNWlibC memory leak in libC; problem with mt programs. Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /usr/lib/libC.so.5 Problem Description: this patch, rev -04 ------------------- 1148647 New mangling scheme invalidates libC.so.4; need to increase the version number of the shared library. rev-03 ------ 1147044 Memory leak in libC. 1147577 Program using cin/cout in static constructors coredumps if compiled with -mt option. rev-02 ------------------ 1146175 Multi-threaded programs linked dynamically with libC don't work on SunOS 5.3. rev-01 ------ 1136478 The library libC.so.4 will be bundled with SunOS 5.4 but is not bundled with SunOS 5.2 and "end-user" cluster of SunOS 5.3. (This library is bundled with "all" cluster of SunOS 5.3). This patch is meant for users of SunOS 5.2 and users who have installed the "end-user" cluster of SunOS 5.3. Patch Installation Instructions: -------------------------------- The command 'pkgadd' should be used for installing this patch and 'pkgrm' should be used to remove this patch. Special Install Instructions: ----------------------------- This patch should be installed on the workstation of each user who needs /usr/lib/libC.so.5. Simply installing this patch on a server will not help. Instructions to install patch ----------------------------- 1. Become super-user. 2. Remove the existing SUNWlibC package if it exists on your machine by typing the command: pkgrm SUNWlibC 3. Apply the patch by typing: pkgadd -d / SUNWlibC where is the directory containing the patch and is the patch number. must be a full path name. Example: # pkgadd -d /tmp/123456-01 SUNWlibC Instructions for installing a patch on a diskless or dataless client -------------------------------------------------------------------- 1. Before applying the patch, the following command must be executed on the server to give the client read-only, root access to the exported /usr file system so that the client can execute the pkgadd command: share -F nfs -o ro,anon=0 /export/exec/Solaris_2.1_sparc.all/usr The command: share -F nfs -o ro,root= \ /export/exec/Solaris_2.1_sparc.all/usr accomplishes the same goal, but only gives root access to the client specified in the command. 2. Login to the client system and become super-user. 3. Continue with step 2 in the "Instructions to install patch using installpatch" section above. Instructions for backing out patch using "backoutpatch" ------------------------------------------------------- 1. Become super-user. 2. Backout patch by typing: pkgrm SUNWlibC