Bogus dependencies in libtool .la files for libgtk2.0-devel-2.20.1-1, libpango1.0-devel-1.28.1-1, libpango1.0-devel-1.28.1-1

Mon Sep 26 00:51:00 GMT 2011

On 2011-09-25 PM 11:51, Dave Korn wrote:
> before you can compile it from source, and that it might be worth backing up
> the .la files just in case this -lstdc++ actually is required somewhere, but
> I'd be happier if this could either be fixed in the distro, or if someone
> could tell me why these libs think they need to link against libstdc++?
>      cheers,
>        DaveK

This problem comes from *executing libtool commands*
You can see in config.status of pango

$ cat config.status|grep postdeps
postdeps_CXX='-lstdc++ -lmingwthrd -lmingw32 -lgcc_s -lgcc -lmoldname 
-lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingwthrd 
-lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt'

rm ./libtool
./config.status #we can see *executing libtool commands*. and libtool is 
and now resulting libtool has ill-tagged postdeps variable

$ cat libtool|grep postdeps
       # don't eliminate duplications in $postdeps and $predeps
       libs="$predeps $libs $compiler_lib_search_path $postdeps"
       # $postdeps and mark them as special (i.e., whose duplicates are
         for pre_post_dep in $predeps $postdeps; do
               case " $predeps $postdeps " in
         case " $predeps $postdeps $compiler_lib_search_path " in
                   case " $predeps $postdeps " in
                     case " $predeps $postdeps " in
                 case " $predeps $postdeps " in
                 case " $predeps $postdeps " in
             for i in $predeps $postdeps ; do
postdeps="-lstdc++ -lmingwthrd -lmingw32 -lgcc_s -lgcc -lmoldname 
-lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingwthrd 
-lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt"

Why we got postdeps instead of postdeps_CXX?


Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list