Linux install trouble

Help
2008-10-27
2013-04-22
  • Steve Feldman
    Steve Feldman
    2008-10-27

    Linux (RH), GCC.  Was getting link error (couldn't resolve ldclose etc) and added "-ldl" to linker flags.  Now, I get "/usr/lib/libstdc++.so.6: version "GLIBCSXX_3_4_9' not found (required by /usr/local/lib/libcppunit-1.12.so.1)"

    What have I got wrong here?

    TIA,

    Steve

     
    • Niels Dekker
      Niels Dekker
      2008-11-01

      Steve Feldman wrote:
      > Linux (RH), GCC. Was getting link error (couldn't resolve
      > ldclose etc) and added "-ldl" to linker flags. Now, I
      > get "/usr/lib/libstdc++.so.6: version "GLIBCSXX_3_4_9' not
      > found (required by /usr/local/lib/libcppunit-1.12.so.1)"

      Actually I haven't got a clue, but the following links might be helpful:

      "[CentOS] Need GLIBCXX-3.4.9 for /usr/lib64/libstdc++"
      http://lists.centos.org/pipermail/centos/2008-June/058765.html

      "GLIBCXX - Selectively picking up the version"
      Newsgroup: comp.lang.c (September 2007)
      http://groups.google.com/group/comp.lang.c/browse_frm/thread/c2c3601ae79ce05d

      HTH, Niels