> On all modern UN*Xes, as far as I know, a dynamic library can 
> be linked with another dynamic library, and if a program is 
> explicitly linked with the first of those libraries, but 
> *not* explicitly linked with the second of those libraries, 
> the program will still work - the run-time linker will see 
> that the first library requires the second library and will 
> load and bind it in at run-time.

The gnu/linux folks have recently changed the behaviour
of gld (probably contrary to the elf specification, but
they tend not to care about standards) so that linker
will not assume that libraries referenced by DT_NEEDED
entries in other libraries have their symbols made available
to teh main program. This breaks many things!
(It also stops you implementing a shared library in
separate pieces.)

What happens at run time depends on the dynamic linker.

        David


-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Reply via email to