LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-15-2007, 05:17 AM   #1
Mini Singh
LQ Newbie
 
Registered: May 2007
Posts: 5

Rep: Reputation: 0
How to copy Symbolic link from linux to Windows


Hello Friends
I had built a library on Linux.
Now i want to copy the lib folder containing symbolic links to windows.
but when i copied those to windows each link is getting exactly the same memory as the original one.
For Example:
On Linux
lrwxrwxrwx 1 msingh named 18 Mar 14 16:58 libicudata.so -> libicudata.so.
36.0
lrwxrwxrwx 1 msingh named 18 Mar 14 16:58 libicudata.so.36 -> libicudata.
so.36.0
-rw-r--r-- 1 msingh named 10153924 Mar 14 16:58 libicudata.so.36.0

On Windows
-rwx------+ 1 msingh ???????? 10153924 Mar 14 16:58 libicudata.so
-rwx------+ 1 msingh ???????? 10153924 Mar 14 16:58 libicudata.so.36
-rwx------+ 1 msingh ???????? 10153924 Mar 14 16:58 libicudata.so.36.0

How can i rectify this problem.
 
Old 05-15-2007, 05:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
symbolic links don't exist on windows. not possible.

sorry about the problems you seem to have had posting. our spam software seems to be running amok...
 
Old 05-15-2007, 05:49 AM   #3
Mini Singh
LQ Newbie
 
Registered: May 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Hii
Yes I am aware of the fact that symbolic links doesn't exist on windows.
But there should be some way to copy it to windows or some alternative for it.
Because i need to have those links on windows
 
Old 05-15-2007, 07:24 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well that is the alternative, a copy of the original file..
 
Old 05-15-2007, 07:35 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I am unclear on the objective here....
Do you want a link to a file on a Linux partition? If Windows is not set up to read the Linux partition, then I'm not sure how a link would be useful.
Please describe the setup you want to have and what you want to be able to do.

Side comment: What is a Windows shortcut--is it not a form of symbolic link?
 
Old 05-15-2007, 08:10 AM   #6
Mini Singh
LQ Newbie
 
Registered: May 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Actually I have to distribute these libraries which i have built on linux as third party.

So i need to copy these links to windows but there they are not behaving as links.

I had built icu library(IBM) on all platforms like WINNT,WIN8664,LX8664,LX86,AIX etc.

Now i need the lib folders of all of them in windows to distribute them.

Thanks
 
Old 05-15-2007, 08:32 AM   #7
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
tar 'em, then gzip 'em. When you do this, I *think* the links will go along.
 
Old 05-15-2007, 08:33 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I'm still not getting it. Is this a set of folder and files with internal links? More generally, why are the links necessary?

And why not distribute them from Linux?
 
Old 05-15-2007, 10:06 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well i guess it's just that symlinks between objects exist under linux and that needs to be preserved... but yeah as above, tar it up of whatever. i was getting the impression this was some sort of port attempt...

and yeah a symlink is *like* a shotrcut, but i think a shortcut is just a real file that windows interprets based on crude file extensions and such. you can't (i don't think) actually "run" a shortcut like you could a symlink. you can double click it to fire an app up, but that's not the same.
 
Old 05-15-2007, 10:12 AM   #10
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
I think that shortcutting to library won't work in Windows. When you try to access it, you'll access the shortcut file not the library.
 
Old 05-15-2007, 02:47 PM   #11
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by acid_kewpie
well i guess it's just that symlinks between objects exist under linux and that needs to be preserved... but yeah as above, tar it up of whatever. i was getting the impression this was some sort of port attempt...

and yeah a symlink is *like* a shotrcut, but i think a shortcut is just a real file that windows interprets based on crude file extensions and such. you can't (i don't think) actually "run" a shortcut like you could a symlink. you can double click it to fire an app up, but that's not the same.
Symlinks are a lot more versatile than shortcuts. Actually, symlinks are the biggest thing that sets *nix apart from windows, when considered from a functional standpoint. There is no equivalent of a symlink in Windows.

Shortcuts are substantially similar to KDE desktop icons, in that you can indeed run a program from a shortcut, or open a file (which is merely running a program, when you get down to it). Shortcuts have all the limitations of a KDE desktop icon - which makes sense because the purpose is similar.
 
Old 05-15-2007, 03:18 PM   #12
hand of fate
Member
 
Registered: Nov 2003
Distribution: Mandriva
Posts: 441

Rep: Reputation: 31
Quote:
Originally Posted by acid_kewpie
symbolic links don't exist on windows. not possible.
Check that!

If you run an interent search for "Windows symbolic links" you will find quite a lot of sites stating that symbolic links do exist on Windows, and even how to use them.
 
Old 05-15-2007, 04:04 PM   #13
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by hand of fate
Check that!

If you run an interent search for "Windows symbolic links" you will find quite a lot of sites stating that symbolic links do exist on Windows, and even how to use them.
Well, you learn something new every day!

Actually having read through a couple of these articles, I think it would be more appropriate to say that Microsoft has built a basic capability to support symbolic and hard links into NTFS, but has not built that capability out. However some enterprising developers have taken advantage of the filesystem capability to build their own third-party tools to manage links.

The upshot is that you apparently can have symlinks with Windows, but with significant restrictions, cross-utility incompatibility, and a certain amount of peril.

Better than nothing, I suppose. Maybe.

http://shell-shocked.org/article.php?id=284

Last edited by jiml8; 05-15-2007 at 04:13 PM.
 
Old 05-15-2007, 05:19 PM   #14
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
There are a lot of things which were supposed to be but weren't fully finished. I have read in some asm forum about projects to disasm ntoskrnl.exe and other libs, patch them and make faster (poster mentioned that increase in some functions was around 50% (it was clearly seen in his 64 bit system)).
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy Symbolic links from linux to windows Mini Singh Linux - General 2 08-30-2007 12:55 AM
Does windows XP have something like symbolic link? hkl8324 General 4 06-27-2005 10:08 PM
Copy Symbolic Link subaruwrx Linux - Newbie 1 11-01-2004 04:45 AM
Copy symbolic Link? mikeshn Linux - General 1 10-11-2003 06:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:38 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
Open Source Consulting | Domain Registration