From owner-freebsd-ports@freebsd.org Tue Oct 24 05:47:53 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 189FAE40CFD for ; Tue, 24 Oct 2017 05:47:53 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ua0-x22f.google.com (mail-ua0-x22f.google.com [IPv6:2607:f8b0:400c:c08::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C1C9671539 for ; Tue, 24 Oct 2017 05:47:52 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ua0-x22f.google.com with SMTP id w45so14601129uac.3 for ; Mon, 23 Oct 2017 22:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=50LGzon2dsRMB134QiHVyOxowuoFBnZg9VBoX0LMETM=; b=UCaZJ+N2c/p3Wj3BWOKvvecFVhH0MsXr8Y3hM6zjAOpxs0wq7HbJcqfbcKTGArZCFZ 4WkkqhcCVfHoX3Ek7YJO5jDi//tpCiiSJlXbYAw5Rer9MlV7NZTfB3OZWoOTB5UI+bLS aBAFm1QRGhKr95n2KNX0009xOYmxU3byeQpI15Zmr4Ly2QE/xWpfEDId9Ffsp2sBI8CX dfI1pyef8ztiDNGNOa4Aro8FZSUxKb6pE4bSJHG1JsxMGYEoaz//UG69meOu3r8N+Hzw OwlgRcz5q8T7kzcRzcayUG8vr/Q4HDoBRkzpgF3GET8NlFvvnVMAsGP5jjkbaEM5RDSZ dcRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=50LGzon2dsRMB134QiHVyOxowuoFBnZg9VBoX0LMETM=; b=ikuOOvTjdtsB+fbvayR2J4h5SGJC8fn3QBVRij+Dqnb1MA5uiLlFF+2kXx46S+K+LT yxZhOgkNW5Aor06o41eF+r/nhlB7yPo0Zz7wJfjhNLQlLP4zx8Ws2l9sXPcWlw9zvBUL /Tfa4nydrn/fHyNxyj2DnJBjsW7Pi1tCCRTfZAtWbjUi4k8bIxjPAp8u8XCn/mgccyq/ 1qH9DaoLNBFI3ycJSiEbMPaC22ue114YiomWVljCUhRMsYGZreiCrX69JTRvoVqauZsn ZdFDsFhgFRQVPx2ZkZNLutNaaEw8q2wjXImUDFAWxn9AB9HIevgh7DJCUkK08e3dvzDw il8g== X-Gm-Message-State: AMCzsaUVKCg/C+N6MMB8M6MMJvR5oKUnYAyI3g3Q0o3puU9rPkFf1fiC ttMEyrziv8mtw5Y10qobRUxstMuXLlmkaNM2BSs= X-Google-Smtp-Source: ABhQp+Q8VSwXFSZI9VJkTBKhLzqywGAunhdlzvajLPX9VeADDPIfcZGwzaknMlvYHrmNXYd4l8Uo1uVpReQRI8yqjXU= X-Received: by 10.176.5.167 with SMTP id e36mr12866514uae.153.1508824071784; Mon, 23 Oct 2017 22:47:51 -0700 (PDT) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.103.85.8 with HTTP; Mon, 23 Oct 2017 22:47:51 -0700 (PDT) In-Reply-To: References: <20171024051537.GA34891@home.opsec.eu> From: Kevin Oberman Date: Mon, 23 Oct 2017 22:47:51 -0700 X-Google-Sender-Auth: jKnxbbPFX856HcClpwW56dh8HR0 Message-ID: Subject: Re: Linking against TK* To: blubee blubeeme Cc: Kurt Jaeger , FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2017 05:47:53 -0000 On Mon, Oct 23, 2017 at 10:29 PM, blubee blubeeme 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 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