gsoap-devel-2.8.48-1.fc27 delivers /usr/include/stdsoap2.h that includes <xlocale.h> that was removed from glibc-2.25.90-8. The removal was intentional. The xlocale.h is included with this condition: # if defined(HAVE_XLOCALE_H) # include <xlocale.h> # else But the HAVE_XLOCALE_H is wrongly set with this code: # elif defined(__GLIBC__) || defined(__GNU__) [...] # if !defined(__GNUC__) || __GNUC__ >= 4 /* gcc 3 and earlier often refuse to compile _l functions */ [...] # define HAVE_XLOCALE_H # endif In other words it's always includes if GCC >= 4 is used. This prevents from building lcgdm package: cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strict-aliasing -fno-tree-sink -fPIC -D_LARGEFILE64_SOURCE -g -I../h -I/usr/include -pthread -DCTHREAD_LINUX -D_THREAD_SAFE -D_REENTRANT -DLOGFILE=\"/usr/var/log/lfc-dli/log\" -DWITH_IPV6 -c -o dli.o dli.c In file included from dliStub.h:18:0, from dliH.h:16, from dli.c:20: /usr/include/stdsoap2.h:684:13: fatal error: xlocale.h: No such file or directory # include <xlocale.h> ^~~~~~~~~~~ compilation terminated. make[1]: *** [<builtin>: dli.o] Error 1 make[1]: Leaving directory '/home/test/fedora/lcgdm/lcgdm-1.9.0/lfc-mysql/lcgdm-1.9.0/dli' Please stop including HAVE_XLOCALE_H.