By AtonalIceDig
I’m trying to host a game server on my DO Ubuntu x64 Droplet and it needs the libstdc++6:i386 library as a prerequisite. I had no problem installing this on my local Ubuntu x64 VM or on the Ubuntu x64 VM from another known VPS host so before I waste any of my time I’d like to know if Digital Ocean blacklists some apt packages like libstdc++6:i386.
For those interested, here is the full error message:
root@ubuntu-s-2vcpu-2gb-nyc1-01:~$ sudo apt-get install libstdc++6:i386 Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package libstdc++6:i386 E: Couldn’t find any package by regex ‘libstdc++6’
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Ok, this is my fault and I fixed it but I figured I’d leave my solution here for anyone else who happens to encounter similar problems.
TL:DR You are probably missing dependencies.
The ones I needed were as follows, yours may differe:
sudo dpkg --add-architecture i386 sudo apt-get update && sudo apt-get upgrade sudo apt-get install lib32gcc1 lib32stdc++6 libcurl4-gnutls-dev:i386
Yeah, I’m still a Linux newb and learning.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.