编译的应用程序上未找到“版本‘GLIBCXX_3.4.20’”

编译的应用程序上未找到“版本‘GLIBCXX_3.4.20’”

使用以下方式构建我的应用程序后vamp-plugins

kokos@kokos-Latitude-E6230:~/repo/pitchtracker/pitchtracker$ ./vamp-simple-host -l

出现以下错误:

./vamp-simple-host: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./vamp-simple-host)
./vamp-simple-host: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./vamp-simple-host)

我尝试了以下方法:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test

sudo apt-get update还有upgradedist-upgrade

export LD_LIBRARY_PATH=${prefix}/lib:$LD_LIBRARY_PATH

和这个:

mv -vf libstdc++.so.6 libstdc++.so.6.old
ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 ./libstdc++.so.6

导致严重系统错误

apt-cache policy libstdc++6 的输出:

libstdc++6:
  Zainstalowana: 7.1.0-5ubuntu2~14.04
  Kandydująca:   7.1.0-5ubuntu2~14.04
  Tabela wersji:
 *** 7.1.0-5ubuntu2~14.04 0
        100 /var/lib/dpkg/status
     4.8.4-2ubuntu1~14.04.3 0
        500 http://pl.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
     4.8.2-19ubuntu1 0
        500 http://pl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

我已经通过从其官方网站下载的源代码进行编译获得了 vamp-plugins:

./configure
make 
sudo make install

相关内容