Results 1 to 9 of 9

Thread: Relocation Error

  1. #1
    shambler80 NNTP User

    Default Relocation Error

    Hi,

    I'm using openSUSE 10.3 . After installing lsof-4.78-11.i586.rpm and yast2-tftp-server-2.14.0-105.noarch.rpm using YaST's Software Managment, some of YaST's features stopped working - for example, the Software Managment itself. When I try to start it, I get an Xmessage window with the following text:

    Code:
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2wfm.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2wfm.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2scr.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2scr.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2UI.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2UI.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libscr.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libscr.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycp.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycp.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycp.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycpvalues.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycpvalues.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycpvalues.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libblocxx.so.4)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libblocxx.so.4)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libblocxx.so.4)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2util.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2util.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2util.so.3)
    /usr/lib/YaST2/plugin/libpy2qt.so.2: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2qt.so.2)
    /usr/lib/YaST2/plugin/libpy2qt.so.2: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2qt.so.2)
    /usr/lib/YaST2/plugin/libpy2qt.so.2: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2qt.so.2)
    /usr/lib/YaST2/plugin/libpy2qt.so.2: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2UI.so.2)
    /usr/lib/YaST2/plugin/libpy2qt.so.2: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2UI.so.2)
    /usr/lib/YaST2/plugin/libpy2qt.so.2: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/qt3/lib/libqt-mt.so.3)
    /usr/lib/YaST2/plugin/libpy2qt.so.2: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/qt3/lib/libqt-mt.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2wfm.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2wfm.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2scr.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2scr.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2UI.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2UI.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libscr.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libscr.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycp.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycp.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycp.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycpvalues.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycpvalues.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycpvalues.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libblocxx.so.4)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libblocxx.so.4)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libblocxx.so.4)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2util.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2util.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2util.so.3)
    /usr/lib/YaST2/bin/y2base: relocation error: /usr/lib/liby2.so.2: symbol _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_i, version GLIBCXX_3.4.9 not defined in file libstdc++.so.6 with link time reference
    Some applications (such as kate) work fine but emit a few dozen "no version information available" lines.

    I tried uninstalling the a.m. packages, I tried reinstalling libstdc++, I tried restarting, I even tried creating a new user - to no avail.

    Can anyone help please?

    Thanks
    Jonathan Avraham

  2. #2

    Default Re: Relocation Error

    I've just come across the exact same problem. It happened to me after I installed ncurses-devel using yast.

    Did you ever get anywhere with this?

    Thanks,

  3. #3
    Join Date
    Sep 2008
    Location
    Bangalore, India
    Posts
    70

    Default Re: Relocation Error

    Can you guys paste the O/P of the following commands?
    Code:
    ldconfig -p |grep libstdc++
    cat /etc/ld.so.conf
    - Thejaswi Raya

  4. #4

    Default Re: Relocation Error

    Can you guys paste the O/P of the following commands?

    ldconfig -p |grep libstdc++
    cat /etc/ld.so.conf
    I get:
    Code:
    #ldconfig -p | grep libstdc++
    	libstdc++.so.6 (libc6) => /usr/local/lib/libstdc++.so.6
    	libstdc++.so.6 (libc6) => /usr/lib/libstdc++.so.6
    	libstdc++.so (libc6) => /usr/local/lib/libstdc++.so
    
    # cat /etc/ld.so.conf
    /usr/X11R6/lib/Xaw3d
    /usr/X11R6/lib
    /usr/lib/Xaw3d
    /usr/i386-suse-linux/lib
    /usr/local/lib
    /opt/kde3/lib
    include /etc/ld.so.conf.d/*.conf

  5. #5

    Default Re: Relocation Error

    It just occurred to me the next question might be is there anything in /etc/ld.so.conf.d/.
    There isn't.
    Thanks,

  6. #6
    shambler80 NNTP User

    Default Re: Relocation Error

    Quote Originally Posted by andyborrell View Post
    I've just come across the exact same problem. It happened to me after I installed ncurses-devel using yast.

    Did you ever get anywhere with this?

    Thanks,
    Unfortunately I ended up reinstalling the OpenSUSE on that computer from scratch.

    Sorry I couldn't help...

  7. #7
    Join Date
    Sep 2008
    Location
    Bangalore, India
    Posts
    70

    Default Re: Relocation Error

    No worries shambler80.
    andyborrell, my next bit of instruction would be to add /usr/lib at the start of /etc/ld.so.conf.
    So it should look like
    Code:
    cat /etc/ld.so.conf
    /usr/lib
    /usr/X11R6/lib/Xaw3d
    /usr/X11R6/lib
    /usr/lib/Xaw3d
    /usr/i386-suse-linux/lib
    /usr/local/lib
    /opt/kde3/lib
    include /etc/ld.so.conf.d/*.conf
    Now check if that fixes your problem.

  8. #8

    Default Re: Relocation Error

    No that didn't change anything, just in case its important this is the exact output I get when running yast from the command line, its not precisely the same as what shambler80 was getting,

    Code:
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2wfm.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2wfm.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2scr.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2scr.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libscr.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libscr.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycp.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycp.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycp.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycpvalues.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycpvalues.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycpvalues.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2util.so.4)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2util.so.4)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2util.so.4)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libblocxx.so.6)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libblocxx.so.6)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libblocxx.so.6)
    /usr/lib/YaST2/plugin/libpy2ncurses.so.2: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2ncurses.so.2)
    /usr/lib/YaST2/plugin/libpy2ncurses.so.2: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2ncurses.so.2)
    /usr/lib/YaST2/plugin/libpy2ncurses.so.2: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2ncurses.so.2)
    /usr/lib/YaST2/plugin/libpy2ncurses.so.2: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libyui.so.3)
    /usr/lib/YaST2/plugin/libpy2ncurses.so.2: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libyui.so.3)
    /usr/lib/YaST2/plugin/libpy2ncurses.so.2: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libyui.so.3)
    /usr/lib/YaST2/plugin/libpy2ncurses.so.2: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libyui.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2wfm.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2wfm.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2scr.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/YaST2/plugin/libpy2scr.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libscr.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libscr.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycp.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycp.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycp.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2.so.2)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycpvalues.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycpvalues.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libycpvalues.so.3)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2util.so.4)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2util.so.4)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/liby2util.so.4)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libblocxx.so.6)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libblocxx.so.6)
    /usr/lib/YaST2/bin/y2base: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libblocxx.so.6)
    /usr/lib/YaST2/bin/y2base: relocation error: /usr/lib/liby2.so.2: symbol _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_i, version GLIBCXX_3.4.9 not defined in file libstdc++.so.6 with link time reference

  9. #9

    Default Re: Relocation Error

    Just to let you know, I managed to fix this.
    It turns the loader was taking libstdc++.so.6 from /usr/local/lib rather than /usr/lib. The one in /usr/local/lib was put there when I installed gcc 3.4 which I needed for building an old project which doesn't work with gcc 4.x.

    I fixed the problem by taking /usr/local/lib out of ld.so.conf, and then running ldconfig (this caught me out for quite a while, and is the reason nothing appeared to change when I tried your suggestion thejaswihr).

    The project I installed gcc3.4 for seems to run quite happily with the /usr/lib version of libstdc++. Its still .6 but a later rev number (6.0.10 instead of 6.0.0), so it ought to be fine.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •