Re: problem with VMD installation- libstdc++.so.5 => not found

From: Jerome Henin (jhenin_at_cmm.chem.upenn.edu)
Date: Sun Apr 13 2008 - 14:59:21 CDT

Steve,
Usually distributions ship a "compatibility" libstdc++ package that
can install alongside the default version of the C++ library, without
interfering. Look for it in the standard package list.
Best,
Jerome

On Sat, Apr 12, 2008 at 11:03 PM, <steve_at_phas.ubc.ca> wrote:
> Dear NAMD users,
>
> I am using a Dell laptop running ubuntu (32 bit).
> I am having a problem where vmd closes immediately after starting it in
> graphical mode, and it also won't run in text mode. But I think I have
> tracked the problem down to the following library:
>
> % vmd -dispdev text
> /usr/local/lib/vmd/vmd_LINUX: error while loading shared libraries:
> libstdc++.so.5: cannot open shared object file: No such file or
> directory
>
> printing out the shared dependencies, I get:
>
> % ldd /usr/local/lib/vmd/vmd_LINUX
> linux-gate.so.1 => (0xffffe000)
> libGL.so.1 => /usr/lib/libGL.so.1 (0xb7eb3000)
> libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7e30000)
> libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e17000)
> libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d26000)
> libXft.so.2 => /usr/lib/libXft.so.2 (0xb7d14000)
> libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7d10000)
> libutil.so.1 => /lib/tls/i686/cmov/libutil.so.1 (0xb7d0c000)
> libstdc++.so.5 => not found
> libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7ce6000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7cdb000)
> libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7b91000)
> libXext.so.6 => /usr/lib/libXext.so.6 (0xb7b83000)
> libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb7b7e000)
> libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb7b7a000)
> libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7b75000)
> libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb7b6b000)
> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7a78000)
> /lib/ld-linux.so.2 (0xb7f23000)
> libXau.so.6 => /usr/lib/libXau.so.6 (0xb7a75000)
> libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7a6f000)
> libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7a44000)
> libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb79d4000)
> libz.so.1 => /usr/lib/libz.so.1 (0xb79bf000)
> libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb79b7000)
> libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7996000)
>
>
> So indeed the library libstdc++.so.5 is not found on my system (but
> libstdc++.so.6 is).
>
> I'm unclear as to what is the best way to proceed from here. Is there a
> way to change the configuration of the installation so that it should be
> calling libstdc++.so.6 instead of libstdc++.so.5? Or should I try to
> download and install this library?-- if I do that will there be
> incompatibilities with my newer system?... Sorry if this is trivial
> question. I hope it has a trivial answer.
>
>
> Thanks,
> Steve P.
>
>
>

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:49:22 CST