LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
Search this Thread
Old 06-23-2010, 10:42 AM   #1
linuxs64
Member
 
Registered: Jun 2010
Posts: 93

Rep: Reputation: 39
[13.1-x86_64] alien-multilib enabled : VirtualBox OSE : LIBDIRSUFFIX="???"


I've got multilib enabled as per alien's wiki, now I want to compile VirtualBox OSE using SBo's script. What should be the value for LIBDIRSUFFIX=""?

Do I remove the "64"? Thanks.

Code:
You will be able to use standard SlackBuilds to build 32-bit packages for
Slackware64.  There are two things to keep in mind:
(1) You will have to define the ARCH variable as 'x86_64' even though you
    are compiling a 32-bit program!
(2) You will have to edit the SlackBuild and if it wants to use 'lib64/'
    directories for "$ARCH = x86_64", you will have to force it to use 'lib/'
    directories instead.  Usually, this is accomplished by finding a definition
    like:
      LIBDIRSUFFIX="64"
    and change this line to
      LIBDIRSUFFIX=""
 
Old 06-23-2010, 01:54 PM   #2
hkothari
Member
 
Registered: Jul 2009
Location: Lowell, Massachusetts
Distribution: Slackware
Posts: 70

Rep: Reputation: 17
Yes, I believe that is the case, your libdirsuffix should be blank.
 
Old 06-24-2010, 03:35 AM   #3
Martinezio
Member
 
Registered: May 2009
Location: Warsaw, Poland
Distribution: Slackware64-current
Posts: 191

Rep: Reputation: 32
But I don't think so. If You blank LIBDIRSUFFIX variable, all compiled libraries goes to /usr/lib directory, which under Slackware64 is intended for 32-bit libraries. Maybe it will work, but You may have some troubles with upgrade or compatibility.

My advice: leave this variable intact - all 64-bit libraries in Slackware64 (no mather if multilib is enabled or disabled) should go to /usr/lib64 directory.

But if You need to compile V-box as 32-bit, change the ARCH variable instead and run 32-bit env setting script from Alien before You start compilation process.

Last edited by Martinezio; 06-24-2010 at 03:37 AM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error installing "evas" from Enlightenment DR17 on Slackware 13.2 64Bit Multilib ZXDunny Linux - Software 0 06-07-2010 12:58 PM
[SOVLED] Problem with Slackware 13 x86_64 ATI driver on 2.6.32.3 using "multilib" ollebanan Slackware 5 01-24-2010 02:02 PM
Slack64 multilib: Xfe "configure error: libFOX-1.6 not found" Compile this Slackware 6 09-16-2009 07:06 PM
fail to start xterm: "could not exec /usr/OSE/bash: No such file or directory" freeindy Linux - General 3 11-28-2008 01:22 AM
squirrelmail "error in login page"" when content advisor is enabled simi_virgo Linux - Networking 4 08-21-2008 02:25 PM


All times are GMT -5. The time now is 04:05 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 Google+: linuxquestions
Open Source Consulting | Domain Registration