Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with libstdc++.so in postinst of mBlock_4.0.4_i386.deb #82

Open
i-eperez opened this issue Feb 13, 2018 · 0 comments
Open

Problem with libstdc++.so in postinst of mBlock_4.0.4_i386.deb #82

i-eperez opened this issue Feb 13, 2018 · 0 comments

Comments

@i-eperez
Copy link

Installing mblock in a debian 9 (stretch) 32bits.
After installing mblock I fail applications that use the library. For example libreoffice.

These are the versions of the libraries installed on my system.

dpkg -l| grep libstdc++
ii  libstdc++-7-dev:i386  7.2.0-1
ii  libstdc++6:i386  7.2.0-1 

I found that mblock modifies the library in the postinst of the package.

/var/lib/dpkg/info/ideservice.postinst (mBlock)

if [ -f /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21 ] 
then
    echo 'is exist,no done';
else
    sudo rm -rf /usr/lib/i386-linux-gnu/libstdc++.so.6;
    sudo cp /opt/makeblock/libstdc++.so.6.0.21 /usr/lib/i386-linux-gnu/;
    sudo ln -s /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21 /usr/lib/i386-linux-gnu/libstdc++.so.6;
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant