From owner-freebsd-current@FreeBSD.ORG Wed Apr 4 14:04:59 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A84316A406; Wed, 4 Apr 2007 14:04:59 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from pobox.codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 080CD13C483; Wed, 4 Apr 2007 14:04:58 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender:X-Spam-Status:Subject; b=NPzs2c2U2dEEp6JAKeB67qBmvikZ/NtcC4QYOvxq3cBmLh16yXX7KCJxoqMlaF1D6y2EFseiw+5qcxIsZqtwyBTOv2LfG3nDo6e59Hdv53eLKjfDKUhJYyhTQrz1BpZkagVcZwGwix/0fwGP4n4Uy/5wdmX3/MupCpUjII4RMBI=; Received: from codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by pobox.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1HZ66Z-000LS9-4Z; Wed, 04 Apr 2007 18:04:55 +0400 Date: Wed, 4 Apr 2007 18:04:50 +0400 From: Eygene Ryabinkin To: Andrey Chernov , Alexander Kabaev , current@freebsd.org, ports@freebsd.org Message-ID: <20070404140450.GM26348@codelabs.ru> References: <20070404101321.GA37396@nagual.pp.ru> <20070404082346.64ce25cd@kan.dnsalias.net> <20070404125735.GA40094@nagual.pp.ru> <20070404090944.1a13e96f@kan.dnsalias.net> <20070404133529.GA40652@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20070404133529.GA40652@nagual.pp.ru> Sender: rea-fbsd@codelabs.ru X-Spam-Status: No, score=-2.2 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_40 Cc: Subject: Re: DSO loading (dlopen) appearse to be broken somehow X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 04 Apr 2007 14:04:59 -0000 Andrey, good day. Wed, Apr 04, 2007 at 05:35:29PM +0400, Andrey Chernov wrote: > On Wed, Apr 04, 2007 at 09:09:44AM -0400, Alexander Kabaev wrote: > > > 1) The symbols in question are all _defined_ inside main httpd > > > program. > > > > objdump -T output goes here. > > Those symbols are in 'nm' table of httpd like this > 0804a84a T ap_palloc > but not found in its objdump -T output. > > Why and how it may happens? Try '-Wl,--export-dynamic' flag to the gcc (or just --export-dynamic to the ld), it may help you. -- Eygene