Link against libtirpc

Dan Fandrich dan at coneharvesters.com
Tue Jul 5 21:47:07 UTC 2011


On Tue, Jul 05, 2011 at 04:14:34PM -0500, Zachary Kotlarek wrote:
> I'm building busybox against glibc-2.14, which no longer includes RPC headers or symbols. To compensate for that loss of functionality I've installed libtirpc and I've got busybox compiling against its headers without a problem.
> 
> But I need to link with "-ltirpc" so it can find the related symbols, and I can't figure out how to make that happen -- I couldn't find an LD_FLAGS configuration option, and the CFLAGS option doesn't seem to affect linking.
> 
> How can I tell busybox to include libtirpc when linking?

You can specify it in LDLIBS on the make command-line, but since that
overrides the build-in value, you'll probably need to set it to something
like LDLIBS='crypt m tirpc' to successfully link.

>>> Dan


More information about the busybox mailing list