HELP - How do I run 32 bit applications on 64 bit Slackware 13?
Hi:
I've just installed Slackware 13 (64 bit) on my ASUS labtop. So far I have only one show stopper. I'm trying to run CISCO Packettracer5.2 (linux 32 bit version) and it does not seem to run on my 64 bit system. I've seen related posts for other distros that mention a ia32-libs package, but I cannot find a Slackware version of this, or source code. Any ideas and/or advice. Vital stats: Slackware 13.0.0.0.0 Intel Core 2 Duo T6400@2.00Ghz vmlinuz-huge-2.6.29.6 I also have the nvidia binary drivers installed and working. I've been using Slackware for years but I'm new to the 64 bit game. Thanks. CCR_Diver |
|
Out of the box, Slackware64 is pure 64-bit only. Read the following to learn what you need to run 32-bit as well:
http://alien.slackbook.org/dokuwiki/...kware:multilib I was beaten to the punch by rg3... can't win 'em all. |
Just follow the procedure per the link(s) above and you'll be in business. My Slackware64-multilib is smooth & sweet.....
|
You could also try this solution.
It might be easier than installing the multilib stuff. But, you will need access to a 32-bit system, to create the static linked version. Cheers. |
Quote:
The way you describe only does java. My system is a heck of a lot more than java. And what's easier than:
|
Quote:
Quote:
But, it does work perfectly for other applications. Cheers. |
Well, I followed the "official ?Slackware way to make multilib".
And guess what? Java works. Skype works. Wine works. All other apps work, that would work on 32 bit SW. So... (And it took less than 5 min) The question is, now: Do you want to mess around with symlinks, statically linking files in folders all over your system, a "system" that doesn't work? Or do you want to use the route the the main developer of SW 64bit designed? I think I'd choose Alien Bob's way, thank you very much. |
Thanks to all who posted to this thread. This sounds like just the info I need. Sorry to take so long getting back to this post, but I have a daytime job that leaks over into nigh time (if you know what I mean).
CCR_Diver |
Ok, I finally got a few moments to take a shot at this and I must be missing something. I used the instructions in the "Quick and Dirty" section and I still cannot run 32 bit binaries. Also, when I follow the instructions to compile 32 bit code, I get the following.
bash-3.1$ . /etc/profile.d/32dev.sh bash-3.1$ cc -o foo3 foo.c In file included from /usr/include/features.h:354, from /usr/include/stdio.h:28, from foo.c:1: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory My Slack 13/32 is about 14 days older than my Slack 13/64. Any chance they made a stealth update between the two downloads? Can anybody clue me in? CCR |
You need to use $CC (which points to /usr/bin/32/gcc) instead of cc to compile your program--cc is symlinked to /usr/bin/gcc which is the 64-bit version, while /usr/bin/32/gcc is the 32-bit version.
|
Quote:
Do I need to do something to the kernel? I've read other posts that lead me to think I need some kind of 32bit driver linked into the kernel. Can anyone confirm or this? |
OK, then it looks like you're missing the file /usr/include/gnu/stubs-32.h. In pkgtool, do you have glibc-2.9-multilib-x86_64-3alien installed? That package contains the file you need: it's one of the packages created when you follow the wiki. Did you have any error messages following the wiki instructions?
One thing to watch out for with multilib is the video driver install--if you choose the option to create the Slackware package, you only get 64-bit video drivers. |
Quote:
|
All times are GMT -5. The time now is 11:00 PM. |