pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48871: pkg-config configuration-file for libssl (OpenSSL) incomplete



>Number:         48871
>Category:       pkg
>Synopsis:       pkg-config configuration-file for libssl (OpenSSL) incomplete
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 04 19:10:00 +0000 2014
>Originator:     Michai Ramakers
>Release:        6.1.3
>Organization:
>Environment:
NetBSD main.LAN 6.1.3 NetBSD 6.1.3 (GENERIC) i386
>Description:
When using openssl-1.0.1g and pkg-config 0.28, both from pkgsrc 2014Q1, 
'pkg-config --libs-only-L libssl' should provide flags for dynamic linking 
(i.e. '-R' or '-rpath') as per manpage, but gives none when used for 'libssl'. 

Likewise, 'pkg-config --libs' doesn't provide '-R' flags either, nor does 
'--libs-only-other' (which is not documented in pkg-config(1), which is another 
flaw).

The result is some 3rd party source-packages not building, when their 
configure-script uses pkg-config to determine linker-flags.
>How-To-Repeat:
1) install pkg-config from pkgsrc 2014Q1
2) install openssl from pkgsrc 2014Q1
3) run 'pkg-config --libs-only-L libssl' and notice there are no -R / -rpath 
flags. (Likewise for '--libs-only-other' and '--libs')

>Fix:



Home | Main Index | Thread Index | Old Index