Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2019 21:52:58 +0100
From:      Christoph Moench-Tegeder <cmt@burggraben.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: FreeCAD 0.17 - is anyone using it?
Message-ID:  <20190224205258.GA30765@elch.exwg.net>
In-Reply-To: <CAJ_iqtbhTs8L%2BmAJv7fmnGznQ=iaZqDEXURpX14ezcG43QeJxQ@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>

next in thread | previous in thread | raw e-mail | index | archive | help
## Torfinn Ingolfsen (tingox@gmail.com):

> I looked into the build log, but it doesn't tell me anything new:
> Coins is detected during configure / setup phase, and the suddenly
> during compile / link it fails a step because Coin (specifically
> -lCoin) can't be found

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.

Regards,
Christoph

-- 
Spare Space



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190224205258.GA30765>