[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

error while loading shared libraries: undefined symbol



Folks,

I recently upgraded to RH 7. I'm getting funny 'undefined symbol' errors, 
both during bootup and when invoking some basic simple functions.
One example is lpr and lpq.

I can see which libraries they use, but how does one figure out which library 
is at fault, or how to upgrade/replace it?

A short transcript of the basic problem follows:

[bwise 1015]# lpr --help
lpr: error while loading shared libraries: lpr: undefined symbol: stat

[bwise 1016]# lpq --help
lpq: error while loading shared libraries: lpq: undefined symbol: stat

[bwise 1017]# ldd /usr/bin/lpr
        libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x40028000)
        libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x4007f000)
        libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x40090000)
        libc.so.6 => /lib/libc.so.6 (0x40092000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

[bwise 1018]#  ldd /usr/bin/lpq
        libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x40028000)
        libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x4007f000)
        libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x40090000)
        libc.so.6 => /lib/libc.so.6 (0x40092000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

[bwise 1019]#

- -- 
Ben Wise, PhD            Mobile: 703-731-5144
SAIC                     GnuPG ID: 0xF491BD21
http://www.saic.com       bwise sito saic com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]