![](https://seccdn.libravatar.org/avatar/fe9ad51277ab246de267f489d6ecf157.jpg?s=120&d=mm&r=g)
Am Samstag, 18. August 2018, 11:47:27 CEST schrieb MOHIT B.:
Hello Everyone,
I am new to RPM packaging and I am trying to package weechat for SLE12-SP3 and am facing `prhread_getspecific` error,
`/home/abuild/rpmbuild/BUILD/weechat-2.2/src/plugins/perl/weechat-perl.c:3 52: undefined reference to `pthread_getspecific'` I searched over the internet to find the solution but I am unable to understand on how to implement this in packaging, like where to add/remove that certain flag (pthread).
I added one line to the spec file: BuildRequires: glibc-devel and it builds now. here to see: https://build.opensuse.org/package/show/ home:lemmy04:branches:openSUSE:Backports:SLE-15/weechat Cheers MH -- Mathias Homann Senior Systems Engineer, IT Consultant. IT Trainer Mathias.Homann@openSUSE.org http://www.tuxonline.tech gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102