On Thu, 25 Nov 2010, Jiri B. wrote:

> Hi,
> 
> I wanted to give a try to x11/pinot but...
> 
> Previous instance 32393 died prematurely
> pinot-dbus-daemon:/usr/local/lib/pinot/backends/libxapianbackend.so: 
> undefined symbol '__dso_handle'
> 
> ...unusable, as it cannot create index :(
> 
> Ports from Nov 25th, snapshot from Nov 20th. I tried to build pinot from
> ports manually, same issue.

It looks like a bug in gcc.
>From http://gcc.gnu.org/java/faq.html#4_7 :

4.7 I'm getting 'undefined symbol: __dso_handle'

Some versions of the GNU linker have broken support for the '.hidden' 
directive, which results in problems with shared libraries built with 
recent versions of gcc.

    There are three solutions:

        * downgrade to binutils that don't support .hidden at all,
        * upgrade to a recent binutils, or
        * undef the HAVE_GAS_HIDDEN definition in gcc's auto-host.h (and 
rebuild gcc).

-- 
Antoine

Reply via email to