Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Feb 2014 07:48:42 +0100
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        Baptiste Daroussin <bapt@FreeBSD.org>,  Matthias Andree <mandree@FreeBSD.org>
Cc:        Dimitry Andric <dim@FreeBSD.org>, ports-list freebsd <freebsd-ports@freebsd.org>
Subject:   Re: graphics/rawtherapee: r342622 crashes on HEAD
Message-ID:  <52F3304A.2040900@gwdg.de>
In-Reply-To: <52F325AA.4060507@gwdg.de>
References:  <52F2952E.3090509@gwdg.de> <CD6B45AC-9AA0-410F-87E3-11CAB3A87733@FreeBSD.org> <52F29CE7.2050208@FreeBSD.org> <20140205212042.GP23872@ithaqua.etoilebsd.net> <52F325AA.4060507@gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help


Am 06.02.2014 07:03 (UTC+1) schrieb Rainer Hurling:
> Am 05.02.2014 22:20 (UTC+1) schrieb Baptiste Daroussin:
>> On Wed, Feb 05, 2014 at 09:19:51PM +0100, Matthias Andree wrote:
>>> Am 05.02.2014 21:08, schrieb Dimitry Andric:
>>>
>>>>> #17 0x00000000484c0ee0 in std::__1::locale::id::__next_id () from
>>>>> /usr/local/lib/libc++.so.1
>>>>
>>>> Hmm, is this a ports version of libc++?  I was not aware Baptiste had
>>>> already committed this? :) 
>>>
>>> Yes, it is (as a build requisite, but apparently remained installed on
>>> the destination machine), because we need to match the libraries that
>>> the requisites use (Glibmm for one).
>>>
>>> I have given up on compiling RawTherapee with clang++ for now, and use
>>> GCC 4.8 on all systems.  RawTherapee is somewhat demanding, especially
>>> at higher optimization level, and kills the 10.0-RELEASE base clang and
>>> Port GCC 4.6 and 4.7, all with internal compiler errors.  Since GCC 4.8
>>> worked for me, I did not bother to send Gerald the details.
>>>
>>> We may want to retry with clang if we've got the next clang version.
>>> Feel free to use Rawtherapee as compiler system test ;)
>>>
>>
>> try with something like this in libmap.conf
>> libc++.so.1 /usr/local/lib/libc++.so.1
>> If that fixes the problem, then a rpath with /usr/local/lib should be set while
>> building the port
> 
> Hmm, I am not very familiar with libmapping. After adding it to
> /etc/libmap.conf I get
> 
> #rawtherapee	
> Shared object "/usr/local/lib/libc++.so.1" not found, required by
> "rawtherapee"

I just recognized, that in my CURRENT boxes in base their are two
versions of libc++:

#ll /usr/lib/libc++.so*
-r--r--r--  1 root  wheel  -    134  3 Aug 22:33:00 2013 /usr/lib/libc++.so
-r--r--r--  1 root  wheel  - 768248  4 Feb 18:08:00 2014
/usr/lib/libc++.so.1

Shouldn't libc++.so be a link to libc++.so.1 or at least also come from
the newest built?

> 
> Thanks for the tip,
> Rainer
> 
>>
>> regards,
>> Bapt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52F3304A.2040900>