From owner-freebsd-ports@FreeBSD.ORG Mon Sep 30 13:30:09 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C983874B for ; Mon, 30 Sep 2013 13:30:09 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B367C25F2 for ; Mon, 30 Sep 2013 13:30:09 +0000 (UTC) Received: from [10.1.3.5] (cnet520-windstream.mcclatchyinteractive.com [166.108.16.2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id 6F0821A3A9D; Mon, 30 Sep 2013 13:30:03 +0000 (UTC) Message-ID: <52497CDA.7010206@mail.lifanov.com> Date: Mon, 30 Sep 2013 09:30:02 -0400 From: Nikolai Lifanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org, Miguel Clara Subject: Re: Thunderbird Shared object "libldap60.so" not found, required, by "libxul.so" Couldn't load XPCOM. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 13:30:09 -0000 On 09/29/13 08:00, freebsd-ports-request@freebsd.org wrote: > After successful compiling thunderbird on FreeBSD I'm not able to run it! > > This is a FreeBSD 10-current (r255788) box, and I'm getting this error: > > miguelc@r2d2:/home/miguelc % thunderbird > XPCOMGlueLoad error for file /usr/local/lib/thunderbird/libxul.so: > Shared object "libldap60.so" not found, required by "libxul.so" > Couldn't load XPCOM. > > > > The odd thing is that the required lib seems to be installed: > /usr/local/lib/thunderbird % ls -l > total 87308 > -rw-r--r-- 1 root wheel 480 Sep 28 09:03 application.ini > -rw-r--r-- 1 root wheel 45386 Sep 12 01:29 blocklist.xml > drwxr-xr-x 4 root wheel 512 Sep 28 15:19 chrome > -rw-r--r-- 1 root wheel 40 Sep 28 09:04 chrome.manifest > drwxr-xr-x 2 root wheel 512 Sep 28 15:19 components > drwxr-xr-x 4 root wheel 512 Sep 28 09:04 defaults > -rw-r--r-- 1 root wheel 66 Sep 28 09:02 dependentlibs.list > drwxr-xr-x 2 root wheel 512 Sep 28 15:19 dictionaries > drwxr-xr-x 3 root wheel 512 Sep 28 15:19 extensions > drwxr-xr-x 2 root wheel 512 Sep 28 15:19 isp > -rwxr-xr-x 1 root wheel 227654 Sep 28 06:13 libldap60.so <--- > -rwxr-xr-x 1 root wheel 10781 Sep 28 06:13 libldif60.so > -rwxr-xr-x 1 root wheel 11666 Sep 28 06:03 libmozalloc.so > -rwxr-xr-x 1 root wheel 48161 Sep 28 06:13 libprldap60.so > -rwxr-xr-x 1 root wheel 77965954 Sep 28 09:02 libxul.so > -rwxr-xr-x 1 root wheel 107797 Sep 28 08:51 mozilla-xremote-client > -rw-r--r-- 1 root wheel 10469164 Sep 28 15:19 omni.ja > -rw-r--r-- 1 root wheel 46 Sep 28 08:55 platform.ini > -rwxr-xr-x 1 root wheel 92893 Sep 28 09:02 plugin-container > -rw-r--r-- 1 root wheel 20126 Sep 28 09:04 removed-files > -rwxr-xr-x 1 root wheel 8915 Sep 28 05:57 run-mozilla.sh > drwxr-xr-x 2 root wheel 512 Sep 28 15:19 searchplugins > -rwxr-xr-x 1 root wheel 112077 Sep 28 15:19 thunderbird > -rwxr-xr-x 1 root wheel 112076 Sep 28 09:03 thunderbird-bin > > > I've deinstalled and rebuilded the port but still get this error. > > Any help is appreciated, > > Thanks! It's installed, but ld can't find it. You can add /usr/local/lib/thunderbird to ldconfig path (possibly by creating /usr/local/libdata/ldconfig/thunderbird with this in it). I already submitted a PR about this: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182377 - Nikolai Lifanov