Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Has totally messed up my system. I subbed 1.58 for 1.55 etc...
So now synaptic and nautilus dont run from terminal
Code:
root@scott-P5QC:/home/scott# synaptic
synaptic: error while loading shared libraries: libboost_system.so.1.58.0: cannot open shared object file: No such file or directory
root@scott-P5QC:/home/scott# nautilus
nautilus: error while loading shared libraries: libboost_system.so.1.58.0: cannot open shared object file: No such file or directory
root@scott-P5QC:/home/scott# gqrx
gqrx: error while loading shared libraries: libboost_system.so.1.58.0: cannot open shared object file: No such file or directory
I got the symlink names by running this
root@scott-P5QC:/home/scott# ls -lR /usr/lib/x86_64-linux-gnu/ | grep ^l
but be sure to NOT remove the original file, just the link itself. You cannot restore deleted file(s) and also you may make your system unusable (in case you removed a system library)
but be sure to NOT remove the original file, just the link itself. You cannot restore deleted file(s) and also you may make your system unusable (in case you removed a system library)
root@scott-P5QC:/home/scott# sudo rm -i /usr/lib/x86_64-linux-gnu/libboost_system.so.1.46.1
rm: remove symbolic link '/usr/lib/x86_64-linux-gnu/libboost_system.so.1.46.1'? y
root@scott-P5QC:/home/scott# sudo rm -i /usr/lib/x86_64-linux-gnu/libboost_system.so.1.54.1
rm: remove symbolic link '/usr/lib/x86_64-linux-gnu/libboost_system.so.1.54.1'? y
root@scott-P5QC:/home/scott# nautilus
nautilus: error while loading shared libraries: libboost_system.so.1.58.0: cannot open shared object file: No such file or directory
root@scott-P5QC:/home/scott#
I think I managed to remove the links but programs are not starting
scott@scott-P5QC:~$ firefox
XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so:
libboost_system.so.1.58.0: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
scott@scott-P5QC:~$
I am really really stuck now.
I went away to work on the yard, came back and Ubuntu had turned off the monitor, like it always does.
But I could not wake it back up. So I had to force power off and on, then grub loads. Select Ubuntu and it loads for a while then flashes a console with clearing inodes and black-grey screen over and over and over.
Since I dual boot win7, I am posting from that OS now.
I figure libboost1.58 is deeply involved with many aspects of the linux os.
I think the easiest thing is reinstall the linux OS partition, unless you know of an easier way to repair this?
Last edited by sdowney717; 06-13-2016 at 11:54 AM.
http://www.ubuntu.com/download/desktop
You know what?
Click the download link, and it does not tell you whether your getting 32 bit or 64 bit.
It just starts downloading 4gb of data.
Only way I see is do the bit torrent to select 32 or 64 bit, any ideas?
boost is a C++ libraries package, it's not involved in running your system at all...
You shutdown'ed your computer brutally so that's why it was checking filesystem on next boot.
Your ubunty install is probably still fine, just be patient and let it boot
boost is a C++ libraries package, it's not involved in running your system at all...
You shutdown'ed your computer brutally so that's why it was checking filesystem on next boot.
Your ubunty install is probably still fine, just be patient and let it boot
Never put it past Ubuntu to get C++ involved in booting. In a Ubuntu 16.04 VM, I just tried removing /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0, and the machine refuses to boot. It does an fsck of the root filesystem a couple of times, then just sits there with a black screen.
I stand corrected
Wow I would never have thought that boost would be a mandatory component for a gnu/linux operating system
Wait.. Ubuntu boots in runlevel 4 by default? Maybe it has to do with the Xsession display manager (kdm, gdm)?
That's probably it. It took me a while to figure out how to get to a GRUB prompt in a VM (I had to type a character while holding down <SHIFT>), but once I did, I was able to boot in rescue mode and get to a root shell.
Trying to replace that missing file from that rescue environment is going to present a bit of a challenge, though.
I would try to boot in runlevel 3 from grub, then log in and hopefully find all is working but X
Then use whatever ubuntu package manager tool to reinstall that boost package
Hi, I reinstalled the OS.
The ubiquity installer partially failed, none of my previously installed packages could be reinstalled. That is a lot of messages to watch flash by as failed. I really thought it would boot a dead system.
Complaint was 'you have held broken packages'. So I walked away to let it finish complaining.
Came back, rebooted drive, and it loaded the OS ok, with none of my previously installed packages. So spent some time manually installing and that works.
I use gnome, so of course it boots unity.
The installer option of just reinstalling 16.04 and all my packages, which is what I chose. I have my users in a separate partition and it handled that ok.
Last edited by sdowney717; 06-14-2016 at 06:32 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.