Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-30-2008, 03:13 PM   #1
LQ Newbie
Registered: Jul 2008
Location: Jedburgh, Scottish Borders
Distribution: Mint 5 Elyssa
Posts: 1

Rep: Reputation: 0
Unhappy Error while loading shared libraries : : cannot open ...

I am having problem running Kylix 2 in Mint 5 with above error.
"Error while loading shared libraries : : cannot open shared object file : No such file or directory"

This error is documented in Kylix' own Install file, and suggests using symbolic link to the C++ library which will be in /usr/lib, and have a name with pattern like libstdc++*.so. The nearest I found was, but even if I log in as Root, the suggested commands :
cd /usr/lib
ln -sf

seems to make more errors. I am lost!
Old 07-30-2008, 07:14 PM   #2
LQ Guru
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,877

Rep: Reputation: 318Reputation: 318Reputation: 318Reputation: 318
I think that after creating the link you have to do a ldconfig command as root:


ldconfig sets up the links to the shared libraries. Most distributions do a ldconfig at boot. So either do a ldconfig or reboot. Then try Kylix again. See:

man ldconfig

Steve Stites

P.S. I just checked out the -f option in ln. I am not sure what it does but I think that you should leave it out of your ln command.

Last edited by jailbait; 07-30-2008 at 07:19 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error while loading shared libraries: iNvIsIbLe HaNd Fedora 8 08-05-2015 08:52 PM
error while loading shared libraries: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
error while loading shared libraries: slackr007 Linux - Newbie 1 09-07-2006 06:08 AM
error while loading shared libraries: RH9.0 vks_agra Red Hat 3 01-21-2006 08:48 AM
error while loading shared libraries: pikiemeow Linux - Software 2 10-27-2004 08:49 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration