Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510206 - net-libs/ldns: ldns-config --libs outputs -lpython*
Summary: net-libs/ldns: ldns-config --libs outputs -lpython*
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-13 06:18 UTC by Michał Górny
Modified: 2023-07-10 06:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-05-13 06:18:27 UTC
$ ldns-config  --libs
-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu  -L/usr/lib64 -lpython2.7 -L/usr/lib64   -lcrypto -ldl -lldns

I feel like -lpython2.7 got there unnecessarily, esp. that shared libldns doesn't link to it.
Comment 1 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2014-10-13 12:42:46 UTC
This seems to be dependent on the python USE flag, with this version and uses this issue doesn't happen:
# equery u ldns
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for net-libs/ldns-1.6.17:
 U I
 + + abi_x86_32                     : 32-bit (x86) libraries
 + + dane                           : Enable DNS-based Authentication of Named Entities (DANE) support
 - - doc                            : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 + + ecdsa                          : Enable ECDSA support
 + + gost                           : Enable GOST support
 - - python                         : Add optional support/bindings for the Python language
 + + python_single_target_python2_7 : Build for Python 2.7 only
 + + python_targets_python2_7       : Build with Python 2.7
 + + ssl                            : Add support for Secure Socket Layer connections
 - - static-libs                    : Build static versions of dynamic libraries as well
 - - vim-syntax                     : Pulls in related vim syntax scripts
Comment 2 pva 2023-07-09 11:56:21 UTC
Looks like this is not an issue anymore:

 # ldns-config --libs
-Wl,-O1 -Wl,--as-needed  -L/usr/lib64  -lssl  -lcrypto -lldns


b612-dev3-desktop /var/db/repos/gentoo/net-libs/ldns # equery u ldns
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for net-libs/ldns-1.8.3-r2:
 U I
 - - abi_x86_32                      : 32-bit (x86) libraries
 - - doc                             : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package
                                       instead of globally
 - - examples                        : Install examples, usually source code
 + + python                          : Add optional support/bindings for the Python language
 + + python_single_target_python3_10 : Build for Python 3.10 only
 - - python_single_target_python3_11 : Build for Python 3.11 only
 - - python_single_target_python3_9  : <unknown>
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-10 06:38:40 UTC
Thanks.