Summary: | net-misc/openssh-4.3_p2-r2 fails with USE=static due to not linking -ldl | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Skwar <askwar> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kanaka, wschlich |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alexander Skwar
2006-09-07 01:25:47 UTC
I upgraded to openssl-0.9.8c - no change, still the same error. With USE=-static, I could compile openssh. fixed in cvs I don't think using pkg-config to figure out paths and libs is really the right approach for this situation. Consider when ROOT is something other than "/". In that case the linking will either fail, or happen with the wrong libraries. Not sure what the right approach is. ${ROOT}/usr/bin/pkg-config would be nice but that assumes that pkg-config understand non-default ROOT=/somethingelse builds. Perhaps we should test if ROOT="/" and if so use pkg-config, otherwise go with sane defaults (such as linking with -ldl if use static). you've got a choice ... pkg-config or libtool or nothing pkg-config/libtool not working with ROOT/cross-compiling is a larger issue and not openssh specific in any way |