libtool can't build shared library unless -no-undefined specified

Brian Inglis Brian.Inglis@SystematicSW.ab.ca
Thu May 16 20:24:18 GMT 2024


Hi folks,

Trying to update dateutils, autotools build fails with:

libtool: error: can't build x86_64-pc-cygwin shared library unless -no-undefined 
is specified

Suggestions for overrides or fixes?

Tried:

LDFLAGS="$LDFLAGS -Wl,--no-allow-shlib-undefined -Wl,--no-undefined"

CYGCONF_ARGS="
	 --enable-contrib
	 --enable-tzmap-fetch
	 lt_no_undefined_flag=--no-undefined
	 no_undefined_flag=--no-undefined
"

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


More information about the Cygwin-apps mailing list