Thunderbird Shared object "libldap60.so" not found, required, by "libxul.so" Couldn't load XPCOM.

Nikolai Lifanov lifanov at mail.lifanov.com
Mon Sep 30 13:30:09 UTC 2013


On 09/29/13 08:00, freebsd-ports-request at 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 at 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



More information about the freebsd-ports mailing list