On 06/05/12 01:37, Bruce Dubbs wrote:
> Armin K. wrote:
>> On 05/05/2012 03:52 AM, Wayne Blaszczyk wrote:
>>> On 05/05/12 01:52, Bruce Dubbs wrote:
>>>> BLFS Trac wrote:
>>>>> #3350: libvirt-glib does not build on LFS 7.1
>>>>> ----------------------+-----------------------------------------------------
>>>>>   Reporter:  wblaszcz  |       Owner:  blfs-book@…
>>>>>       Type:  defect    |      Status:  new
>>>>>   Priority:  normal    |   Milestone:  current
>>>>> Component:  BOOK      |     Version:  SVN
>>>>>   Severity:  normal    |    Keywords:
>>>>> ----------------------+-----------------------------------------------------
>>>>>
>>>>> Comment(by Krejzi):
>>>>>
>>>>>   I fully understand the sed. However problem still lies at libtirpc whose
>>>>>   .so and .la files are moved into /usr/lib, but .la file still lists /lib
>>>>>   as libdir, but should list /usr/lib instead. If that is corrected before
>>>>>   libvirt has been compiled, the problem would not exist at all with 
>>>>> libvirt
>>>>>   nor libvirt-glib.
>>>>>
>>> Only the .*a files are moved to /usr/lib. The .so files remain in /lib.
>>>
>>> Wayne.
>>>
>>
>> I don't know if you noticed, but libvirt was linked to the .a file. You 
>> reported it back then. Well, we need to make symlink in /usr/lib for .so 
>> file, and switch libdir in libtirpc.la for everything to be ok.
> 
> I'm not sure why this needs to happen.  I'm trying to understand what's going 
> on.  A decent overview of libraries is at
> http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
> 
> What we are trying to do is place the soname and the real name in /lib (for 
> the 
> run time loader) and the linker name (and .la -- libtool archive) in /usr/lib 
> for build time linking.
> 
> What I have right now is libtirpc.so in /lib but I think that should be in 
> /usr/lib.  (libtirpc.so.1 and libtirpc.so.1.0.10 should stay in /lib)  The 
> only 
> thing in /usr/lib is libtirpc.la (no static lib) and 
> /usr/lib/pkgconfig/libtirpc.pc

Hi Bruce,
I'm trying to understand why libtirpc.so.1 and libtirpc.so.1.0.10 should
stay in /lib. What actually uses these libraries before /usr is mounted?
Thanks,
Wayne.


> 
> So I think we should have:
> 
> /lib:               libtirpc.so.1  libtirpc.so.1.0.10
> /usr/lib:           libtirpc.so    libtirpc.la
> /usr/lib/pkgconfig: libtirpc.pc
> 
> The proper contents of libtirpc.la and libtirpc.pc are another matter.  After 
> we 
> get the file locations and contents right, then we need to figure out how to 
> properly specify the install instructions.
> 
>    -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to