Hello I found that in current OpenWRT, programs that uses libreadline (i checked two, birdc an atftp) are statically linked with it. The cause for this is that staging_dir/target-XXX/usr/lib contains libreadline.a, libreadline.so.5.2 and libreadline.so.5 (symlink), but does not contain libreadline.so (symlink). Linker tries to find libreadline.so and because it is missing, it uses libreadline.a (and links statically). If i manually add the symlink, programs are linked dynamically.
Is this a bug in libreadline package? -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
signature.asc
Description: Digital signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel