Linking against shared library linked to another shared one, please help

Ian Lance Taylor ian@airs.com
Thu Mar 10 16:00:00 GMT 2005


matteo.pampolini@seleniacomms.com writes:

> Ok, suppose a C app links against shared libAAA that in turns links against
> libBBB:
> why should I tell app of libBBB presence?
> 
> If I want to hide the implementation of libAAA and eventually later change
> it, I should be
> able to avoid putting this information inside app compilation process,
> isn't it?
> 
> I had a look at ld man page in -rpath-link section, but it seems to me that
> it doesn't
> fit my needs.

Why not?

Ian



More information about the Binutils mailing list