LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-13-2005, 11:45 AM   #1
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Rep: Reputation: 30
libraries compiling into /usr/lib


dear all,

i'm compiling glib2 right now on a x86_64 architecture. fact is, instead of being installed into the /usr/lib64 directory, they are installed into /usr/lib.

and i don't get why.

i've done a
Code:
export ARCH=x86_64
export LD_LIBRARY_PATH=/usr/lib64
and my /etc/ld.so.conf file looks like:
Code:
/usr/local/lib
/usr/X11R6/lib
/usr/x86_64-slackware-linux/lib
/usr/lib64
/usr/local/lib64
/lib64
/usr/X11R6/lib64
/opt/kde/lib
/usr/lib64/qt/lib
i'm configuring using
Code:
./configure --prefix=/usr \
            --sysconfdir=/etc
...what am i doing wrong?
 
Old 05-13-2005, 02:51 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Why not use a lib directory, like /usr/x86_64/lib
so you configure as :
./configure --prefix=/usr/x86_64
 
Old 05-13-2005, 07:49 PM   #3
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Original Poster
Rep: Reputation: 30
i will actually use
Code:
./configure --prefix=/usr \
  --sysconfdir=/etc
  --libdir=/usr/lib64
however i'm still rather puzzled on why ./configure isn't picking up the settings of my /etc/ld.so.conf file...
 
Old 05-13-2005, 09:10 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
[Nevermid]
Anyway, I suggest you to use keefaz suggestion that will also allow you to have also executable files separated by platform.
Oh you can also try seeing/modifing the generated Makefile to see or change the variable that configure uses to determine the lib directory.

Last edited by gbonvehi; 05-13-2005 at 09:23 PM.
 
Old 05-14-2005, 05:53 AM   #5
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by gbonvehi
[Nevermid]
Anyway, I suggest you to use keefaz suggestion that will also allow you to have also executable files separated by platform.
Oh you can also try seeing/modifing the generated Makefile to see or change the variable that configure uses to determine the lib directory.
slamd64 is already buit with --prefix=/usr and --libdir=/usr/lib64, i prefer to stick that way, since i'm not building an os myself and there are common files (such as gtk+ for instance).

thank you.
 
  


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
Removing .a libraries in /usr/lib/ kunkie Linux - General 1 08-27-2005 11:44 PM
aim: error while loading shared libraries: /usr/lib/libgdk-1.2.so.0: undefined symbol dr_zayus69 Linux - Software 1 12-11-2004 09:10 PM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 09:21 AM
g++ can't find libraries that are in /usr/lib williamtbranch Linux - Software 2 01-17-2004 01:28 PM

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

All times are GMT -5. The time now is 02:19 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