ksh: cannot execute a compiled c library [closed] - linux

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 .

Related

linux: can't create a link [closed]

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/*

Find out the number of CPU cores used by a linux job [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 7 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
How can I find out how many CPU cores is a job running on a Linux system using?
Is it somehow through the top command?
you can use ps -aF or I am guessing you are referring to htop which is a graphical tool.

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 /.

Where is sys/stat.h located in Linux (Ubuntu 12.04)? [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
I am using Ubuntu 12.04, and I used to see #include , I want to see the implementation code of sys/stat.h. But I don not know where it is. By the way, I can not find it in /usr/include directory.
on my machine there are
/usr/include/x86_64-linux-gnu/sys/stat.h
/usr/lib/syslinux/com32/include/sys/stat.h
I think the first one is what you are looking for? it comes with gnu gcc I think

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