From Bugzilla Helper: User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.17-14 i686; Nav) I updated my LPRng rpm using the up2date utility. Now when I print I get the following error: lpr: error while loading shared libraries: lpr: undefined symbol: stat Reproducible: Always Steps to Reproduce: 1. lpr {filename} 2. 3. Actual Results: lpr: error while loading shared libraries: lpr: undefined symbol: stat Expected Results: a printed page. The rpm version up2date loaded is 3.6.24-2
I am glad someone else is having the same problem. It lets me know that I don't have to spend a whole lot more time trying to resolve it. After an upgrade yesterday, I can no longer print. I get the same error. I would try to find the error in source/Makefile, but I have a deadline from a paying customer. Let me know what you guys find. Just in case it matters, this is what is different on my machine. I am running Kernel 2.2.18 with SMP (2 X 700 Mhz).
I was able to get past this by downloading the src rpm and rebuilding to my shared libs. This appears to be a glibc symbol change. I went to a 7.0 system that had not be upgraded, and ran strace on loading of the lpd and compared it to the strace of my non-working system. It craps out where the lpd is trying to stat( /etc/lpd.conf ). So I figured there must be a slight symbol change in the glibc stuff. I downloaded the srpm for LPRng and did a: rpm --rebuild LPRng*.rpm and then, rpm -U --force LPRng*.rpm of the generated binary rpm. Then everything works fine. (BTW, my glibc is 2.2-12) Derek Viljoen
*** This bug has been marked as a duplicate of 33580 ***