linux_base and libreadline.so symlink (was: Re: Matlab)
Alexander Leidinger
Alexander at Leidinger.net
Mon Feb 27 09:20:05 PST 2006
Am Mon, 27 Feb 2006 16:26:20 +0300
schrieb Boris Samorodov <bsam at ipt.ru>:
> > Unfortunately it does not just ignore the fact it's a FreeBSD binary - it
> > blows up.
>
> > You can try adding a manual symlink - I have libreadline.so.4 from linux_base
> > but not libreadline.so, ie I suggest you do this..
> > cd /compat/linux/usr/lib
> > ln -s libreadline.so.4 libreadline.so
>
> Why didn't linux distribution do this symlink?
> Should our linux_base port do it (as well as for libtermcap.so and
> maybe others)?
The dynamic linker should have references to specific versions of a
library. The symlinks are typically only needed when compiling (more
correctly: linking) a program.
It may be the case that matlab opens the lib via dlopen(3), but I would
expect that other libs are dlopen'ed then too, not only libreadline.
I suggest to ktrace(1) or truss(1) matlab to determine what it tries to
do.
Bye,
Alexander.
--
"One world, one web, one program" -- Microsoft promotional ad
"Ein Volk, ein Reich, ein Fuehrer" -- Adolf Hitler
http://www.Leidinger.net Alexander @ Leidinger.net
GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7
WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/
More information about the freebsd-emulation
mailing list