Date: Sat, 2 Mar 2019 17:36:21 -0500 From: <starikarp@dismail.de> To: Torfinn Ingolfsen <tingox@gmail.com> Cc: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: FreeCAD 0.17 - is anyone using it? Message-ID: <20190302173621.2ec22c07@dismail.de> In-Reply-To: <CAJ_iqtYYbn0MmXGLENZT5qOjdf4=sFKDD_1PTuO18cZuBj%2BLww@mail.gmail.com> References: <CAJ_iqtZxFaXmu0ACOQt0mFK9UATfzyLocMTuRybOFiECFjLg7g@mail.gmail.com> <20190209130245.GA32159@elch.exwg.net> <CAJ_iqtYtkmeUuvtgmE903N7K5M2XaszWZV0Ga75dwhSC9DmDbw@mail.gmail.com> <20190209211210.GD32159@elch.exwg.net> <CAJ_iqtaVTS9oe79_cOCZjeicnMnaRsHYfp9Y5z=wUyjMxDxZYw@mail.gmail.com> <20190214220235.GA2390@elch.exwg.net> <CAJ_iqtZ70r63w4z0v_=_k7c4g0Cgww8MvsdyJxq8g6-cLOubkw@mail.gmail.com> <20190216112331.GB2502@elch.exwg.net> <CAJ_iqtbhTs8L%2BmAJv7fmnGznQ=iaZqDEXURpX14ezcG43QeJxQ@mail.gmail.com> <20190224205258.GA30765@elch.exwg.net> <CAJ_iqtYYbn0MmXGLENZT5qOjdf4=sFKDD_1PTuO18cZuBj%2BLww@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2 Mar 2019 16:55:16 +0100 Torfinn Ingolfsen <tingox@gmail.com> wrote: > On Sun, Feb 24, 2019 at 11:22 PM Christoph Moench-Tegeder > <cmt@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190302173621.2ec22c07>