LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-17-2009, 01:34 PM   #1
chrislabricole
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Rep: Reputation: 0
How to make a symbolic link ?


Hi all,

Since around one week, I'm trying to execute a MTA server (GTA San Andreas...).
But, when I execute it, I get those errors :
Quote:
Originally Posted by SSH
[root@#### mtaserver]# ./mta_server
./mta_server: /usr/lib/libstdc++.so.6: no version information available (required by ./mta_server)
./mta_server: /usr/lib/libstdc++.so.6: no version information available (required by ./mta_server)
./mta_server: relocation error: ./mta_server: undefined symbol: _ZN11xercesc_2_76XMLUni22fgXercescDefaultLocaleE
And, if I send the command "ldconfig", I get this :
Quote:
Originally Posted by SSH
[root@#### mtaserver]# ldconfig ./mta_server
ldconfig: /lib/libstdc++-libc6.2-2.so.3 is not a symbolic link

ldconfig: /usr/local/lib/libstdc++-libc6.2-2.so.3 is not a symbolic link
What it's this symbolic link ??
How to make it ?

Thanks by advance,
Regards.
 
Old 01-17-2009, 02:49 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
As is typical with library modules libstdc could be installed as one of several versions. Typically only one version is installed and the other possible versions are represented as a symbolic link to the installed version. A symbolic link is another name pointing to the installed module. For example I have /usr/lib/libstdc++.so.6.0.10 installed. I also have /usr/liblibstdc++.so.6 as a symbolic link pointing to /usr/lib/libstdc++.so.6.0.10 so you can access libstdc++ under either name.

In your first error you need to look at the files in /usr/lib and check on the name /usr/lib/libstdc++.so.6. It probably should be a symbolic link to some existing file with a 6.x.x release number. If that guess is correct then you can make /usr/lib/libstdc++.so.6 a symbolic link to the correct module with this command entered as root:

ln -s /usr/lib/libstdc++.so.6.x.x /usr/lib/libstdc++.so.6

You have a similar problem in /usr/local/lib in that libc6.2-2.so.3 is probably missing or linking to the wrong file.

Once you get the symbolic links straightened away then you will have to run the ldconfig program:

ldconfig

in order to update the load library list. ldconfig is also issued at boot and it is issued by any package install that updates the shared libraries.

--------------------------
Steve Stites

P.S. This problem sounds like you have installed some packages and the installs got screwed up. If so you could possible fix the problem by uninstalling the messed up installs and reinstalling them again.

Last edited by jailbait; 01-17-2009 at 02:52 PM.
 
Old 01-18-2009, 03:54 AM   #3
chrislabricole
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks ! it's better !

But, always some errors...
When I send the command ldconfig, I get anything !

If I'm trying to execute the server, I get those errors :
Quote:
Originally Posted by SSH
[root@#### mtaserver]# ./mta_server
./mta_server: /lib/libstdc++.so.6: no version information available (required by ./mta_server)
./mta_server: /lib/libstdc++.so.6: no version information available (required by ./mta_server)
./mta_server: relocation error: ./mta_server: undefined symbol: _ZN11xercesc_2_76XMLUni22fgXercescDefaultLocaleE
And, if I'm trying to send the ldd command, I get this :
Quote:
Originally Posted by SSH
./mta_server: /lib/libstdc++.so.6: no version information available (required by ./mta_server)
libdl.so.2 => /lib/libdl.so.2 (0xb7efa000)
libxerces-c.so.27 => /usr/lib/libxerces-c.so.27 (0xb7a3f000)
libncurses.so.5 => /usr/lib/libncurses.so.5 (0xb79fd000)
libstdc++.so.6 => /lib/libstdc++.so.6 (0xb79bb000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb79b3000)
libc.so.6 => /lib/libc.so.6 (0xb7886000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7870000)
libm.so.6 => /lib/libm.so.6 (0xb784e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7f04000)
What's the problem ?

Thanks for your helping !
 
Old 01-20-2009, 12:12 PM   #4
chrislabricole
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Please help me
 
Old 01-29-2009, 06:20 AM   #5
chrislabricole
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
I still didn't the answer
 
Old 01-29-2009, 06:44 AM   #6
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
The guy above already answered the question, but I'll rephrase it incase there's a language problem... And boost my post count!

Quote:
Originally Posted by chrislabricole View Post
What it's this symbolic link ??
How to make it ?

Thanks by advance,
Regards.
A symbolic like is like a shortcut except that it's more 'real-time'. It allows you to make a directory appear that really is just a link to a directory somewhere else on the partition.

You can make a symlink with the 'ln -s <existing file/dir> <symbolic link name>' command
 
  


Reply



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
How to make a symbolic link permanent royeo Linux - Software 1 10-06-2006 12:47 PM
cannot make symbolic link dave`2005 Debian 3 10-08-2005 10:15 AM
Is it possible to make a dir a symbolic link? dr_zayus69 Linux - General 4 03-09-2005 08:48 AM
Make symbolic link or alias gubak Linux - Newbie 5 08-20-2004 12:50 PM
How to make symbolic link? Tommi Linux - General 9 05-07-2003 08:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:28 PM.

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
Open Source Consulting | Domain Registration