LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-31-2009, 03:02 PM   #1
ROXR
Member
 
Registered: Jan 2009
Location: Spain
Posts: 98
Blog Entries: 1

Rep: Reputation: 18
Trouble with binaries execution


I trying Slackware64, congratulatios for the great leap.

My problem is that I have some programs installed in the /home partition, but very few programs could execute. For example open office compiled for Slamd64 or compiled with Slackware not could execute. Other as videogames, Quake 3/4 UT2004, Doom3 etc. also not execute.
The label ever is: program-bin "Not such file or directory".

I can do ?

thanks
 
Old 05-31-2009, 03:12 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,031

Rep: Reputation: Disabled
You can not run 32bit programs in Slackware64. I think this is what you are running into.

Eric
 
Old 05-31-2009, 03:39 PM   #3
Shingoshi
Member
 
Registered: Oct 2006
Location: Cochise County, Arizona
Distribution: Gentoo-AMD64 / Slackware64-Current
Posts: 474
Blog Entries: 28

Rep: Reputation: 34
Follow the instructions listed above this (http://www.linuxquestions.org/questi...68#post3558368) post, and you will have no further problems running 32-bit applications.

Shingoshi
 
Old 05-31-2009, 03:49 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,031

Rep: Reputation: Disabled
If anything, I would vote against installing Bluewhite64's 32bit compatibility packages on Slackware64.
Try the ones Fred Emmott (from slamd64) created for Slackware64. Fred's 32bit packages were compiled on Slackware64.

See ftp://anorien.warwick.ac.uk/slamd64/...are64-current/

Eric
 
Old 05-31-2009, 03:55 PM   #5
ROXR
Member
 
Registered: Jan 2009
Location: Spain
Posts: 98
Blog Entries: 1

Original Poster
Rep: Reputation: 18
ok thanks I had to guess, Slackware64 is pure 64 bits and does not 32 bits library yet.
 
Old 05-31-2009, 04:47 PM   #6
Shingoshi
Member
 
Registered: Oct 2006
Location: Cochise County, Arizona
Distribution: Gentoo-AMD64 / Slackware64-Current
Posts: 474
Blog Entries: 28

Rep: Reputation: 34
The major difference between these two sets of packages, is where they are placed on disk.
Bluewhite64: /lib32 & /usr/lib32
Slackware64: /lib & /usr/lib

The difference is the absolute security that nothing can ever overwrite your 32-bit libraries. NEVER!! This is important if you ever compile your own packages, and for any reason the suffix for lib64 is not explicitly stated. If that ever happens, you will be out of luck. It's just like having your 32-bit libraries in a sandbox.

Shingoshi

Last edited by Shingoshi; 05-31-2009 at 04:54 PM.
 
Old 05-31-2009, 08:54 PM   #7
jimX86
Member
 
Registered: Mar 2006
Distribution: Slackware64 13.1
Posts: 228
Blog Entries: 1

Rep: Reputation: 34
Quote:
Originally Posted by Shingoshi View Post
This is important if you ever compile your own packages, and for any reason the suffix for lib64 is not explicitly stated. If that ever happens, you will be out of luck.
I don't understand your logic here. For example, let's say I'm building a package for imlib2. When I'm done, I can just do "less imlib2*tgz" and check the permissions and directories. Luck doesn't have a thing to do with it.

If I do put something in the wrong place, how does having even more stuff in a different wrong place help me? Do you mean that it's easier to find because what should be there isn't? And that's LESS confusing?

Quote:
Originally Posted by Shingoshi View Post
It's just like having your 32-bit libraries in a sandbox.
If by "sandbox" you mean "a totally non-standard directory that breaks compliance with the FHS", then I agree with you.
 
Old 05-31-2009, 09:58 PM   #8
Shingoshi
Member
 
Registered: Oct 2006
Location: Cochise County, Arizona
Distribution: Gentoo-AMD64 / Slackware64-Current
Posts: 474
Blog Entries: 28

Rep: Reputation: 34
Anyone can always be comforted by their compliance with the FHS, when they find themselves with a 32-bit package that can't find libraries that no longer exist on their system. But what I stated earlier can always apply to the building of new 32-bit packages. Putting them in /lib32 and /usr/lib32 will serve as a preventative measure against building packages of the same name in 64-bit.

Me personally, I like certainty. But then again, I would also promote the ia32- as a prefix for all 32-bit package names. That way, they're always grouped together when looking for them (in a package manager for instance). But most importantly, I hope everyone is always happy with the solution they choose.

Just be happy with your choice.
Shingoshi
 
Old 06-01-2009, 06:17 AM   #9
ROXR
Member
 
Registered: Jan 2009
Location: Spain
Posts: 98
Blog Entries: 1

Original Poster
Rep: Reputation: 18
I installed the anorien.warwick.ac.uk 32 bits library, but applications return an error of "Segmentation fault"

May be some advance with the Bluewhite64 32 bits librarys ?

thanks
 
Old 06-01-2009, 06:54 AM   #10
Shingoshi
Member
 
Registered: Oct 2006
Location: Cochise County, Arizona
Distribution: Gentoo-AMD64 / Slackware64-Current
Posts: 474
Blog Entries: 28

Rep: Reputation: 34
There are times when you must do things others don't approve of, when you want to get results they aren't willing to admit are possible. I have had no problems following my own particular solution. I have had no errors. Unlike the solution provided by anyone else, Bluewhite64's has been around and proven stable.

Follow these instructions, and you won't have a problem. It's as simple as that.
http://www.linuxquestions.org/questi...68#post3558368
And here are the packages you need. Get them and be happy!
http://mirror.inode.at/data/bluewhit...a32-emulation/

Shingoshi

Last edited by Shingoshi; 06-01-2009 at 06:58 AM.
 
Old 06-01-2009, 10:09 AM   #11
ROXR
Member
 
Registered: Jan 2009
Location: Spain
Posts: 98
Blog Entries: 1

Original Poster
Rep: Reputation: 18
Wink

Many many thanks, your solution really work, now I can execute my binaries without problems.

Greatings
 
Old 06-01-2009, 01:39 PM   #12
Shingoshi
Member
 
Registered: Oct 2006
Location: Cochise County, Arizona
Distribution: Gentoo-AMD64 / Slackware64-Current
Posts: 474
Blog Entries: 28

Rep: Reputation: 34
It pays to do what works!! Because if you're not working, you can't get paid!!

Quote:
Originally Posted by ROXR View Post
Many many thanks, your solution really work, now I can execute my binaries without problems.

Greatings
Thank you for the acknowledgment. I hope that this will be helpful to others as well. Pass the word around. There is a working solution. Even if it's not the one many would expect or desire.

Shingoshi
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
execution more trouble zaid Linux - General 1 01-18-2006 06:01 AM
shortcut to binaries? DrGnome Linux - Software 3 04-07-2004 02:33 PM
What do with binaries? lectraplayer Linux - Newbie 21 11-11-2003 09:50 PM
rpm / binaries ? nimrod Linux - Newbie 3 12-17-2002 04:44 PM
Binaries socks Linux - Newbie 1 11-20-2002 09:39 AM


All times are GMT -5. The time now is 04:54 AM.

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