Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-01-2011, 05:42 PM
|
#1
|
LQ Newbie
Registered: Jun 2009
Posts: 7
Rep:
|
32bit program still not running after installing ia32-libs on Debian Squeeze
I have a Debian Squeeze x64 VPS that I have been renting and I'm having some trouble getting the 32bit version of the Ventrilo server to run.
Code:
root@226513:~/ventsrv# ls
LICENSE ventrilo_srv ventrilo_srv.htm ventrilo_srv.ini ventrilo_status
root@226513:~/ventsrv# ./ventrilo_srv
-bash: ./ventrilo_srv: No such file or directory
This being my first experience with a 64bit Debian installation I did some research and installed the ia32-libs package to get the 32bit libraries, but still it would only respond with "No such file or directory"
Code:
root@226513:~/ventsrv# dpkg -l "ia32*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-======================-======================-============================================================
un ia32-abi <none> (no description available)
un ia32-apt-get <none> (no description available)
ii ia32-libs 20110310 ia32 shared libraries for use on amd64 and ia64 systems
ii ia32-libs-dev 20110310 ia32 development files for use on amd64 and ia64 systems
un ia32-libs-gtk <none> (no description available)
un ia32-libs-gtk-dev <none> (no description available)
un ia32-libs-libcurl3 <none> (no description available)
un ia32-libs-libidn11 <none> (no description available)
un ia32-libs-libnspr4 <none> (no description available)
un ia32-libs-libnss3 <none> (no description available)
un ia32-libs-libssh2 <none> (no description available)
un ia32-libs-openoffice.o <none> (no description available)
un ia32-libs-static <none> (no description available)
un ia32-libs-workaround-4 <none> (no description available)
un ia32-sun-java6-bin <none> (no description available)
un ia32-sun-java6-plugin <none> (no description available)
I found alot of people with this problem since Ventrilo only has 32bit Linux servers and this solution seems to work for everybody but me. EX: http://ubuntuforums.org/showthread.php?t=798157 Could it be because of a newer version of ia32-libs is not providing a library that is considered obsolete but Ventrilo still needs? Any advice would help.
Thanks in advance - Xerxes
|
|
|
06-01-2011, 05:59 PM
|
#2
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
Just to rule out the obvious, does the file have the execute bit set (post the ls -l output)?
|
|
|
06-01-2011, 06:02 PM
|
#3
|
LQ Newbie
Registered: Jun 2009
Posts: 7
Original Poster
Rep:
|
Yes, that was my first thought before x64
Code:
root@226513:~/ventsrv# ls -l
total 592
-rwxrwxrwx 1 500 500 14388 Nov 12 2007 LICENSE
-rwxrwxrwx 1 500 500 468420 Nov 18 2008 ventrilo_srv
-rwxrwxrwx 1 500 500 47244 Nov 12 2007 ventrilo_srv.htm
-rwxrwxrwx 1 500 500 312 Nov 12 2007 ventrilo_srv.ini
-rwxrwxrwx 1 500 500 55032 Nov 18 2008 ventrilo_status
|
|
|
06-01-2011, 06:40 PM
|
#4
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
Perhaps this link will be helpful in diagnosing exactly which libraries it's looking for. Judging by your dpkg output, I'm guessing you need one of the other ia32 libraries as well. You currently only have ia32-libs and ia32-libs-dev installed.
EDIT: most of that link is just explaining how 32 bit works on a 64 bit system. The interesting bit was using the ldd command and apt-file to see if you can track down the missing library.
Last edited by pljvaldez; 06-01-2011 at 06:44 PM.
|
|
|
06-01-2011, 08:00 PM
|
#5
|
LQ Newbie
Registered: Jun 2009
Posts: 7
Original Poster
Rep:
|
According to the pages I need to find the shared libraries and add them to the directory of 32bit libraries. Sadly I cannot see the linked libraries in the file since it is an ELF executable
Code:
root@226513:~/ventsrv# file ventrilo_srv
ventrilo_srv: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
root@226513:~/ventsrv# ldd ventrilo_srv
not a dynamic executable
Code:
root@226513:~/ventsrv# strace -o strace.out -f ./ventrilo_srv
strace: exec: No such file or directory
root@226513:~/ventsrv# cat strace.out
1282 execve("./ventrilo_srv", ["./ventrilo_srv"], [/* 15 vars */]) = -1 ENOENT (No such file or directory)
1282 dup(2) = 3
1282 fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
1282 fstat(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
1282 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aeed9137000
1282 lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
1282 write(3, "strace: exec: No such file or di"..., 40) = 40
1282 close(3) = 0
1282 munmap(0x2aeed9137000, 4096) = 0
1282 exit_group(1) = ?
I should probably mozy on over to the Ventrilo forums and see if I cant get the info from the developers.... but I doubt it
|
|
|
06-01-2011, 08:39 PM
|
#6
|
LQ Guru
Registered: Dec 2007
Distribution: Centos
Posts: 5,286
|
I wish I remembered enough detail to be more helpful on this. I half remember participating in some thread here in which the basic concepts that were revealed were that a temporary cover for some security flaw totally disabled use of 32 bit executables on 64 bit Linux.
I might be seriously misremembering and thus confused. But the symptoms in this thread seem like that same kind of thing. Some setting that the loader depends on to understand 32 bit executables has been disabled.
Edit: I found that other thread. It starts getting into real info at the 43'rd post here:
http://www.linuxquestions.org/questi...8/#post4273254
The problem in Today's thread is clearly different, now that I compare the two. But I think the place Valery Reznic suggested looking in that thread may apply here as well.
So you could use this command to start to investigate whether it is a related problem:
Quote:
ls /proc/sys/fs/binfmt_misc/
|
Last edited by johnsfine; 06-01-2011 at 08:56 PM.
|
|
|
All times are GMT -5. The time now is 01:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|