/etc/libmap.conf

Matthew N. Dodd mdodd at FreeBSD.ORG
Thu Apr 3 01:40:32 PST 2003


On Thu, 3 Apr 2003, Matthew N. Dodd wrote:
> ftp://ftp.jurai.net/users/winter/patches/libmap.patch

I've just updated this patch to support constrained mappings:

#
libc_r.so.5	libthr.so.1	# map all
[/usr/local/bin/mplayer]	# map specific
libc_r.so.5	libc_r.so.5
...
etc.

Default entries must be listed first.  If you run things out of your path
you'll need to provide two entries:

[foo]
libbar.so.1	libbaz.so.1
[/usr/bin/foo]
libbar.so.1	libbaz.so.1

I'm open to suggestions on how to specify that a constrained match
should specify that it wants to have basename() run against candidates.

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| winter at jurai.net |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |


More information about the freebsd-threads mailing list