I'm trying to make apache age windows installer in order to run age in windows without using WSL2. To compile the source code on windows machine I'm using msys2 as it can be use to build native windows software. The make install command is successful :
# make install
/usr/bin/mkdir -p 'C:/PROGRA~1/POSTGR~1/12/lib'
/usr/bin/mkdir -p 'C:/PROGRA~1/POSTGR~1/12/share/extension'
/usr/bin/mkdir -p 'C:/PROGRA~1/POSTGR~1/12/share/extension'
/usr/bin/install -c -m 755 age.so 'C:/PROGRA~1/POSTGR~1/12/lib/age.so'
/usr/bin/install -c -m 644 .//age.control 'C:/PROGRA~1/POSTGR~1/12/share/extension/'
/usr/bin/install -c -m 644 .//age--1.1.1.sql 'C:/PROGRA~1/POSTGR~1/12/share/extension/'
and age file is present there
# ls "C:\Program Files\PostgreSQL\12\lib" |grep age
age.so
pageinspect.dll
But I'm getting Could not access file "$libdir/age": No such file or directory
in psql shell.