Re: build error in libXext

Gary Jennejohn <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
On Fri, 21 Sep 2018 01:59:47 +0000
Donald Byrd <[email protected]> wrote:

> 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     [email protected]:/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
> 

This seems like a regression, but it may be intentional.

pkg which /usr/local/lib/libpthread-stubs.so
/usr/local/lib/libpthread-stubs.so was installed by package libpthread-stubs-0.3_6

pkg upgrade libpthread-stubs
Upgrading libpthread-stubs from 0.3_6 to 0.4...

pkg which /usr/local/lib/libpthread-stubs.so
/usr/local/lib/libpthread-stubs.so was not found in the database

libpthread-stubs.so is also no longer present in the file system,
which I checked with locate after updating its database.

-- 
Gary Jennejohn
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.