Follow-up Comment #1, sr #111241 (group libtool):

[comment #0 original submission:]
> I'm trying to build libtool with MSVC, but it failed with an error that a
> symbol not found. (Please noticed that the following message is translated
> from Chinese)
> 
> CCLD     libltdl/libltdl.la
> libltdlS.c
> Creating library libltdl/.libs/libltdl.dll.lib and object
> libltdl/.libs/libltdl.dll.exp
> libltdl_la-ltdl.obj : error LNK2019: Unresolved external symbol
> lt_ltdl_LTX_preloaded_symbols, referenced in lt_dlinit
> libltdl\.libs\libltdl-7.dll : fatal error LNK1120: 1 external command could
> not be resolved
> make[2]: *** [Makefile:1176: libltdl/libltdl.la] Error 2
> make[2]: Leaving directory '/c/build/build'
> make[1]: *** [Makefile:1651: all-recursive] Error 1
> make[1]: Leaving directory '/c/build/build'
> make: *** [Makefile:1033: all] Error 2
> 
> After applied this patch, it works properly. A noticeable thing is the shared
> library named libltdl-7.dll instead of ltdl-7.dll. However I'm not sure if it
> is a good solution.

Thank you for your bug report and patch. I have seen errors similar to this
before while fixing MSVC test failures in libtool, and those fixes should be
applied soon in the development branch. I do not think the patch you provided
is a good solution, but the commits I push should fix your issue hopefully.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?111241>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to