URL: <https://savannah.gnu.org/support/?111241>
Summary: Fixes build issue on MSVC
Group: GNU Libtool
Submitter: None
Submitted: Sun 11 May 2025 11:00:41 AM UTC
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Operating System: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sun 11 May 2025 11:00:41 AM UTC By: Anonymous
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Name: 0001-libtool.m4-Fixes-MSVC-builds-for-libltdl.patch Size: 671B
<https://file.savannah.gnu.org/file/0001-libtool.m4-Fixes-MSVC-builds-for-libltdl.patch?file_id=57215>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-9881c859354512ce27e2f80f2a58c47cdee12e5d.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?111241>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
