From owner-freebsd-stable@freebsd.org Mon Apr 27 16:07:46 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 821F52BDD3B for ; Mon, 27 Apr 2020 16:07:46 +0000 (UTC) (envelope-from pietro.paolini@cognitivecredit.com) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 499qS120ZNz4G6r for ; Mon, 27 Apr 2020 16:07:45 +0000 (UTC) (envelope-from pietro.paolini@cognitivecredit.com) Received: by mail-io1-xd2f.google.com with SMTP id w4so19386105ioc.6 for ; Mon, 27 Apr 2020 09:07:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cognitivecredit.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=zT27dEkSfCg6Yck4xWzbUhmPrCoti9d84c6kdvJtoS8=; b=XNxwIJdpdxBX3Bt/S6be+GxV/0Hg6LFd4W0wiiqdf1tRYaxDf5bDCSeuBqgCwNtE05 JYpFsFdrNwmEu8kdpHspyZiWMFJ+f/i3WakVX9Y9QxHCJN7saSQR1LYnzGfCzsC924/5 /5TQFZ+r3YDheLIpOp+2sbQbgJ50U/N4Gd1YQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zT27dEkSfCg6Yck4xWzbUhmPrCoti9d84c6kdvJtoS8=; b=BDuw9lnGnkGJT1BViBL+AxBl70N6dZ9QFyGSmiydrgmZjDdH+sEn3OsqciulOhX5La mdk5jLIUJBSs6Q6/47XZ8Quqxpfq224/Ks7DIBbklzucIPigAi0oJGn+EdkL2yf0o6S2 I4kmGlpKHFLsFTUfvl9xh/4RVEsi8HUpsoSb+IowFqGatJfbp87OisFhzCVi8AWtUCs/ om+Lg8UGn+mJJV9o37AaC4uYhOXEjwdfcdLYzftWGPf56qOUwkwmgaCjWGOUIpLY9sW3 Tj6EqdMvqaW2lF0U7ibncQ/pqzgAVVJEpE0r1SWEahUz2+V1vhwTo5MOkvz1+5tM50dr VDOQ== X-Gm-Message-State: AGi0PuYz1YeORUPV20SJli2vEX1lp0w+83f0wBeR0C77dZidFwldj490 BFbmJZhSQkTD906NphQqM5mGI7bB7J1S3MiVv0Zl1ntP008= X-Google-Smtp-Source: APiQypIKSYjDmwz5Cepz9fJWrhxRLlJK4sNEpRmQklwbREsCAqWnemnLyfKCiLtMQ3t/gtUoqmfMginMez7m1o3Nidw= X-Received: by 2002:a6b:cac5:: with SMTP id a188mr1604221iog.145.1588003663705; Mon, 27 Apr 2020 09:07:43 -0700 (PDT) MIME-Version: 1.0 From: Pietro Paolini Date: Mon, 27 Apr 2020 17:07:32 +0100 Message-ID: Subject: CMake build To: freebsd-stable@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 499qS120ZNz4G6r X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cognitivecredit.com header.s=google header.b=XNxwIJdp; dmarc=pass (policy=none) header.from=cognitivecredit.com; spf=pass (mx1.freebsd.org: domain of pietro.paolini@cognitivecredit.com designates 2607:f8b0:4864:20::d2f as permitted sender) smtp.mailfrom=pietro.paolini@cognitivecredit.com X-Spamd-Result: default: False [-4.47 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[cognitivecredit.com:s=google]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DKIM_TRACE(0.00)[cognitivecredit.com:+]; DMARC_POLICY_ALLOW(-0.50)[cognitivecredit.com,none]; RCVD_IN_DNSWL_NONE(0.00)[f.2.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-1.47)[ip: (-6.53), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Apr 2020 16:07:46 -0000 Hi all, I am new to FreeBSD even though I have been working in Unix environments for a long while (mainly Linux). I am struggling to build a library locally, using cmake - the library builds fine on a Linux machine as long as dependencies are satisfied. However in my case CMake gets all the dependencies correctly - namely it finds all libraries it needs - but it fails lo link them: ld: error: unable to find library -lnss3 ld: error: unable to find library -lsmime3 ld: error: unable to find library -lssl3 ld: error: unable to find library -lnssutil3 ld: error: unable to find library -lplds4 ld: error: unable to find library -lplc4 ld: error: unable to find library -lnspr4 ld: error: unable to find library -lopenjp2 ld: error: unable to find library -lnss3 ld: error: unable to find library -lsmime3 ld: error: unable to find library -lssl3 ld: error: unable to find library -lnssutil3 ld: error: unable to find library -lplds4 ld: error: unable to find library -lplc4 ld: error: unable to find library -lnspr4 ld: error: unable to find library -lopenjp2 Not a single one is found - I must be doing a silly mistake somewhere - I am wondering, is there any need from my side to tell CMake I am about to use not GNU Make ? I did not specify anything in my case - I only typed 'cmake ..' Thanks, Pietro