-jailshell: d-linux-x86-64.so.2: bad ELF interpreter: No such file or directory [closed] - centos

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 1 year ago.
Improve this question
I'm trying to install an executable but it gives me the error -jailshell: d-linux-x86-64.so.2: bad ELF interpreter: No such file or directory, I have already checked if I have the glib 32-bit version with the command rpm -qf /lib/ld-linux.so.2 and rpm -qa | grep glibc | grep i686 and it seems to be ok (it prints me glibc-2.17-324.el7_9.i686).

I'm trying to install an executable but it gives me the error
This executable is corrupt.
It is trying to use d-linux-x86-64.so.2 as an interpreter, and such a file doesn't exist (nor should it exist) on your machine.
Chances are this executable was transferred over FTP in ASCII mode, or corrupted in some other way.
I have already checked if I have the glib 32-bit version
That is irrelevant: the binary you are trying to build is a 64-bit binary.
Also, there is a difference between glib and glibc.

Related

Unable to mount usb hard disk in rhel 7.1 [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
while am installing ntfs-3g rpm it shows
[root#localhost 64bit]# rpm -Uvh ntfs-3g-2011.4.12-5.el6.x86_64.rpm
warning: ntfs-3g-2011.4.12-5.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ################################# [100%]
file /usr/bin/ntfs-3g conflicts between attempted installs of ntfs-3g-2:2011.4.12-5.el6.x86_64 and ntfs-3g-2:2011.4.12-5.el6.x86_64
file /usr/bin/ntfsmount conflicts between attempted installs of
ntfs-3g-2:2011.4.12-5.el6.x86_64 and ntfs-3g-2:2011.4.12-5.el6.x86_64
while am double clicking on my hard disk it shows
Unable to access “Expansion Drive” Error mounting /dev/sdb1 at /run/media/root/Expansion Drive: Command-line `mount -t "ntfs"-o"uhelper=udisks2,nodev,nosuid,uid=0,gid=0,dmask=0077,fmask=0177" "/dev/sdb1" "/run/media/root/Expansion Drive"' exited with non-zero exit status 32: mount: unknown filesystem type 'ntfs'
Install epel repository from fedora
Download it from http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
# rpm -ivh epel-release-7-5.noarch.rpm
# yum install ntfs-3g ntfsprogs ntfsprogs-gnomevfs
Done

Not able to install DBD::pg perl module [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 8 years ago.
Improve this question
I am trying to install DBD::pg module on my linux ubuntu 12.04 machine but not able to do so. I am using download method as I am facing connectivity issues while installing it from CPAN terminal. when I run perl Makefile.PL it gives me following.
Configuring DBD::Pg 3.4.2
Path to pg_config? /vol01/local/rina/cac/softwares/pgsql
Enter a valid PostgreSQL postgres major version number 8
Enter a valid PostgreSQL postgres minor version number 8
Enter a valid PostgreSQL postgres patch version number 8
Enter a valid PostgreSQL postgres bin dir /vol01/local/rina/cac/softwares/bin
Enter a valid PostgreSQL postgres include dir /vol01/local/rina/cac/softwares/pg_inc
I have no idea what to put in the above questions still I created few directories manually and provided as above.
then it gives me this
PostgreSQL version: 80898 (default port: 5432)
POSTGRES_HOME: (not set)
POSTPGRES_INCLUDE: /vol01/local/rina/cac/softwares/pg_inc
POSTGRES_LIB: /usr/local/pgsql/lib -lssl -lcrypto
OS: linux
Multiple copies of Driver.xst found in: /usr/local/lib64/perl5/auto/DBI/ /usr/lib64/perl5/auto/DBI/ at Makefile.PL line 182
Warning: prerequisite Time::HiRes 0 not found.
Multiple copies of Driver.xst found in: /usr/local/lib64/perl5/auto/DBI/ /usr/lib64/perl5/auto/DBI/ at Makefile.PL line 285
Using DBI 1.631 (for perl 5.010001 on x86_64-linux-thread-multi) installed in /usr/local/lib64/perl5/auto/DBI/
Writing Makefile for DBD::Pg
later when I run make it gives me below error multiple times
Pg.xs:301: error: ‘imp_dbh_t’ has no member named ‘sqlstate
How can I install this module successfully? I found few similar kind of questions but could not find the solution. Please help.
Solved in the comments by Geetika:
I did it on centOS machine...I ran "yum install postgresql-devel" and then installed the module successfully...thanks a lot for your time and help... :)

How to use downloaded Net::SSH2 module in Perl? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 8 years ago.
Improve this question
I have downloaded Net-SSH2-0.43 to be able to use Net::SSH2 Perl module. But I don't know what I need to do after that, just include paths or something else. Please help.
you could use perlbrew to install Perl in your home or in any directories wo. root rights: http://perlbrew.pl/
wget -O - http://install.perlbrew.pl | bash
perlbrew install perl-5.16.0
perlbrew switch perl-5.16.0
you could call your perl from shell (scripts) like this: http://perlbrew.pl/Perlbrew-In-Shell-Scripts.html
If your servers are identical enough then you could rsync/rdist this directory to every host and you are done.

Generate a floppy image on Windows [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
So, I have compiled an ASM boot program like this :
nasm -f bin -o bootsect bootsect.asm
And now I need to run the next UNIX command to generate a floppy image from the output, but i'm using MS Windows...
cat bootsect /dev/zero | dd of=floppyA bs=512 count=2880
Does someone know how can I do the equivalent in the Windows' cmd ?
There is a port of Unix dd to the Win32 environment. Or you could use rawwrite. Both are available for download at http://www.chrysocome.net.

Upgrading Perl in Ubuntu [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Since May 14th the current version of Perl is 5.14. In Ubuntu repository the current version of Perl is 5.10 which is no longer supported. So Im trying to manually upgrading Perl.
What is the recommended way to upgrade perl 5.10 to perl 5.14 in Ubuntu?
I found the perlbrew tool, but it seems to install just in the users home.
Perlbrew docs says that you can change your $HOME dir to something else:
The directory ~/perl5/perlbrew will contain all install perl
executables, libraries, documentations, lib, site_libs. If you need to
install perlbrew, and the perls it brews, into somewhere else because,
say, your HOME has limited quota, you can do that by setting a
PERLBREW_ROOT environment variable before running the installer:
export PERLBREW_ROOT=/opt/perlbrew curl -L
http://xrl.us/perlbrewinstall | bash
download, configure, compile ....