Re: Re: libc++ vs. libstdc++ usage in the ports tree

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Wed, 27 Nov 2013 10:43:02 -0800
On Wed, Nov 27, 2013 at 07:31:44PM +0100, Jan Henrik Sylvester wrote:
> On 11/14/2013 15:45, Steve Kargl wrote:
> > 
> > And in practice, it is broken.
> > 
> > http://lists.freebsd.org/pipermail/freebsd-current/2013-November/046565.html
> > 
> > QED
> 
> Trying to migrate to 10, I would like to keep octave. Have you found
> anything new? Having build the port and all dependencies with standard
> options, octave is segfaulting for me, too. Anyhow, I can run octave with:
> 
> env LD_PRELOAD=/usr/lib/libc++.so.1 octave
> 

Unfortunately, you need to add "USE_GCC=any" to math/octave/Makefile,
and rebuild it.  You theni need to run "ldd -a | more" and search for
shared libraries that are linked against both libc++ and libstdc++.
Then, add "USE_GCC=any" to those ports' Makefile and recompile.
I recall at least 4 that needed to be rebuilt, but only remember
fltk and libgraphite2.

-- 
Steve
Received on Wed Nov 27 2013 - 17:43:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:44 UTC