From mboxrd@z Thu Jan 1 00:00:00 1970 From: Willem Jan Withagen Subject: Re: Compiling for FreeBSD Date: Tue, 8 Dec 2015 11:04:13 +0100 Message-ID: <5666AB1D.5010101@digiware.nl> References: <565B3999.3050302@digiware.nl> <565B4A7F.60301@digiware.nl> <20151130065812.GA20205@gmail.com> <565D7FA8.3010301@digiware.nl> <565DA3B5.1070608@digiware.nl> <565DC9D4.7060701@digiware.nl> <565DE234.6070505@digiware.nl> <565DEA60.7010608@digiware.nl> <565F5A03.7020401@digiware.nl> <5661DBB8.1040505@digiware.nl> <5661F358.2060401@digiware.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from smtp.digiware.nl ([31.223.170.169]:25326 "EHLO smtp.digiware.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933224AbbLHKEs (ORCPT ); Tue, 8 Dec 2015 05:04:48 -0500 In-Reply-To: <5661F358.2060401@digiware.nl> Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Gregory Farnum Cc: "Yan, Zheng" , Sage Weil , Alan Somers , Mykola Golub , Haomai Wang , Ceph Development On 4-12-2015 21:11, Willem Jan Withagen wrote: One larger problem with libraries I have is the stuff with dlopen. In ./configure it seems that most of the code is short-circuited, and -ldl gets appended in the Makefile.am's by default. The code there is rather hard to parse. FreeBSD has this in libc, so no specific includes needed. Now the question is how do I cleanly fix this without breaking just about every other platform? Thanx, --WjW