-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Ondrej,
I do not want to export any internal symbols, in fact I do: - --export-symbols $(srcdir)/libunbound/ubsyms.def so that only the symbols in the header file should be exported ... I guess this is not working somehow. Best regards, Wouter Ondřej Surý wrote: > Hi, > > I checked man page of libunbound and it seems to me that there are many > internal symbols in libunbound (since public interface is only ub_*). > > Perhaps you need to split library in two? So libunbound exports only > public interface as documented in libunbound(3)? That way you can > have libunbound-private (or something like that) where you could > increase SONAME each time you remove symbol and it will not hit > other binaries linked against libunbound. Other way is to bump > soname when you remove symbols (ie. backwards compatibility). > > I know it's pain in the ass - but now nobody can stop third party > from using internal symbols from this library and there third party > programs would break when you change API/ABI. > > Ondrej. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAkmULIAACgkQkDLqNwOhpPhaUQCfSG44Hezcv9kFOI/XnQ7Q1rDi EGsAnRYokJSHEGHtODl765nomj0scmc5 =UBI3 -----END PGP SIGNATURE----- _______________________________________________ Unbound-users mailing list [email protected] http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
