Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 510062

Summary: sys-apps/systemd add USE=static-libs
Product: Gentoo Linux Reporter: Karl H <karl>
Component: New packagesAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Karl H 2014-05-11 13:03:45 UTC
systemd installs several libaries that i would like to statically link against
Currently static versions of the libraries are not installed.

/usr/lib/libudev.*
/usr/lib/libgudev.*
/usr/lib/libsystemd*

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-05-11 13:11:05 UTC
upstream of systemd does not support static linking:

$ grep -i static configure.ac 
LT_INIT([disable-static])
AS_IF([test "x$enable_static" = "xyes"], [AC_MSG_ERROR([--enable-static is not supported by systemd])])

we make an exception of building libudev.a within sys-fs/{udev,eudev} but it's not useful setup for systemd, so it's purposely skipped, reassigning to systemd@ so they can close this themself
Comment 2 Pacho Ramos gentoo-dev 2014-05-11 14:15:12 UTC

*** This bug has been marked as a duplicate of bug 472608 ***