Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2017 22:47:51 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        blubee blubeeme <gurenchan@gmail.com>
Cc:        Kurt Jaeger <lists@opsec.eu>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Linking against TK*
Message-ID:  <CAN6yY1sf7on_r-0DcGQT7w43D4eObpufeFBCZAcfVUkz6nDpmw@mail.gmail.com>
In-Reply-To: <CALM2mEkf0PtSGQw1RQRP2DNA_05t1O1cfvmAe7GdQJW5Qs2B1Q@mail.gmail.com>
References:  <CALM2mEk9a7y8OFTCWhhLXBaX4G4WAB-hdCTRxO_hC58cGyVqDw@mail.gmail.com> <20171024051537.GA34891@home.opsec.eu> <CALM2mEkf0PtSGQw1RQRP2DNA_05t1O1cfvmAe7GdQJW5Qs2B1Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?CAN6yY1sf7on_r-0DcGQT7w43D4eObpufeFBCZAcfVUkz6nDpmw>