On Fri, Aug 22, 2008 at 4:04 PM, Joerg Barfurth <[EMAIL PROTECTED]> wrote:
> ottomeister schrieb:
>> A known issue in nv_96 is that some X binaries were incorrectly
>> built so if you want to use SRSS on 96 you'll need to fix those
>> binaries by using 'elfedit'. This bug has been fixed in nv_97.
>> If you're committed to 96 then I can explain how to fix the
>> binaries, if AlanC doesn't beat me to it.
>
> Can you provide the details, please?
>
> I have just set up a snv96 system for running SRSS and going to 97 would be
> a real hassle at this point.
The CR is 6733759. The affected binaries are /usr/openwin/bin/{Xsun|Xprt|Xnest}
and /usr/X11/bin/lbxproxy. The bug is that the runtime library paths in these
objects refers to a Sun-internal build system, so if you try to execute these
binaries then the automounter will try to access that system. On SWAN it might
work, but from 5500 miles away it'll take a while and there's no knowing what
will happen when a new build replaces the libraries at that location. Outside
SWAN the mount is extremely unlikely to work and the program will refuse to
run.
You can see the broken runpath by running:
$ elfedit -r -e dyn:runpath /usr/openwin/bin/Xsun
index tag value
[47] RUNPATH 0x10948
/net/paravon/export/x-re/build/milestone/NV/BIWEEKLY_X_NV_X86/open-src/app/lbxproxy/../../../proto-i386-svr4/usr/X11/lib:/usr/X11/lib
[48] RPATH 0x10948
/net/paravon/export/x-re/build/milestone/NV/BIWEEKLY_X_NV_X86/open-src/app/lbxproxy/../../../proto-i386-svr4/usr/X11/lib:/usr/X11/lib
You can repair it (after stashing a safe copy of the original binary somewhere,
just in case, taking care to preserve the file ownerships and permissions) by
running:
$ elfedit -e 'dyn:runpath /usr/X11/lib' /usr/openwin/bin/Xsun
Xsun is the binary that SRSS needs, unless you're running 4.1 beta and
have elected to use Xnewt rather than Xsun. If you use the other programs
then the repair is the same, use 'elfedit' to replace the executable's runpath
with one that doesn't contain the /net/paravon/... path.
OttoM.
__
ottomeister
Disclaimer: These are my opinions. I do not speak for my employer.
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users