-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-01-04 15:19:30 -0500, Martin Laabs wrote: > Hi, > > I discovered it a bit further - solution 1 does not work - at least > not for newer libc.
Correct, I believe you really need the compat shims. Because all supported linux_base-* lack Linux 2.4.x support, the compat shims are not compiled into the libc at all, it seems. > However - since the problem is a libc function call - coulnd't I > use some LD_PRELOAD library to write a if_nameindex function that > is compatible to the freebsd linuxulator? I believe you can. Alternatively, you can rebuild libc to compile in the compat shims, i.e., patch sysdeps/unix/sysv/linux/kernel-features.h to set __ASSUME_NETLINK_SUPPORT to 0, rebuild the rpm, etc. Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQ50HqAAoJECXpabHZMqHOpBkH/22zV6gG+KI/G93hr4b75irW IfYyHBKsiSTibvq3L3HfEtfDjT9BBVOW4beuQyQ9/oQT9Zk+Jpd/h4THZEatWR/d U9g0dgPFriHzzIwPk2tPpjJRSEi6obDzeXxhV70oBDgNcBJUncKm4FLHOvVrm+0g IgDnEGvVpmioT/5tKmp3zncosCY0pqZ3pwybHwKxha29xvlqnKunLD3b6/+e9jac Rx0obdbl3kWb8H+NyHhjb0UOf3IPNWeAE+eVasMZNlF6KLX6j88mIWE0+rXcfBcN SM7hRVai3RgM9+u0fzVIeID2FUE17YUSjeV7dn47i9/VHzUoumYO99jI1LiZESI= =dArT -----END PGP SIGNATURE----- _______________________________________________ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"