LinuxQuestions.org
Visit Jeremy's Blog.
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 07-16-2011, 11:04 PM   #1
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,007

Rep: Reputation: 168Reputation: 168
compiling libraries so they install to */lib64


what system variables should I set to what
and what options do I pass to ./configure
so it builds and install libraries in */lib64


come on a 64bit system should be native 64bit not guest 64bit
the guest should be 32bit as in /lib32 for multilib
 
Old 07-16-2011, 11:10 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,825
Blog Entries: 1

Rep: Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221
Try:
--libdir=lib64
 
Old 07-16-2011, 11:14 PM   #3
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,007

Original Poster
Rep: Reputation: 168Reputation: 168
did that it still installed the libraries to /usr/lib NOT /usr/lib64
 
Old 07-17-2011, 06:06 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,755

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Well, some few libraries will install to /usr/lib/ only.


Which library is this about ? ?
 
Old 07-17-2011, 06:44 PM   #5
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.2 Slackware 14.2, Slackware{32,64}-current
Posts: 788
Blog Entries: 3

Rep: Reputation: 275Reputation: 275Reputation: 275
Take a look at the slackbuild scripts on Slackbuilds.org to get an idea of how to compile. These build scripts work on both Slackware and Slackware64 and put libs in the correct place.
 
Old 07-17-2011, 06:54 PM   #6
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,007

Original Poster
Rep: Reputation: 168Reputation: 168
Quote:
Originally Posted by knudfl View Post
Well, some few libraries will install to /usr/lib/ only.


Which library is this about ? ?
mono
http://ftp.novell.com/pub/mono/sources-stable/

I have 35GigB of disk space wasted on a windoze install just to configure the transmitter for
my R/C helicopter (on a 100GigB HDD)
there is a program to configure it that was written in mono basic that runs on linux BUT there
is NO binary mono packages for slackware

I want windoze off my computer and my HDD space back
 
Old 07-17-2011, 06:57 PM   #7
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.2
Posts: 779

Rep: Reputation: 105Reputation: 105
Quote:
Originally Posted by rob.rice View Post
mono
http://ftp.novell.com/pub/mono/sources-stable/

I have 35GigB of disk space wasted on a windoze install just to configure the transmitter for
my R/C helicopter (on a 100GigB HDD)
there is a program to configure it that was written in mono basic that runs on linux BUT there
is NO binary mono packages for slackware

I want windoze off my computer and my HDD space back
http://slackbuilds.org/repository/13...elopment/mono/

this is the slackbuild for mono, it should install to the correct libraries by default.
 
Old 07-18-2011, 01:05 AM   #8
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
I've found that sometimes as well as setting --libdir=/usr/lib64 I have to use --with-libdir=lib64 to get things where I want on manual compilation. I haven't done enough checking to find out why though, so I don't know whether it will work in your case.
 
Old 07-18-2011, 03:44 AM   #9
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,881

Rep: Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564
It depends on which type of configuration is used by the sources. What has already been suggested usually works for sources using autoconf, but other systems such as cmake have to be handled differently.
 
  


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
Location of libraries in /usr/lib/ or /usr/lib64/ in Slackware64 niels.horn Slackware 2 06-24-2009 05:25 AM
Compiling with static libraries trek413 Linux - Newbie 4 10-19-2006 08:14 PM
Compiling new libraries boris-78 Linux - Newbie 4 09-07-2006 02:26 PM
compiling development libraries deadlyhead Linux - Newbie 3 06-05-2005 04:52 AM
How to properly install Gtk libraries for compiling franznietzsche Programming 5 04-28-2005 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:00 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration