From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id 944087ED47 for ; Fri, 20 Jul 2012 18:31:17 +0200 (CEST) Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of Xavier.Leroy@inria.fr) identity=pra; client-ip=212.27.42.2; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="Xavier.Leroy@inria.fr"; x-sender="Xavier.Leroy@inria.fr"; x-conformance=sidf_compatible Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of Xavier.Leroy@inria.fr) identity=mailfrom; client-ip=212.27.42.2; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="Xavier.Leroy@inria.fr"; x-sender="Xavier.Leroy@inria.fr"; x-conformance=sidf_compatible Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp2-g21.free.fr) identity=helo; client-ip=212.27.42.2; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="Xavier.Leroy@inria.fr"; x-sender="postmaster@smtp2-g21.free.fr"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMCADuHCVDUGyoCkWdsb2JhbABFuBoDgSQiAQEBAQkLCwcUAySCIQEFUyUBBQsLEg8WDwkDAgECATcOBg0BBwEBiA2/DotOcIVwA5VFgROERoUxh2E X-IronPort-AV: E=Sophos;i="4.77,623,1336341600"; d="scan'208";a="151284307" Received: from smtp2-g21.free.fr ([212.27.42.2]) by mail4-smtp-sop.national.inria.fr with ESMTP; 20 Jul 2012 18:31:16 +0200 Received: from [192.168.1.3] (unknown [82.237.71.191]) by smtp2-g21.free.fr (Postfix) with ESMTP id 321264B014F; Fri, 20 Jul 2012 18:31:11 +0200 (CEST) Message-ID: <5009880D.8000005@inria.fr> Date: Fri, 20 Jul 2012 18:32:13 +0200 From: Xavier Leroy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: Keyan CC: caml-list@inria.fr References: <811EC13F-3683-4DDC-A780-00630A109559@pulsschlag.net> In-Reply-To: <811EC13F-3683-4DDC-A780-00630A109559@pulsschlag.net> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] Bug in libunix.a + Patch On 07/20/2012 04:45 PM, Keyan wrote: > _envrion was not found, when linking libunix.a to a library on Mac OS X: > > Undefined symbols for architecture x86_64: > "_environ", referenced from: > _unix_execvpe in libunix.a(execvp.o) > _unix_environment in libunix.a(envir.o) At the risk of sounding like a broken record, could you please file a report on our bug tracker: http://caml.inria.fr/mantis/ It's the best way to ensure that the issue will not slip past our radar. Also, please tell us which versions of MacOS X and of Xcode you're using. Because this sounds very much like a bug in the C library or in the linker: the "environ" variable is standardized as part of POSIX and derived standard like the Single Unix Specification, and MacOS X has been very very good so far at following POSIX standards. - Xavier Leroy