Bug 60733 - lib*-private.so 'real' shared libraries?
Summary: lib*-private.so 'real' shared libraries?
Status: RESOLVED FIXED
Alias: None
Product: colord
Classification: Unclassified
Component: libcolord (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-12 15:10 UTC by Dominique Leuenberger
Modified: 2013-03-05 11:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
A possible patch, moving the sensors' libs to $(libdir)/colord-sensors, without module versions. (2.20 KB, patch)
2013-02-27 17:14 UTC, Dominique Leuenberger
Details | Splinter Review

Description Dominique Leuenberger 2013-02-12 15:10:57 UTC
Currenly, colord 0.1.29 installs a bunch of 'shared libraries' including soname into the system library directory.


[   33s]    /usr/lib64/libdtp94-private.so
[   33s]    /usr/lib64/libdtp94-private.so.0
[   33s]    /usr/lib64/libdtp94-private.so.0.0.0
[   33s]    /usr/lib64/libhuey-private.so
[   33s]    /usr/lib64/libhuey-private.so.0
[   33s]    /usr/lib64/libhuey-private.so.0.0.0
[   33s]    /usr/lib64/libmunki-private.so
[   33s]    /usr/lib64/libmunki-private.so.0
[   33s]    /usr/lib64/libmunki-private.so.0.0.

=> from what I understand, those are not 'really' shared libraries, but rather modules that are loaded by a specific (ABI?) version of the library.

For a clean file structure (and packaging possibilities), it is advisable to move those 'out' of the pure lib space, to some directory, like for example
  /usr/lib64/libcolord1 (if it's ABI depending)
or
  /usr/lib64/colord-0.1.29 (if it's really version depending)
Comment 1 Dominique Leuenberger 2013-02-27 17:14:59 UTC
Created attachment 75643 [details] [review]
A possible patch, moving the sensors' libs to $(libdir)/colord-sensors, without module versions.
Comment 2 Richard Hughes 2013-03-05 11:01:17 UTC
commit 3a95e46c54f66342553aa1015a4d32647f56ef60
Author: Dominique Leuenberger <dominique-freedesktop.org@leuenberger.net>
Date:   Tue Mar 5 11:00:36 2013 +0000

    build: Move the private sensor libraries out of the pure lib space
    
    From what I understand, those are not 'really' shared libraries, but rather
    modules that are loaded by a specific version of the library.
    
    Move the sensors' libs to libdir/colord-sensors, without module versions.
    
    Signed-off-by: Richard Hughes <richard@hughsie.com>


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.