[97131] in RedHat Linux List
ln explanation (was: Re: wine 981025 installation)
daemon@ATHENA.MIT.EDU (lconrad@world.std.com)
Sun Nov 1 07:21:53 1998
From: lconrad@world.std.com
To: josri@earthlink.net, redhat-list@redhat.com
Date: 01 Nov 1998 07:19:00 -0500
In-Reply-To: josri's message of "Sat, 31 Oct 1998 14:14:47 -0800"
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
--Multipart_Sun_Nov__1_07:19:00_1998-1
Content-Type: text/plain; charset=US-ASCII
josri <josri@earthlink.net> writes:
> There is only a file called libwine.so.1.0 and not libwine.so
> I tried "ln libwine.so.1.0 /usr/local/lib/"
> it says, File exists.
> What am I doing wrong?
Try:
cd /usr/local/lib
ln -s libwine.so.1.0 libwine.so
The ln command is tricky.
The "-s" means make a soft link rather than a hard link. This means
that "ls" will tell you that libwine.so is a link rather than the
original file. With a hard link, there is no way of telling which was
the original and which is the link.
So I am telling the filesystem to make a new name for an existing
file, but not a new copy of the file.
The next argument (libwine.so.1.0 in this example) is the existing
file that you want a new name for.
Then you tell it the new name (libwine.so in this example).
My experience is that using ln to fix shared library names doesn't
usually turn out to be the right thing to do, but good luck.
--Multipart_Sun_Nov__1_07:19:00_1998-1
Content-Type: text/plain; charset=US-ASCII
Laura (mailto:lconrad@world.std.com , http://www.world.std.com/~lconrad/ )
(617) 661-8097
233 Broadway, Cambridge, MA 02139
--Multipart_Sun_Nov__1_07:19:00_1998-1--
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.