Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2019 22:42:03 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Diane Bruce <db@db.net>
Cc:        "Russell L. Carter" <rcarter@pinyon.org>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: FreeCAD 0.17 && /lib//libgcc_s.so.1
Message-ID:  <f50a363c-10fb-f34c-891e-b05e0e65b8f4@grosbein.net>
In-Reply-To: <20190217151501.GA68620@night.db.net>
References:  <a2102b4e-7d7a-7d5b-2ba1-b9a14f8574f6@pinyon.org> <f6a45ec9-7ae4-d9ba-f71c-f2ef8c235039@grosbein.net> <20190217151501.GA68620@night.db.net>

next in thread | previous in thread | raw e-mail | index | archive | help
17.02.2019 22:15, Diane Bruce wrote:

> Basically all we need is a pre-loader script for interpreters
> that run into this such as python. (I suspect there have to be other
> interpreters that run into this.) Perhaps something like 
> python2_gfortran or the like, all it has to do is PRELOAD or modify
> the library path  so we get the 'right' libgcc_s.so.

We already have libmap.conf(5). It should be possible to work around the problem
creating /usr/local/etc/libmap.d/python.conf with contents:

[python2.7]
libgcc_s.so.1 /usr/local/lib/gcc8/libgcc_s.so.1

[python3.4]
libgcc_s.so.1 /usr/local/lib/gcc8/libgcc_s.so.1





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f50a363c-10fb-f34c-891e-b05e0e65b8f4>