Date: Sun, 17 Feb 2019 23:16:57 +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: <d7b7ff34-f98e-dfca-9580-09d70d5fcb25@grosbein.net> In-Reply-To: <20190217154628.GA96865@night.db.net> References: <a2102b4e-7d7a-7d5b-2ba1-b9a14f8574f6@pinyon.org> <f6a45ec9-7ae4-d9ba-f71c-f2ef8c235039@grosbein.net> <20190217151501.GA68620@night.db.net> <f50a363c-10fb-f34c-891e-b05e0e65b8f4@grosbein.net> <20190217154628.GA96865@night.db.net>
next in thread | previous in thread | raw e-mail | index | archive | help
17.02.2019 22:46, Diane Bruce wrote: >> 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 >> > > Sure but I'm guessing not all python ports *need* gfortran hence > we shouldn't force all python coded ports to use the gfortran libgcc_s.so libmap.conf(5) manual page documents how to restrict such mappings per-directory. One can create symlink for the interpreter and restrict the mapping for symlink only. > Moreover, the libmap would have to be updated everytime gfortran got > updated Not quite: libgcc_s.so.1 needs mapping for interpreter only as our port building system already creates libgfortran.so with right rpath for libgcc_s.so.1: # ldd /usr/local/lib/gcc8/libgfortran.so.5 /usr/local/lib/gcc8/libgfortran.so.5: libquadmath.so.0 => /usr/local/lib/gcc8/libquadmath.so.0 (0x80146e000) libz.so.6 => /lib/libz.so.6 (0x8016ad000) libm.so.5 => /lib/libm.so.5 (0x8018c5000) libgcc_s.so.1 => /usr/local/lib/gcc8/libgcc_s.so.1 (0x801af3000) libc.so.7 => /lib/libc.so.7 (0x800823000)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d7b7ff34-f98e-dfca-9580-09d70d5fcb25>