Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mingw-w64-freetds missing the pkgconfig file(.pc) #16004

Open
7 tasks done
taozuhong opened this issue Mar 3, 2023 · 4 comments
Open
7 tasks done

mingw-w64-freetds missing the pkgconfig file(.pc) #16004

taozuhong opened this issue Mar 3, 2023 · 4 comments
Labels
bug reported-upstream Issues reported or fixed in upstream repository

Comments

@taozuhong
Copy link
Contributor

Description / Steps to reproduce the issue

  1. Install package: mingw-w64-freetds(ucrt)

Expected behavior

Add .pc file for freetds library

Actual behavior

Missing the pkgconfig file(.pc)

Verification

Windows Version

MINGW64_NT-10.0-19045

MINGW environments affected

  • MINGW64
  • MINGW32
  • UCRT64
  • CLANG64
  • CLANG32
  • CLANGARM64

Are you willing to submit a PR?

No response

@taozuhong taozuhong added the bug label Mar 3, 2023
@mmuetzel
Copy link
Collaborator

mmuetzel commented Mar 3, 2023

Afaict, FreeTDS doesn't provide a pkg-config file that MSYS2 could install.
You might ask upstream if they'd consider adding a pkg-config file for their libraries:
https://github.com/FreeTDS/freetds/issues

@taozuhong
Copy link
Contributor Author

taozuhong commented Mar 3, 2023

Just make it and paste it here, I'm not sure the Libs.Private is right, others should be OK.

# 
#  pkg_config.pc.in
#
#  pkg_config configuration file 
#  For a detailed description of options, please visit
#  Dan Nicholson’s Guide to pkg-config (http://www.freedesktop.org/wiki/Software/pkg-config/)
#

prefix=/ucrt64
includedir=${prefix}/include/freetds/
libdir=${prefix}/lib/

Name: libfreetds
Version: 1.3.15
Description: A free implementation of TDS protocol
Requires: 
Requires.private: libssl libcrypto
Cflags: -I${includedir}
Libs: -L${libdir} -lct -lsybdb
Libs.private: -lws2_32 -ladvapi32 -lkernel32 -lcrypt32 -lsecur32

@Biswa96
Copy link
Member

Biswa96 commented Mar 3, 2023

Is it in upstream? If not please report it in the upstream repository.

@taozuhong
Copy link
Contributor Author

I've reported it in the upstream repository:
FreeTDS/freetds#485

@Biswa96 Biswa96 added the reported-upstream Issues reported or fixed in upstream repository label Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug reported-upstream Issues reported or fixed in upstream repository
Projects
None yet
Development

No branches or pull requests

3 participants