libc++ vs. libstdc++ usage in the ports tree
Steve Kargl
sgk at troutmask.apl.washington.edu
Wed Nov 27 18:43:13 UTC 2013
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
More information about the freebsd-current
mailing list