In message <[email protected]>, Tony Fi nch writes: > Shawn Zhou <[email protected]> wrote: > > > Any problem has problem building BIND 9.10 for FreeBSD? We are using the > > same process that worked for building 9.9.4 to build 9.10 on FreeBSD > > 6.x/7.x but we are getting "ld: invalid BFD target" error. > > Yes. BIND's linking stage changed between 9.9 and 9.10 so instead of > invoking cc to link, its build scripts now invoke ld directly. If you used > to use -Wl to escape linker flags you must now pass them unescaped. > > My build used to have > export LDFLAGS="-Wl,-R/opt/OpenSSL/lib" > but now has > export LDFLAGS="-R/opt/OpenSSL/lib"
It's more that there is a loadable object being built to test loading of dynamicably loadable drivers. Most of the linking is still done through $CC. Also one shouldn't need to add LDFLAGS="-R/opt/OpenSSL/lib". configure adds it itself if the platform needs it. --with-openssl=/opt/OpenSSL should be enough. > Tony. > -- > f.anthony.n.finch <[email protected]> http://dotat.at/ > Southwest Forties, Cromarty, Forth, Tyne, Northwest Dogger: Southerly or > southwesterly 4 or 5. Slight or moderate. Showers. Good, occasionally > moderate. > _______________________________________________ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe > from this list > > bind-users mailing list > [email protected] > https://lists.isc.org/mailman/listinfo/bind-users -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: [email protected] _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/bind-users

