LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Symbol lookup error (https://www.linuxquestions.org/questions/linux-newbie-8/symbol-lookup-error-841751/)

niiiro 11-01-2010 03:10 PM

Symbol lookup error
 
Hey guys,

would appreciate your help with this one:

Im using SUSE 11 Enterprise Server SP1 OS.

while running either zypper or YaST im getting the following error:

Code:

zypper: symbol lookup error: /usr/lib64/libstdc++.so.6: undefined symbol: _ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE, version GLIBCXX_3.4
after doing a little research i got to this command:

ldd -r /usr/lib64/libstdc++.so.6 output:

Code:

undefined symbol: _ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE, version GLIBCXX_3.4 (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE2idE, version GLIBCXX_3.4 (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt8numpunctIcE2idE, version GLIBCXX_3.4    (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt7num_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE2idE, version GLIBCXX_3.4 (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE2idE, version GLIBCXX_3.4 (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt8numpunctIwE2idE, version GLIBCXX_3.4    (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt7collateIcE2idE, version GLIBCXX_3.4    (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt7collateIwE2idE, version GLIBCXX_3.4    (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt11__timepunctIcE2idE, version GLIBCXX_3.4        (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt8time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE, version GLIBCXX_3.4        (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt8time_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE2idE, version GLIBCXX_3.4        (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt11__timepunctIwE2idE, version GLIBCXX_3.4        (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt8time_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE2idE, version GLIBCXX_3.4        (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt8time_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE2idE, version GLIBCXX_3.4        (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt9money_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE, version GLIBCXX_3.4      (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt9money_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE2idE, version GLIBCXX_3.4      (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt10moneypunctIcLb0EE2idE, version GLIBCXX_3.4    (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt10moneypunctIcLb1EE2idE, version GLIBCXX_3.4    (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt9money_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE2idE, version GLIBCXX_3.4      (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt9money_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE2idE, version GLIBCXX_3.4      (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt10moneypunctIwLb0EE2idE, version GLIBCXX_3.4    (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt10moneypunctIwLb1EE2idE, version GLIBCXX_3.4    (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt8messagesIcE2idE, version GLIBCXX_3.4    (/usr/lib64/libstdc++.so.6)
undefined symbol: _ZNSt8messagesIwE2idE, version GLIBCXX_3.4    (/usr/lib64/libstdc++.so.6)
        linux-vdso.so.1 =>  (0x00007fffa85fe000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fd59fe9a000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fd59fb41000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fd5a0435000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fd59f928000)


rpm -qa | grep libstdc++

Code:

libstdc++45-4.5.0_20100604-1.12
libstdc++45-devel-4.5.0_20100604-1.12


thanks in advanced.


Nir.

MensaWater 11-01-2010 03:20 PM

It may be what you need is in one of the compatibility libraries.

Check to see if you have
compat-libstdc++-296... and/or compat-libstdc++-33...
If not installing one of those might help as they provide compatibility libraries used by older programs.

niiiro 11-01-2010 03:54 PM

thanks for your reply MensaWater.

I just installed compat-libstdc++-5.0.7-86.x86_64.rpm and seems like it didn't help.

still getting the same errors..

colucix 11-01-2010 04:09 PM

This appears to be a bug of the zypper update process (have you updated it recently)? The bug is open at bugzilla.novell.com but someone reported a workaround in the opensuse forum, basically by downgrading to the previous version of libstdc++. Look at the last post of page 2 (currently post #17) of this thread and see if it applies to your issue.

niiiro 11-02-2010 03:08 AM

I'll try the downgrade option and let you know..

thanks!


Nir.

niiiro 11-02-2010 06:18 AM

it's working!


many thanks guys!!

colucix 11-02-2010 07:12 AM

Glad to hear that! You're welcome! You may follow the bug report to see if they find a solution and eventually release a working update. Cheers! :)


All times are GMT -5. The time now is 11:02 AM.