Patch-ID# 100807-04 Keywords: sparcworks manager dynamic linking asian openwindows Mars Synopsis: Sparcworks 2.0.1: statically linking X11 library doesn't run on Asian OW Date: Jul/07/94 Solaris Release: 2.2, 2.3, 2.4 SunOS release: 5.2, 5.3, 5.4 Unbundled Product: Sparcworks Unbundled Release: 2.0.1 Topic: relink sparcworks manager dynamically against X11 instead of statically BugId's fixed with this patch: 1109118 1109394 1143654 101428 1169127 Changes incorporated in this version: 1169127 Relevant Architectures: sparc NOTE: sun4 Other patches which conflict with this patch: Obsoleted by: Files included with this patch: sparcworks Problem Description: (rev 01) 1109118 sparcworks is linking X11 library statically 1109394 The sparcworks manager does not work with the 493 OS (rev 02) Removed OpenWindows package name from dependency list (rev 03) Fixed problem with pkginfo giving wrong patchid (rev 04) 1169127: Patch 100807-03 would not install [ 11/17/92 ] % cd /net/kimiko/export/mars/mounts/sunpro/2.0.1/SUNWspro/swmgr/bin % ldd sparcworks libtt.so.1 => /usr/openwin/lib/libtt.so.1 libxview.so.3 => /usr/openwin/lib/libxview.so.3 libolgx.so.3 => /usr/openwin/lib/libolgx.so.3 libsocket.so.1 => /usr/lib/libsocket.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libintl.so.1 => /usr/lib/libintl.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libc.so.1 => /usr/lib/libc.so.1 libw.so.1 => /usr/lib/libw.so.1 It is linking XView dynamically but linking X11 statically. It causes a serious problem on Asian OpenWindows. It doesn't run on it. ---------------------------------------------------------------------------- Type "sparcworks" with the 4/93 OS. You will get the following: ld.so.1: sparcworks: relocation error: symbol not found: XwcDrawString: referenced in /usr/openwin/lib/libxview.so.3 Killed XwcDrawString was introduced in libxview in the 493 build, but libX11 defines it. sparcworks does not dynamically link with libX11, so I suspect that it may statically link in the mars version of libX11 that does not define XwcDrawString. Patch Installation Instructions: -------------------------------- Generic 'installpatch' and 'backoutpatch' scripts are provided within each patch package with instructions added in this section. Other specific or unique installation instructions may also be necessary and should be described below. Special Install Instructions: ----------------------------- None.