With a makefile.am file containing something like the following: - libdvdnav_la_LDFLAGS = \ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ -export-symbols-regex "(^dvdnav.*|^nav.*|^ifo.*|^DVD.*)" The "make" fails. (see below) removing the -export-symbols-regex "(^dvdnav.*|^nav.*|^ifo.*|^DVD.*)" causes the make to succeed. I conclude there is a bug in autotools or libtool. make[3]: Entering directory `/usr/local/xinecvs/libdvdnav/src' /bin/sh ../libtool --mode=link gcc -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -o libdvdnav.la -rpath /usr/local/lib -version-info 4:0:0 -export-symbols-regex "(^dvdnav.*|^nav.*|^ifo.*|^DVD.*)" dvdnav.lo read_cache.lo navigation.lo highlight.lo searching.lo settings.lo remap.lo -lpthread ../src/dvdread/libdvdread.la ../src/vm/libdvdvm.la rm -fr .libs/libdvdnav.la .libs/libdvdnav.* .libs/libdvdnav.* generating symbol list for `libdvdnav.la' /usr/bin/nm -B dvdnav.lo read_cache.lo navigation.lo highlight.lo searching.lo settings.lo remap.lo ../src/dvdread/.libs/libdvdread.al ../src/vm/.libs/libdvdvm.al | sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' | sed 's/.* //' | sort | uniq > .libs/libdvdnav.exp egrep -e "(^dvdnav.*|^nav.*|^ifo.*|^DVD.*)" ".libs/libdvdnav.exp" > ".libs/libdvdnav.expT" mv -f ".libs/libdvdnav.expT" ".libs/libdvdnav.exp" gcc "{ global:" > .libs/libdvdnav.ver gcc: { global:: No such file or directory gcc: no input files make[3]: *** [libdvdnav.la] Error 1 make[3]: Leaving directory `/usr/local/xinecvs/libdvdnav/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/xinecvs/libdvdnav/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/xinecvs/libdvdnav' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. make <- fails. 2. 3. Actual Results: make[3]: Entering directory `/usr/local/xinecvs/libdvdnav/src' /bin/sh ../libtool --mode=link gcc -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -o libdvdnav.la -rpath /usr/local/lib -version-info 4:0:0 -export-symbols-regex "(^dvdnav.*|^nav.*|^ifo.*|^DVD.*)" dvdnav.lo read_cache.lo navigation.lo highlight.lo searching.lo settings.lo remap.lo -lpthread ../src/dvdread/libdvdread.la ../src/vm/libdvdvm.la rm -fr .libs/libdvdnav.la .libs/libdvdnav.* .libs/libdvdnav.* generating symbol list for `libdvdnav.la' /usr/bin/nm -B dvdnav.lo read_cache.lo navigation.lo highlight.lo searching.lo settings.lo remap.lo ../src/dvdread/.libs/libdvdread.al ../src/vm/.libs/libdvdvm.al | sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' | sed 's/.* //' | sort | uniq > .libs/libdvdnav.exp egrep -e "(^dvdnav.*|^nav.*|^ifo.*|^DVD.*)" ".libs/libdvdnav.exp" > ".libs/libdvdnav.expT" mv -f ".libs/libdvdnav.expT" ".libs/libdvdnav.exp" gcc "{ global:" > .libs/libdvdnav.ver gcc: { global:: No such file or directory gcc: no input files make[3]: *** [libdvdnav.la] Error 1 make[3]: Leaving directory `/usr/local/xinecvs/libdvdnav/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/xinecvs/libdvdnav/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/xinecvs/libdvdnav' make: *** [all] Error 2 Expected Results: make should work.
In my machine, it is caused by sys-devel/libtool-1.4.3-r3. All are fine when I downgrade into sys-devel/libtool-1.4.1-r10. But libtool-1.4.3 in RH8/9 are all fine.
and libtool-1.5.2-r3?
*** Bug 40654 has been marked as a duplicate of this bug. ***
please try 1.5.2-r7 and/or 1.5.10