how is "configure: error: POSIX thread library is required" possible when things like MariaDB and even libevent are building fine?
_______________________________________ checking if x86_64-redhat-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-redhat-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-redhat-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-redhat-linux-gcc static flag -static works... no checking if x86_64-redhat-linux-gcc supports -c -o file.o... yes checking if x86_64-redhat-linux-gcc supports -c -o file.o... (cached) yeschecking whether the x86_64-redhat-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... x86_64-redhat-linux-g++ -E checking for ld used by x86_64-redhat-linux-g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yeschecking whether the x86_64-redhat-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-redhat-linux-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-redhat-linux-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-redhat-linux-g++ static flag -static works... no checking if x86_64-redhat-linux-g++ supports -c -o file.o... yes checking if x86_64-redhat-linux-g++ supports -c -o file.o... (cached) yeschecking whether the x86_64-redhat-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for library containing pthread_create... no configure: error: POSIX thread library is required
%global debug_package %{nil} Name: libzdb Version: 3.1 Release: 2%{?dist} Summary: Small, fast, and easy to use database API Group: System Environment/Libraries License: GPLv3+ and MIT URL: http://www.tildeslash.com/libzdb/ Source0: http://www.tildeslash.com/%{name}/dist/%{name}-%{version}.tar.gz BuildRequires: flex-devel BuildRequires: mariadb-devel BuildRequires: pkgconfig %description The Zild C Database Library implements a small, fast, and easy to use database API with thread-safe connection pooling. The library can connect transparently to multiple database systems, has zero configuration and connections are specified via a standard URL scheme %package devel Summary: Developer header files & libraries for libzdb database API Group: Development/Libraries Requires: libzdb = %{version}-%{release} %description devel Developer header files & libraries for libzdb database API %prep %setup -q rm -f doc/api-docs/._* %build export CFLAGS="%{optflags} -fPIC -fPIE" export CXXFLAGS="$CFLAGS" export FFLAGS="$CFLAGS" export CPPFLAGS="$CFLAGS" export LDFLAGS="-Wl,-z,now -Wl,-z,relro -pie %{optflags}" export SH_LDFLAGS="-Wl,-z,now -Wl,-z,relro %{optflags}" %configure --disable-static \ --with-pic \ --enable-protected \ --enable-optimized \ --disable-openssl \ --without-postgresql \ --without-sqlite \ --without-oci make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} rm -f %{buildroot}%{_libdir}/*.la strip -s %{buildroot}%{_libdir}/%{name}\.so\.* %{buildroot}%{_libdir}/%{name}.so %post -p %{_sbindir}/ldconfig %postun -p %{_sbindir}/ldconfig %files %{_libdir}/%{name}\.so\.* %files devel %{_includedir}/zdb %{_libdir}/%{name}.so %{_libdir}/pkgconfig/zdb.pc %changelog * Tue Sep 1 2015 Reindl Harald <h.reindl@xxxxxxxxxxxxx> - update to 3.1 * Sun May 18 2014 Reindl Harald <h.reindl@xxxxxxxxxxxxx> - SPEC cleanup * Tue Jan 7 2014 Reindl Harald <h.reindl@xxxxxxxxxxxxx> - update to 3.0 * Mon Aug 26 2013 Reindl Harald <h.reindl@xxxxxxxxxxxxx> - update to 2.12 * Mon Aug 26 2013 Reindl Harald <h.reindl@xxxxxxxxxxxxx> - update to 2.11.3 - tune configure-flags * Wed Aug 21 2013 Reindl Harald <h.reindl@xxxxxxxxxxxxx> - optimized and hardened rebuild - remove sqlite / postgresql dependencies
Attachment:
signature.asc
Description: OpenPGP digital signature
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct