LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 10:04 PM   #1
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
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, 10:10 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

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

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

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


Which library is this about ? ?
 
Old 07-17-2011, 05:44 PM   #5
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
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, 05:54 PM   #6
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
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, 05:57 PM   #7
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Rep: Reputation: 107Reputation: 107
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, 12:05 AM   #8
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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, 02:44 AM   #9
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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



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 04:25 AM
Compiling with static libraries trek413 Linux - Newbie 4 10-19-2006 07:14 PM
Compiling new libraries boris-78 Linux - Newbie 4 09-07-2006 01:26 PM
compiling development libraries deadlyhead Linux - Newbie 3 06-05-2005 03:52 AM
How to properly install Gtk libraries for compiling franznietzsche Programming 5 04-28-2005 07:02 AM

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

All times are GMT -5. The time now is 08:56 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
Open Source Consulting | Domain Registration