tcpdump mailing list archives
Re: Fwd: New datasource implementation
From: "David Laight" <David.Laight () ACULAB COM>
Date: Tue, 3 Jan 2012 09:23:45 -0000
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.
Current thread:
- Re: Fwd: New datasource implementation David Laight (Jan 03)
- Re: Fwd: New datasource implementation Guy Harris (Jan 03)
- Re: Fwd: New datasource implementation David Laight (Jan 04)
- Re: Fwd: New datasource implementation Guy Harris (Jan 03)