Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-01-2011, 05:42 PM   #1
LQ Newbie
Registered: Jun 2009
Posts: 7

Rep: Reputation: 1
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.

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"

root@226513:~/ventsrv# dpkg -l "ia32*"
| 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: 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
Old 06-01-2011, 05:59 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Just to rule out the obvious, does the file have the execute bit set (post the ls -l output)?
Old 06-01-2011, 06:02 PM   #3
LQ Newbie
Registered: Jun 2009
Posts: 7

Original Poster
Rep: Reputation: 1
Yes, that was my first thought before x64

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
Old 06-01-2011, 06:40 PM   #4
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
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.
Old 06-01-2011, 08:00 PM   #5
LQ Newbie
Registered: Jun 2009
Posts: 7

Original Poster
Rep: Reputation: 1
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

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
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
Old 06-01-2011, 08:39 PM   #6
LQ Guru
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190
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:

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:
ls /proc/sys/fs/binfmt_misc/

Last edited by johnsfine; 06-01-2011 at 08:56 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] install 64bit (using 32bit) Debian squeeze. kaz2100 Debian 1 11-16-2009 07:09 PM
Installing ia32-libs on 64-bit Jaunty as a non-superuser jlebar Linux - Software 2 10-09-2009 02:54 AM
Installing 32bit libs on x86_64bit installed fedora fredsub Fedora 2 08-14-2008 11:14 PM
openoffice on amd64 with ia32-libs? erpe Debian 12 10-05-2006 07:35 PM
Installing 32bit libs under Amd64 Sarge ssobeht Debian 1 02-05-2005 12:16 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration