LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-17-2008, 11:57 PM   #1
cstrieder
Member
 
Registered: Sep 2008
Location: Brazil
Distribution: Slackware
Posts: 58

Rep: Reputation: 15
How to update the available library list on Slackware


Let me explain what is going on:

I am using Slack 12.1 and I am trying to install a software A, but A depends on B. OK, no problem, that's common in Slackware. To solve this I first install software B and after install software A.

I am doing all of this in the Slask way, I want to say: ./configure, make and make install.

But the problem is, when a finished to install software B and come back trying to install software A again, it doesn't recognize that software B is installed and I need to reboot to update the available library list.

Some one knows a way of update this available library list, in a way that I don't need to reboot for this porpose?
 
Old 09-18-2008, 12:45 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I believe running ldconfig is the way to do this.
 
Old 09-18-2008, 02:14 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Yes, and run "ldconfig" as root -- ref. "man ldconfig"

And btw -- the Slackware way is to make a Slackpackage
and use "installpkg"
 
Old 09-18-2008, 02:25 AM   #4
cstrieder
Member
 
Registered: Sep 2008
Location: Brazil
Distribution: Slackware
Posts: 58

Original Poster
Rep: Reputation: 15
Thanks guys,

yours reply was helpful.

But I recently discovered that the software B, that I was installing, wasn't on the $PATH and this is the problem. I have solved now.
 
Old 09-18-2008, 02:35 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
I also thought of that. When you install with "./configure && make && make install",
iirc from my pre-SlackBuild script days, it installs to /usr/local rather than to the
Slackware path of /usr -- is that correct?

To make installing Slackware packages easier, with a SlackBuild script, you should try
Alien Bob's Alien's SlackBuild Toolkit.

Last edited by Bruce Hill; 09-18-2008 at 02:36 AM. Reason: added AST link
 
Old 09-18-2008, 11:01 AM   #6
cstrieder
Member
 
Registered: Sep 2008
Location: Brazil
Distribution: Slackware
Posts: 58

Original Poster
Rep: Reputation: 15
hi bruce,

i think i don't understand your doubt exactly. my english is not so good.

are you asking, when i install any software if it installs to '/usr' or '/usr/local'?
 
Old 09-18-2008, 06:07 PM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
When you install with "./configure && make && make install"
it installs the software to /usr/local.

And Slackware installs Slackware packages to /usr, so your
software installed with "./configure && make && make install"
is not found where Slackware packages are installed.

Therefore, the Slackware way is to create packages that install
themselves into "prefix=/usr". That way when you compile other
software later, that depends on it, things will install easier.
Meaning, you'll avoid the problem you had in this thread.

To make installing Slackware packages easier, with a SlackBuild script, you should try to use Alien Bob's Alien's SlackBuild Toolkit.

Here are some good Slackware links in Brazil.
 
  


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
list library function of a shared library .so powah Linux - General 7 10-25-2011 04:47 AM
GTK library update taj SUSE / openSUSE 1 04-16-2008 06:38 PM
RH 3 - Update PHP and GD Library SharkBait Red Hat 1 09-12-2006 06:10 AM
Amarok 1.3.3 won't update media library JRR883 Linux - Software 2 10-30-2005 04:44 PM
update library ust Linux - Software 0 03-08-2004 01:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:33 PM.

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