[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to install library in a specific directory?
From: |
Ralf Wildenhues |
Subject: |
Re: how to install library in a specific directory? |
Date: |
Fri, 24 Jul 2009 23:07:46 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-15) |
Hello,
* John Calcote wrote on Thu, Jul 23, 2009 at 08:02:37AM CEST:
> On 7/22/2009 9:15 PM, A117 wrote:
> >Thank you. I've decided to put the library in /usr/local/lib, while its
> >header files in /usr/local/include/ezproject.
> >It's strange though /usr/local/lib is in /etc/ld.so.conf (actually in
> >another file it includes), and I can build other programs acting much as
> >mine, I have difficulty with mine only. I run ldconfig manually and then it
> >works. Now I'm releasing my software.
>
> ldconfig updates the library cache. the /etc/ld.so.conf file is the
> file used by ldconfig to determine which directories to scan for
> libraries. When you add a new library to one of the directories in
> /etc/ld.so.conf, then you need to run ldconfig to ensure that the
> cache is aware of that new library.
FWIW, 'libtool --mode=install' should be running 'ldconfig -n' if you
don't happen to use DESTDIR; otherwise, there is --finish.
Cheers,
Ralf
- Re: how to install library in a specific directory?, (continued)
- Re: how to install library in a specific directory?, John Calcote, 2009/07/23
- Re: how to install library in a specific directory?, A117, 2009/07/23
- Re: how to install library in a specific directory?, John Calcote, 2009/07/23
- 答复: how to install library in a spec ific directory?, A117, 2009/07/23
- Re: 答复: how to install library in a s pecific directory?, John Calcote, 2009/07/24
- Re:Re: how to install library in a specific directory?, A117, 2009/07/24
- Re: how to install library in a specific directory?, John Calcote, 2009/07/24
- 答复: how to install library in a spec ific directory?, A117, 2009/07/24
- Re: 答复: how to install library in a s pecific directory?, John Calcote, 2009/07/24
- 答复: 答复: how to install library in a specific directory?, A117, 2009/07/24
- Re: how to install library in a specific directory?,
Ralf Wildenhues <=
Re: how to install library in a specific directory?, William Pursell, 2009/07/23