This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Linking against shared library linked to another shared one, please help
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