On Sat, 2 Mar 2019 16:55:16 +0100 Torfinn Ingolfsen <tin...@gmail.com> wrote:
> On Sun, Feb 24, 2019 at 11:22 PM Christoph Moench-Tegeder > <c...@burggraben.net> wrote: > > > > > > The main question is why it detects Coin as "-lCoin", which can't > > be found by the linker without a matching "-L/usr/local/lib" (it's > > ok when Coin is linked as just "/usr/local/lib/libCoin.so"). > > There may be some hints in cmake's somewhat more verbose output > > in work/.build/CMakeFiles/CMakeOutput.log (and CMakeError.log). > > I would suspect something in your environment (LDFLAGS? picked > > up different linker between configure and build stages?) > > > > Anyways, I gave up on this (there are too many variables and I > > still cannot reproduce this in clean environments, whatever I do > > Coin is picked up as expected). > > As a possible workaround I forced "-L/usr/local/lib" into LDFLAGS - > > looks like the linker invocation should now work in your case. > > > > updated the ports tree again, and tried upgrading the FreeCAD port, > but the build fails as before. > I've put the build output and CMakeOutput.log (there is no > CMakeError.log) at > https://sites.google.com/site/tingox/asus_m5a78l_usb3_freebsd > in case it helps. > > I'm not sure what in my environment the port build could pick up. I > have nothing in /etc/make.conf, and no src.conf on this machine. > Perhaps it is picking up something from /usr/local/FreeCAD? Except > that there isn't a libcoin there. > > HTH I also don't have anything in /etc/make.conf and not in src.conf and the FreeBSD 12-RELEASE is fresh installed on the new HD and I have not just "lCoin" but much more: /usr/bin/ld: error: unable to find library -lCoin /usr/bin/ld: error: unable to find library -lGL /usr/bin/ld: error: unable to find library -lXext /usr/bin/ld: error: unable to find library -lSM /usr/bin/ld: error: unable to find library -lICE /usr/bin/ld: error: unable to find library -lX11 c++: error: linker command failed with exit code 1 (use -v to see invocation) *** [lib/libFreeCADGui.so] Error code 1 -- by ajtiM ---------------------- FreeBSD 12.0-Release _______________________________________________ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"