[
https://issues.apache.org/jira/browse/THRIFT-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18021259#comment-18021259
]
Will Ayd commented on THRIFT-5894:
----------------------------------
Its a fair question. I am not really sure why the libraries on Windows would
have `md` attached to the library name, and why the respective pkg-config files
would not reflect that.
Its possible that the conda distribution is a red herring, but I haven't
stepped through the Thrift source yet to know for sure. Will try and take a
closer look :)
> pkg-config files distributed via conda on Windows do not link to proper
> libraries
> ---------------------------------------------------------------------------------
>
> Key: THRIFT-5894
> URL: https://issues.apache.org/jira/browse/THRIFT-5894
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Library
> Affects Versions: 0.22.0
> Reporter: Will Ayd
> Priority: Major
>
> When installing Thrift via conda on windows, the pkgconfig files provide
> lines like:
> ```
> Libs: -L${libdir} -lthrift
> ```
> However, the library that gets distributed actually has the name
> thriftmd.lib, so when using this to compile a program you get an error that
> the library `thrift.lib` cannot be found during linkage (the issue also
> applies to thrift-nb and thrif-z)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)