From owner-freebsd-current@FreeBSD.ORG Tue Mar 12 23:05:10 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 71F3E9A8 for ; Tue, 12 Mar 2013 23:05:10 +0000 (UTC) (envelope-from jim.harris@gmail.com) Received: from mail-ee0-f42.google.com (mail-ee0-f42.google.com [74.125.83.42]) by mx1.freebsd.org (Postfix) with ESMTP id D37A5F10 for ; Tue, 12 Mar 2013 23:05:09 +0000 (UTC) Received: by mail-ee0-f42.google.com with SMTP id b47so171761eek.15 for ; Tue, 12 Mar 2013 16:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=EnT7Uw8VkWV8rWXZiF5MSM9halzom62POTQtCJpYjAE=; b=FmHnCzdESkWZHOpPG4iPjPFQonvkCSznoyFmtJ9KeGuOIduOW8gqYa+C66+Wmkm2g9 7Wwy4fgVVilZz9jO+6giK/E11sQ7M5QBVZpYbk79xa24r9lU79jAKsgipBdcD103GU/E U2pMnv3Sr3E5vKv8h9IhtRMBTAp8YdGIfDhbdAIeqHjEMBsssMftYpvxa8feEQF+HD1o yKgBBvQGw6uScipxbAlmqZehL5zzxg8zntA+SvISi+d+1clfQ6AHtC1zdGgIN8wEaPIx u7DpLxcBZkSJ8z7NI4pEQRvgaMwm1nlay58/4SPfLAmyiDJavLtrFPuK/kSKRji38Wrh bKFA== MIME-Version: 1.0 X-Received: by 10.14.3.133 with SMTP id 5mr52295800eeh.43.1363129508483; Tue, 12 Mar 2013 16:05:08 -0700 (PDT) Sender: jim.harris@gmail.com Received: by 10.14.96.129 with HTTP; Tue, 12 Mar 2013 16:05:08 -0700 (PDT) In-Reply-To: <1363128248.3078@da3m0n8t3r.com> References: <1363128248.3078@da3m0n8t3r.com> Date: Tue, 12 Mar 2013 16:05:08 -0700 X-Google-Sender-Auth: Q9xblXFhAbRO7GzXE3PwdnJpiig Message-ID: Subject: Re: libtool/ld shared libraries From: Jim Harris To: Waitman Gobble Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Mar 2013 23:05:10 -0000 On Tue, Mar 12, 2013 at 3:44 PM, Waitman Gobble wrote: > > Hi, > > I'm trying to figure out why my 10.0-CURRENT machine is having issues > producing *.so shared library... > > [659] > uname -a > FreeBSD dx.burplex.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r248165: Mon > Mar 11 18:20:30 PDT 2013 root@dx.burplex.com:/usr/obj/usr/src/sys/FURAHA > amd64 > > checking dynamic linker characteristics... no > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... no > > creating libtool > appending configuration tag "CXX" to libtool > checking whether the clang++ linker (/usr/bin/ld) supports shared > libraries... no > checking whether the clang++ linker (/usr/bin/ld) supports shared > libraries... no > checking dynamic linker characteristics... no > checking how to hardcode library paths into programs... unsupported > > [660] > pkg version | grep libtool > libtool-2.4.2 = > > > > (as example) my 9.1-STABLE machine is working OK. > > # uname -a > FreeBSD do.burplex.com 9.1-STABLE FreeBSD 9.1-STABLE #0 r246923M: Sun Feb > 17 18:30:48 PST 2013 da3m0n8t3r@do.burplex.com:/usr/obj/usr/src/sys/KAGISO > amd64 > > checking whether the cc linker (/usr/bin/ld) supports shared libraries... > yes > checking dynamic linker characteristics... freebsd9.1 ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > > # pkg_info | grep libtool > libtool-2.4.2 Generic shared library support script > > > > I kind of remember running into this in the past but I can't recall the > solution.. > > I've run into this before too. I believe it was the configure script interpreting "FreeBSD 10" as "FreeBSD 1", and therefore thinking shared library support wasn't available. Regards, -Jim