LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 03-28-2011, 06:51 AM   #1
jerem02
LQ Newbie
 
Registered: Mar 2011
Posts: 12

Rep: Reputation: 0
ldconfig : /usr/lib/libstdc++.so.6 is not a symbolic link + mysql


Hi everybody,

I have emdebian installed on mini2440 board and I would like to install mysql (server + client). The problem is when I want to install mysql client I got the following at the end of the installation and command "mysql" is not found:

Code:
ldconfig : /usr/lib/libstdc++.so.6 is not a symbolic link
and I get the same if I do in the shell:
Code:
ldconfig
My question is to know, how to fix it ? Can I remove libstdc++ first then re-install it ?

Thank you very much
 
Old 03-28-2011, 07:55 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,263

Rep: Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660
Libraries have an inbuilt information about "real name" and "so name".

Real name for libstdc++ can be e.g. libstdc++.so.6.0.12 .
The 'so name' libstdc++.so.6 is meant to be a symbolic link.
When it isn't, you will get a warning = an 'information message' from ld.
Not really an error, you have the option to leave it as it is.
 
Old 03-28-2011, 08:43 AM   #3
jerem02
LQ Newbie
 
Registered: Mar 2011
Posts: 12

Original Poster
Rep: Reputation: 0
Hi knudfl !

Thank you but the command mysql is not found. Do you have an idea ?
 
Old 03-28-2011, 08:59 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,263

Rep: Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660
Well, the Debian online "Search" for bin/mysql replies /usr/bin/mysql mysql-client-5.1
http://packages.debian.org/search?se...ds=bin%2Fmysql

May be there is an error in the emdebian mysql-client** package ?

If the package depends on itself, the option '--force-all' can be used.
( # dpkg -i --force-all <package> ).

.
 
Old 03-29-2011, 11:54 AM   #5
jerem02
LQ Newbie
 
Registered: Mar 2011
Posts: 12

Original Poster
Rep: Reputation: 0
ok I will try this evening

Another question, is it possible to uninstall libstdc++ package and install again ? When I did this :

Code:
apt-get remove libstdc++6
I get :

Code:
The following packages will be removed:
A lot of packages is list here
...
You are potentially do something harmful
To continue type "Yes, Do as I say!
Is it possible to uninstall in this way and then do

Code:
apt-get install libstdc++6
I feel that the libstdc++6 file is wrong

thank you again !
 
Old 03-29-2011, 12:40 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,263

Rep: Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660
No, you don't have to uninstall a package, when you want it reinstalled.


apt-get install --force-reinstall true libstdc++6

I.e. the option "--force-reinstall true" will do the trick.
 
  


Reply


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
ldconfig deletes the link that I create using ln -s in /usr/lib harsiwala Linux - Newbie 1 11-09-2009 04:24 PM
Slackware current - ldconfig: /usr/lib/libsmbclient.so.0 is not a symbolic link Woodsman Slackware 5 10-14-2008 08:58 PM
ldconfig /usr/local/lib/ is not a symbolic link gbowden Slackware 3 05-21-2006 09:15 PM
/sbin/ldconfig: /usr/lib/libgtkhtml-3.0.so.2 is not a symbolic link rosariowong Slackware 13 04-29-2005 04:41 PM
IdConfig: /usr/lib/.... is not a symbolic link. _tomMmy_ Linux - Software 0 08-23-2004 08:12 AM


All times are GMT -5. The time now is 02:45 AM.

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