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

Bug#629930: libstdc++6: 4.6.0-12 breaks something in /lib64/*



I got some hints, from gooling and finally, this is what I find

paivakil@nandini:~$ strings /usr/lib64/libstdc++.so.6 |grep LIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBC_2.2.5
GLIBC_2.3
GLIBC_2.3.2
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH


paivakil@nandini:~$ dpkg -l libstdc++6* |grep ii
ii  libstdc++6                               4.6.0-10                            The GNU Standard C++ Library v3
ii  libstdc++6-4.4-dev                       4.4.6-6                             GNU Standard C++ Library v3 (development files)
ii  libstdc++6-4.5-dev                       4.5.3-3                             The GNU Standard C++ Library v3 (development files)
ii  libstdc++6-4.6-dev                       4.6.0-10                            The GNU Standard C++ Library v3 (development files)


paivakil@nandini:~$ sudo aptitude upgrade
The following packages will be upgraded: 
  cpp-4.6 g++-4.6 gcc-4.6 gcc-4.6-base lib32gcc1 lib32stdc++6 libgcc1 libgfortran3 libgomp1 libquadmath0 libstdc++6 
  libstdc++6-4.6-dev 
12 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/20.4 MB of archives. After unpacking 2,154 kB will be freed.
Do you want to continue? [Y/n/?] y
Reading changelogs... Done               
(Reading database ... 151322 files and directories currently installed.)
Preparing to replace libstdc++6-4.6-dev 4.6.0-10 (using .../libstdc++6-4.6-dev_4.6.0-13_amd64.deb) ...
Unpacking replacement libstdc++6-4.6-dev ...
Preparing to replace g++-4.6 4.6.0-10 (using .../g++-4.6_4.6.0-13_amd64.deb) ...
Unpacking replacement g++-4.6 ...
Preparing to replace gcc-4.6 4.6.0-10 (using .../gcc-4.6_4.6.0-13_amd64.deb) ...
Unpacking replacement gcc-4.6 ...
Preparing to replace cpp-4.6 4.6.0-10 (using .../cpp-4.6_4.6.0-13_amd64.deb) ...
Unpacking replacement cpp-4.6 ...
Preparing to replace libgomp1 4.6.0-10 (using .../libgomp1_4.6.0-13_amd64.deb) ...
Unpacking replacement libgomp1 ...
Preparing to replace libquadmath0 4.6.0-10 (using .../libquadmath0_4.6.0-13_amd64.deb) ...
Unpacking replacement libquadmath0 ...
Preparing to replace libgfortran3 4.6.0-10 (using .../libgfortran3_4.6.0-13_amd64.deb) ...
Unpacking replacement libgfortran3 ...
Preparing to replace gcc-4.6-base 4.6.0-10 (using .../gcc-4.6-base_4.6.0-13_amd64.deb) ...
Unpacking replacement gcc-4.6-base ...
Setting up gcc-4.6-base (4.6.0-13) ...
(Reading database ... 151309 files and directories currently installed.)
Preparing to replace libgcc1 1:4.6.0-10 (using .../libgcc1_1%3a4.6.0-13_amd64.deb) ...
Unpacking replacement libgcc1 ...
Setting up libgcc1 (1:4.6.0-13) ...
(Reading database ... 151309 files and directories currently installed.)
Preparing to replace lib32stdc++6 4.6.0-10 (using .../lib32stdc++6_4.6.0-13_amd64.deb) ...
Unpacking replacement lib32stdc++6 ...
Preparing to replace lib32gcc1 1:4.6.0-10 (using .../lib32gcc1_1%3a4.6.0-13_amd64.deb) ...
Unpacking replacement lib32gcc1 ...
Preparing to replace libstdc++6 4.6.0-10 (using .../libstdc++6_4.6.0-13_amd64.deb) ...
Unpacking replacement libstdc++6 ...
Setting up libstdc++6 (4.6.0-13) ...
Setting up cpp-4.6 (4.6.0-13) ...
Setting up libgomp1 (4.6.0-13) ...
Setting up libquadmath0 (4.6.0-13) ...
Setting up gcc-4.6 (4.6.0-13) ...
Setting up libgfortran3 (4.6.0-13) ...
Setting up lib32gcc1 (1:4.6.0-13) ...
Setting up lib32stdc++6 (4.6.0-13) ...
Setting up libstdc++6-4.6-dev (4.6.0-13) ...
Setting up g++-4.6 (4.6.0-13) ...
                                         
Current status: 0 updates [-12].

paivakil@nandini:~$ strings /usr/lib64/libstdc++.so.6 |grep LIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBC_2.2.5
GLIBC_2.3
GLIBC_2.3.2
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH


Huh???

paivakil@nandini:~$ ls /usr/lib64/libstdc++.so.6* -l
lrwxrwxrwx 1 root root      19 Jun 16 20:46 /usr/lib64/libstdc++.so.6 -> libstdc++.so.6.0.13
-rw-r--r-- 1 root root 1043976 Jun 25  2010 /usr/lib64/libstdc++.so.6.0.13

Huh??

Just to confirm:-

paivakil@nandini:~$ ls /usr/lib64/libstdc++.so.6* -l
lrwxrwxrwx 1 root root      19 Jun 16 20:46 /usr/lib64/libstdc++.so.6 -> libstdc++.so.6.0.13
-rw-r--r-- 1 root root 1043976 Jun 25  2010 /usr/lib64/libstdc++.so.6.0.13
paivakil@nandini:~$ sudo aptitude -f install
aptitude: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by aptitude)
aptitude: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib64/libapt-pkg.so.4.10)
aptitude: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libsigc-2.0.so.0)
aptitude: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libxapian.so.22)

So, I  downgrade. 

And - 

paivakil@nandini:~$ ls /usr/lib64/libstdc++.so.6* -l
lrwxrwxrwx 1 root root      19 May 26 22:56 /usr/lib64/libstdc++.so.6 -> libstdc++.so.6.0.16
-rw-r--r-- 1 root root 1043976 Jun 25  2010 /usr/lib64/libstdc++.so.6.0.13
-rw-r--r-- 1 root root 1003640 May 26 23:02 /usr/lib64/libstdc++.so.6.0.16
paivakil@nandini:~$ dpkg -l libstdc++6* |grep ii
ii  libstdc++6                               4.6.0-10                            The GNU Standard C++ Library v3
ii  libstdc++6-4.4-dev                       4.4.6-6                             GNU Standard C++ Library v3 (development files)
ii  libstdc++6-4.5-dev                       4.5.3-3                             The GNU Standard C++ Library v3 (development files)
ii  libstdc++6-4.6-dev                       4.6.0-10                            The GNU Standard C++ Library v3 (development files)

Icing on the cake:-
paivakil@nandini:~$ strings /usr/lib64/libstdc++.so.6 |grep LIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBC_2.2.5
GLIBC_2.3
GLIBC_2.3.2
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH


Means, with libstdc++  -10  installed, I have 6.0.16 of the library binary; but with 
-13 installed,  I havve 6.0.13 of the library. 

How can my personal environment cause this?? 

As I said earlier, I have -13  installed on another system, and it works fine. 

I have not run `strings` on that machine. 





-- 
Mahesh T. Pai   ||
Encryption:   A   powerful  algorithmic   encoding
            technique employed  in the creation of
            computer manuals.



Reply to: