Problem executing 'q' under linux

Hi,

I’m new to Kdb+/q. I downloaded the 32-bit free version from the kdb+ website to install on my 64-bit Arch Linux System. I am getting a problem with trying to launch the ‘q’ executable under q/l32/q. I keep getting a message indicating 

?  ~  cd q

?  q  rlwrap l32/q “$@”

rlwrap: Cannot execute l32/q: No such file or directory

The executable is there. When I do an ‘ls l32/q’ the system picks it up, but anytime I try to execute I get the above no such file message.

I’m probably not doing something simple here but I cannot see it. Any help would be appreciated. I tried on my Mac and all is good there so not sure why it is not working on my Linux box.

you might be missing 32bit libs from the system. try

sudo apt-get install ia32-libs

Thanks.

I don’t think I will be able to run the 32-bit version of kdb+ on my Arch Linux 64-bit machine. In Arch Linux, there is a multi-lib setting (equivalent to ia32-libs in Ubunutu) which can be enabled which should theoretically setup up a 32-bit environment (within a 64-bit one) so that 32-bit apps can be run. I did this and updated my system but it still doesn’t work.

Hi Iftikhar,

How did you get on with this in the end? I had the same problem and had to run other commands before Charles’ command. I basically just did everything on this page(you might have already seen the page, maybe not)…

http://stackoverflow.com/questions/23182765/how-to-install-ia32-libs-in-ubuntu-14-04-lts

I was installing 32 bit q on 64 bit ubuntu so I thought this may be of help to you if you never solved it.

Hope it helps.

Sean

FYI: This was helpful: https://wiki.debian.org/Multiarch/HOWTO

Basically: 

dpkg --add-architecture i386apt-get updateapt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386

On Tuesday, September 9, 2014 at 6:15:51 AM UTC+8, Sean O’Hagan wrote:

Hi Iftikhar,

How did you get on with this in the end? I had the same problem and had to run other commands before Charles’ command. I basically just did everything on this page(you might have already seen the page, maybe not)…

http://stackoverflow.com/questions/23182765/how-to-install-ia32-libs-in-ubuntu-14-04-lts

I was installing 32 bit q on 64 bit ubuntu so I thought this may be of help to you if you never solved it.

Hope it helps.

Sean