amazonlinux / amazon-linux-2023

Amazon Linux 2023
https://aws.amazon.com/linux/amazon-linux-2023/
Other
502 stars 38 forks source link

[Package Request] - FreeTDS #282

Open kotofos opened 1 year ago

kotofos commented 1 year ago

What package is missing from Amazon Linux 2022? Please describe and include package name. freetds freetds-libs

Is this an update to existing package or new package request? New package

Is this package available in Amazon Linux 2? in epel amazon-linux-extras install epel -y yes

Number of users impacted 50+

Current workaround is use fedora packages https://rpmfind.net/linux/fedora/linux/updates/34/Everything/x86_64/Packages/f/freetds-1.3.3-1.fc34.x86_64.rpm

Tested on docker image amazonlinux:2023 ca97caf6d9fa

Now it is also missing on amazon linux 2022 but it was present once some time ago. See https://github.com/amazonlinux/amazon-linux-2023/blob/main/Release-Notes-Amazon-Linux-2022.0.20220531.0.md

dnf install freetds
No match for argument: freetds
Error: Unable to find a match: freetds
yi-varicent commented 1 year ago

@kotofos How did you manage to install that? I get issues with freetds/freetds-libs

#9 0.191    freetds-libs(x86-64) = 1.3.3-4.fc38 is needed by freetds-1.3.3-4.fc38.x86_64
#9 0.191    libc.so.6(GLIBC_2.11)(64bit) is needed by freetds-1.3.3-4.fc38.x86_64
#9 0.191    libc.so.6(GLIBC_2.14)(64bit) is needed by freetds-1.3.3-4.fc38.x86_64
#9 0.191    libc.so.6(GLIBC_2.15)(64bit) is needed by freetds-1.3.3-4.fc38.x86_64
#9 0.191    libc.so.6(GLIBC_2.16)(64bit) is needed by freetds-1.3.3-4.fc38.x86_64
#9 0.191    libc.so.6(GLIBC_2.2.5)(64bit) is needed by freetds-1.3.3-4.fc38.x86_64
#9 0.191    libc.so.6(GLIBC_2.3)(64bit) is needed by freetds-1.3.3-4.fc38.x86_64
#9 0.191    libc.so.6(GLIBC_2.3.2)(64bit) is needed by freetds-1.3.3-4.fc38.x86_64
#9 0.191    libc.so.6(GLIBC_2.3.4)(64bit) is needed by freetds-1.3.3-4.fc38.x86_64
#9 0.191    libc.so.6(GLIBC_2.4)(64bit) is needed by freetds-1.3.3-4.fc38.x86_64
#9 0.191    libc.so.6(GLIBC_2.7)(64bit) is needed by freetds-1.3.3-4.fc38.x86_64
#9 0.191    libc.so.6(GLIBC_2.8)(64bit) is needed by freetds-1.3.3-4.fc38.x86_64

as far as I can tell the 2023 amazon linux is on glibc 2.34

edit: moving to 1.3.16 has same issue

kotofos commented 1 year ago

@yi-varicent you have to install both freetds and its libs in a single dnf install call.

bananastalktome commented 8 months ago

@kotofos Would you mind please giving a working example of what that one-liner looks like? As I added more rpm's to the dnf install to try and satisfy dependencies, I kept hitting against more/different dependencies/version mismatches.

kotofos commented 8 months ago

dnf install -y https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/f/freetds-1.3.3-1.el9.x86_64.rpm https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/f/freetds-libs-1.3.3-1.el9.x86_64.rpm Used to work on March 2023

bananastalktome commented 8 months ago

Thanks @kotofos! Can confirm that worked to install freetds without install errors. Still would be nice if freetds (and freetds-devel) were available without having to go through this.