Problem executing 'q' under linux

958 views
Skip to first unread message

Iftikhar Khan

unread,
Jul 10, 2014, 11:09:08 AM7/10/14
to personal...@googlegroups.com
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.

Charles Skelton

unread,
Jul 10, 2014, 11:14:48 AM7/10/14
to personal...@googlegroups.com
you might be missing 32bit libs from the system. try

sudo apt-get install ia32-libs


--
You received this message because you are subscribed to the Google Groups "Kdb+ Personal Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to personal-kdbpl...@googlegroups.com.
To post to this group, send email to personal...@googlegroups.com.
Visit this group at http://groups.google.com/group/personal-kdbplus.
For more options, visit https://groups.google.com/d/optout.

Iftikhar Khan

unread,
Jul 10, 2014, 11:53:44 AM7/10/14
to personal...@googlegroups.com
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.

Sean O'Hagan

unread,
Sep 8, 2014, 6:15:51 PM9/8/14
to personal...@googlegroups.com, quant...@gmail.com
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)...

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

Kevin Connor Arpe

unread,
Dec 19, 2017, 10:10:48 AM12/19/17
to Kdb+ Personal Developers
FYI: This was helpful: https://wiki.debian.org/Multiarch/HOWTO

Basically: 
dpkg --add-architecture i386
apt-get update
apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
Reply all
Reply to author
Forward
0 new messages