linux: can't create a link [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 4 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I faced to next trouble when I try create a link
sudo ln /usr/lib/x86_64-linux-gnu/libpthread_nonshared.a /usr/lib64/libpthread_nonshared.a
I get: '/usr/lib/x86_64-linux-gnu/libpthread_nonshared.a' not such file or directory. Despite locate return exactly same result:
locate libpthread_nonshared.a
/usr/lib/x86_64-linux-gnu/libpthread_nonshared.a

The destination likely doesn't exist. Either create /usr/lib64 then link. Another option is to just symbolically link the entire directory.
sudo ln -s /usr/lib/x86_64-linux-gnu /usr/lib64
Ubuntu uses the path x86_64-linux-gnu, while many other distros use the lib64 path. I'm guessing you are installing/using something that is only looking for /usr/lib64/*

Related

ksh: cannot execute a compiled c library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I downloaded
http://stedolan.github.io/jq/
Linux 64 bit copy
and ftp to AIX server 64 bit.
$ chmod 777 jq
$ ./jq
ksh: ./jq: cannot execute
Does any one know what the problem is ?
I will be compiling the source files,
as Linux 64-bit binary is for the x86_64/amd64 architecture, while there's a significant chance that AIX system might be a POWER architecture .

Find location of .csr file [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I need to find the location of an existing csr file on my linux server, but I'm not sure where it's stored.
What's the best way to find this out?
If you have locate installed (it is part of GNU Findutils, may be included in your installation) then you can simply do:
locate myfile.csr
Otherwise you may have to search the whole filesystem with find:
find / -name "myfile.csr"
If you have some idea of where it might be (eg under a certain home dir or something) then you can specify that directory in place of the /.

How to create a link with an absolute path in Linux? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
By using "ln -s a b", it creates a soft-link from b to a with a relative path. If 'b' is moved to another directory, it would get broken.
Is there any way so I can create an link with an absolute path?
Simply use the full path to the link target:
ln -s /full/path/to/a b

Ubuntu symbolic link going to source location when up folder [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
The problem is the following - I`ve created a symbolic link to a folder /home/user1/folder1 in /home/user2/. When user2 follows this link, he comes to the /home/user1/folder1, but when he goes up folder he comes to /home/user1/ not /home/user2/. Is it possible to change this behavior?
Thanks. Solved by mount --bind

When I type `route -n` into the Mac terminal, why doesn't it show a routing table? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I read in "TCP/IP Network Administration" by O'Reilly, 2002, that typing the route -n command should bring up a routing table.
When I typed it into the terminal on a Mac, it returned the following:
usage: route [-dnqtv] command [[modifiers] args]
What is the correct command to use to see the routing table in my terminal?
On Mac OS X you can use netstat(1). In your case, netstat -nr, probably.

Resources