Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2017 16:52:45 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        Kevin Oberman <rkoberman@gmail.com>
Cc:        Kurt Jaeger <lists@opsec.eu>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Linking against TK*
Message-ID:  <CALM2mEnqthhDFEzVKMMNA2o7mL1biO%2BFYgh_SCJbZDrgYYwpmA@mail.gmail.com>
In-Reply-To: <CALM2mE=8FkdV=UAs1-Rp%2BgbMdM-bcw2mpDiKkJoV37swF2UYjA@mail.gmail.com>
References:  <CALM2mEk9a7y8OFTCWhhLXBaX4G4WAB-hdCTRxO_hC58cGyVqDw@mail.gmail.com> <20171024051537.GA34891@home.opsec.eu> <CALM2mEkf0PtSGQw1RQRP2DNA_05t1O1cfvmAe7GdQJW5Qs2B1Q@mail.gmail.com> <CAN6yY1sf7on_r-0DcGQT7w43D4eObpufeFBCZAcfVUkz6nDpmw@mail.gmail.com> <CALM2mE=8FkdV=UAs1-Rp%2BgbMdM-bcw2mpDiKkJoV37swF2UYjA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I am a bit stumped.

I just realized that those libTK** files are installed insto
${STAGEDIR}/${PREFIX}/lib/libTK***.so

The question is how do I set cmake options to link to those shared
libraries installed into that directory?

On Tue, Oct 24, 2017 at 1:56 PM, blubee blubeeme <gurenchan@gmail.com>
wrote:

> I already took a look at the current opencascade port, most of those
> issues that patch addresses are fixed in the oce from github. opencascade
> isn't something u really run, you just link against it for maths the
> DRAWEXE is used for testing and that's what's missing some shared objects.
>
> I think I might be missing some USES or LIB_DEPENDS but this is a heavy
> port to compile so iteration time is really slow. I'll try using lang/tcl86
> and x11-toolkits/tk86 I think I might have missed those in previous
> attempts.
>
> On Tue, Oct 24, 2017 at 1:47 PM, Kevin Oberman <rkoberman@gmail.com>
> wrote:
>
>> On Mon, Oct 23, 2017 at 10:29 PM, blubee blubeeme <gurenchan@gmail.com>
>> wrote:
>>
>>> building opencascade community edition: https://github.com/tpaviot/oce
>>>
>>> but the executable is missing those libTK** shared objects. How would I
>>> link them in?
>>>
>>> On Tue, Oct 24, 2017 at 1:15 PM, Kurt Jaeger <lists@opsec.eu> wrote:
>>>
>>> > Hi!
>>> >
>>> > > I am running -ldd on a executable and I am missing links to a bunch
>>> > > of: libTK**.so files
>>> > >
>>> > > such as:
>>> > > libTKGeomBase.so.11 => not found (0)
>>> > > libTKG3d.so.11 => not found (0)
>>> > > libTKG2d.so.11 => not found (0)
>>> > > libTKMath.so.11 => not found (0)
>>> > >
>>> > > I've searched quite a bit and can't find where those files are
>>> located.
>>> > > What's going on, how do I link against them?
>>> >
>>> > https://pkgs.org/download/libTKG2d.so.11()(64bit) says that
>>> > those libs are part of opencascade.
>>> >
>>> > Searching cad/opencascade/pkg-plist finds
>>> >
>>> > lib/libTKG2d.so
>>> > lib/libTKG2d.so.7
>>> > lib/libTKG2d.so.7.1.0
>>> >
>>> > So, that's close, but not exactly what you searched. Does this help ?
>>> >
>>> > --
>>> > pi@opsec.eu            +49 171 3101372                         3
>>> years to
>>> > go !
>>> >
>>>
>>
>> Looking at the current port (cad/opencascade), I'd guess
>> -DINSTALL_DIR_LIB=${PREFIX}/lib as an argument to cmake. I suggest
>> looking at the port to see how to get the newer version to build as you
>> wish. Also look at the patches in files to see if any are appropriate and
>> should be updated to the current version.
>> --
>> Kevin Oberman, Part time kid herder and retired Network Engineer
>> E-mail: rkoberman@gmail.com
>> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
>>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEnqthhDFEzVKMMNA2o7mL1biO%2BFYgh_SCJbZDrgYYwpmA>