Project

General

Profile

Actions

Bug #3087

open

libuuid has a lot of dependencies

Added by Igor Pashev about 9 years ago. Updated almost 2 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
-
Start date:
2012-08-17
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

libuuid has a lot of dependencies through libdlpi.so:


# ldd /lib/libuuid.so
        libsocket.so.1 =>        /lib/libsocket.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libc.so.1 =>     /lib/libc.so.1
        libdlpi.so.1 =>  /lib/libdlpi.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libinetutil.so.1 =>      /lib/libinetutil.so.1
        libdladm.so.1 =>         /lib/libdladm.so.1
        libdevinfo.so.1 =>       /lib/libdevinfo.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        librcm.so.1 =>   /lib/librcm.so.1
        libnvpair.so.1 =>        /lib/libnvpair.so.1
        libexacct.so.1 =>        /usr/lib/libexacct.so.1
        libkstat.so.1 =>         /lib/libkstat.so.1
        libcurses.so.1 =>        /lib/libcurses.so.1
        libpool.so.1 =>  /usr/lib/libpool.so.1
        libsec.so.1 =>   /lib/libsec.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libsmbios.so.1 =>        /usr/lib/libsmbios.so.1
        libxml2.so.2 =>  /lib/libxml2.so.2
        libavl.so.1 =>   /lib/libavl.so.1
        libidmap.so.1 =>         /usr/lib/libidmap.so.1
        libpthread.so.1 =>       /lib/libpthread.so.1
        libz.so.1 =>     /lib/libz.so.1
        libm.so.2 =>     /lib/libm.so.2

Please, note: libsmbios.so.1, libxml2.so.2, libcurses.so.1, libscf.so.1.

This libuuid should be rewritten to avoid those dependencies.
Linux's libuuid depends only on libc.


Related issues

Has duplicate illumos gate - Bug #4007: libuuid should not infect binaries with so many link dependenciesClosed2013-08-07

Actions
Actions

Also available in: Atom PDF