| Summary: | sys-apps/busybox-1.21.0: ld: cannot find -l-pthread | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | qdii <qdii> |
| Component: | [OLD] Core system | Assignee: | Embedded Gentoo Team <embedded> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | zacharyw09264 |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build log
environment emerge --info '=sys-apps/busybox-1.21.0' emerge -pqv '=sys-apps/busybox-1.21.0' trylink.patch |
||
|
Description
qdii
2013-06-09 09:17:08 UTC
Created attachment 350496 [details]
build log
Created attachment 350498 [details]
environment
Created attachment 350500 [details]
emerge --info '=sys-apps/busybox-1.21.0'
Created attachment 350502 [details]
emerge -pqv '=sys-apps/busybox-1.21.0'
doubt it's related to pam post the output from running: for p in libpcre libselinux libsepol ; do echo $p pkg-config --libs $p pkg-config --cflags $p done Not the same poster but I have the same problem, here is the output of the command. libpcre -lpcre libselinux -lselinux libsepol -lsepol I have the same problem too, package sys-apps/busybox-1.21.1 libpcre -lpcre libselinux -lselinux -lpthread libsepol -lsepol build.log http://ix.io/7yy emerge --info '=sys-apps/busybox-1.21.1' http://ix.io/7yz emerge -pqv '=sys-apps/busybox-1.21.1' http://ix.io/7yA I have no idea from where '-pthreads' comes from (it should be pthreads), but scripts/trylink can fix it. scripts/trylink line 120: -l_list=`echo "$LDLIBS" | sed -e 's/ / -l/g' -e 's/^/-l/' -e 's/^-l$//'` +l_list=`echo "$LDLIBS" | sed -e 's/ -/ /g' -e 's/ / -l/g' -e 's/^/-l/' -e 's/^-l$//'` Created attachment 356976 [details, diff]
trylink.patch
|