The build fails with /usr/bin/ld: l: invalid DSO for symbol `XGetWindowAttributes' definition /usr/local/lib/libX11.so.6: could not read symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Accorrding to objdump, libX11.so.6 contains XGetWindowAttributes. Fix: Pass -lX11 to the compiler (that requires the -L): Regards, Christoph--dOs0dMf6X3I2L4dCeCEO5mdwYsqgDNKl1MZKjEwhWnJNWQyi Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" Index: Makefile =================================================================== --- Makefile (revision 337087) +++ Makefile (working copy) @@ -67,7 +67,7 @@ CONFIGURE_ARGS+= --enable-keymap=lynx .endif -CONFIGURE_ENV= DEFS="-I${LOCALBASE}/include" +CONFIGURE_ENV= DEFS="-I${LOCALBASE}/include" LDFLAGS="-L/usr/local/lib" LIBS="-lX11" post-patch: @${REINPLACE_CMD} -e \
Responsible Changed From-To: freebsd-ports-bugs->nobutaka Over to maintainer (via the GNATS Auto Assign Tool)
Hi, the problem "went away" - either this was a local issue or some other change fixed it, but I just cannot reproduce it. I think this PR might be closed. Sorry for the noise. Regards, Christoph -- Spare Space
State Changed From-To: open->closed Closed by submitter's request.
I have same problem as submitter.
Created attachment 147179 [details] patch for fixing problem
Fix committed.