Bug 9413 - undefined pthread symbols in libdjvulibre
Summary: undefined pthread symbols in libdjvulibre
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libdjvu (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Evgeny Sinelnikov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-17 02:36 MSD by avm
Modified: 2006-08-10 23:31 MSD (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description avm 2006-04-17 02:36:10 MSD
$ rpm -q libdjvu
libdjvu-3.5.16-alt0.cvs20060104
$ ldd -r /usr/lib/libdjvulibre.so.15.1.0 >/dev/null
undefined symbol: pthread_create        (/usr/lib/libdjvulibre.so.15.1.0)
undefined symbol: pthread_cancel        (/usr/lib/libdjvulibre.so.15.1.0)

Видимо, лучше линковать с -lpthread?
Comment 1 Dmitry V. Levin 2006-04-17 02:39:45 MSD
По схожей причине, как видно из лога, не собирается и сам пакет djvu.
Comment 2 Konstantin A Lepikhov (L.A. Kostis) 2006-06-17 16:29:59 MSD
[lakostis@lks ~]$ rpm --lastchange libdjvu
* Пнд Май 15 2006 LAKostis <lakostis at altlinux dot ru> 3.5.17-alt1

- 3.5.17.
- update %url.
- update desktop files entries.
- cleanup buildreq & .spec.
- fix issue with missing -lpthread in libdjvulibre (due --as-needed ld flag).