build error in libXext

Donald Byrd don at tig.org
Fri Sep 21 02:00:08 UTC 2018


Hello,

I am encountering an error installing software that has libXext as a dependency. The error from libXext build is that /usr/local/lib/libpthread-stubs.so is not found. Making devel/libpthread-stubs is no help, it seems to only create pthread-stubs.pc. Seems like I’m missing something fundamental but I’m lost as to what it is. Any ideas?

FreeBSD 11.2-RELEASE-p3 FreeBSD 11.2-RELEASE-p3 #0: Thu Sep  6 07:14:16 UTC 2018     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

# $FreeBSD: head/x11/libXext/Makefile 479538 2018-09-11 18:34:27Z zeising $

--- libXext.la ---
/bin/sh ../libtool  --tag=CC    --mode=link cc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe  -fstack-protector -fno-strict-aliasing  -version-number 6:4:0 -no-undefined -fstack-protector -o libXext.la -rpath /usr/local/lib DPMS.lo MITMisc.lo XAppgroup.lo XEVI.lo  XLbx.lo XMultibuf.lo XSecurity.lo XShape.lo XShm.lo XSync.lo  XTestExt1.lo Xcup.lo Xdbe.lo Xge.lo extutil.lo globals.lo -L/usr/local/lib -lX11
libtool: link: cc -shared  -fPIC -DPIC  .libs/DPMS.o .libs/MITMisc.o .libs/XAppgroup.o .libs/XEVI.o .libs/XLbx.o .libs/XMultibuf.o .libs/XSecurity.o .libs/XShape.o .libs/XShm.o .libs/XSync.o .libs/XTestExt1.o .libs/Xcup.o .libs/Xdbe.o .libs/Xge.o .libs/extutil.o .libs/globals.o   -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libX11.so /usr/local/lib/libxcb.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so /usr/local/lib/libpthread-stubs.so -lrpcsvc  -O2 -fstack-protector -fstack-protector   -Wl,-soname -Wl,libXext.so.6 -o .libs/libXext.so.6.4.0
cc: error: no such file or directory: '/usr/local/lib/libpthread-stubs.so'
*** [libXext.la] Error code 1




More information about the freebsd-x11 mailing list