Date: Tue, 12 Mar 2013 16:05:08 -0700 From: Jim Harris <jimharris@freebsd.org> To: Waitman Gobble <uzimac@da3m0n8t3r.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: libtool/ld shared libraries Message-ID: <CAJP=Hc8OXq5gdJjNBJst2UmQq%2BeNMCt=WQiS8VxpSr2XhbXgFw@mail.gmail.com> In-Reply-To: <1363128248.3078@da3m0n8t3r.com> References: <1363128248.3078@da3m0n8t3r.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 12, 2013 at 3:44 PM, Waitman Gobble <uzimac@da3m0n8t3r.com>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJP=Hc8OXq5gdJjNBJst2UmQq%2BeNMCt=WQiS8VxpSr2XhbXgFw>