Machine in use is Sparc LX with Netscape 4.51 (apparently no later version exists for sparc). Before upgrades, printing from within Netscape worked fine. After installing the latest upgrade packages for glibc and lpr (among others), attempt to print dies with the followiing message window popping up: Netscape: subprocess diagnostics (stdout/stderr) lpr: error in loading shared libraries: libBrokenLocale.so.1: cannot open shared object file: No such file or directory The following files/llinks are in lib: -rwxr-xr-x 1 root root 22288 Jan 15 11:14 libBrokenLocale-2.1.3.so lrwxrwxrwx 1 root root 24 Jan 26 14:41 libBrokenLocale.so.1 -> libBrokenLocale-2.1.3.so The following files/links are in /usr/lib: -rw-r--r-- 1 root root 17346 Jan 15 11:14 libBrokenLocale.a lrwxrwxrwx 1 root root 30 Jan 26 13:32 libBrokenLocale.so -> /../lib/libBrokenLocale.so.1 Note the symbolic link in /usr/lib/ did not look right, but changing it to -> ../../lib/libBrokenLocale.so.1 which matched format of similar links made no difference. Telling netscape to print to a file (netscape.ps) works, and subsequently manually doing lpr -h -P<printer> netscape.ps will print the file successfully. Also, direct printing appears to work alright from at least one other application (Electric Eyes). Packages glibc (glibc-2.1.3-22.sparc.rpm), lpr (lpr-0.50-7.6.x.sparc.rpm), netscape-common, and netscape-communicator all verify correctly.
I'm experiencing the same problem with RHAT 6.2/SPARC on an Ultra-5. Looks like the issue is with lpr package supplied on update cdrom. If I install packages "manually", omitting lpr, printing continues to work fine in Netscape.
What happens if you run, from the command line, LD_PRELOAD=libBrokenLocale.so.1 lpr <some file>?
I noted that if I changed /usr/bin/netscape (also /usr/bin/netscape-communicator) startup scripts starting at line 30 from: if [ "$sysname" = "sparc" ]; then export LD_PRELOAD=libBrokenLocale.so.1 fi to: if [ "$sysname" = "sparc" ]; then export LD_PRELOAD=/lib/libBrokenLocale.so.1 fi seems to correct the problem. I'm not a programmer, so I don't know if this is the fundamental problem or if this just works around it. At least for me, printing now works without complaint.
To answer the posed question, this is what I get: leopard:~# LD_PRELOAD=libBrokenLocale.so.1 lpr test lpr: error in loading shared libraries: libBrokenLocale.so.1: cannot open shared object file: No such file or directory
I've not tested the posted workaround (LD_PRELOAD=libBrokenLocale.so.1 lpr <some file>?) because I can't afford to break printing at this point. For the time being, I am not installing the lpr update package in order to retain daily functionality.
This issue has been listed as 'NEW' since January, despite what may be a simple fix for the package. Also, there has been no release of newer Netscape even though the current one has known security issues resolved by later versions. Can we expect these issues to get resolved and to have the latest browser version released? Has RedHat given up on Sparc support or what?
Um, there *is* no later browser version. If you'll check, no version since 4.51 has been released for sparc linux.