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

Flyway 9.16.0 Compatibility #18

Open
dan-nawrocki opened this issue Apr 4, 2023 · 1 comment · Fixed by aldenquimby/flywaydb-cli#7
Open

Flyway 9.16.0 Compatibility #18

dan-nawrocki opened this issue Apr 4, 2023 · 1 comment · Fixed by aldenquimby/flywaydb-cli#7

Comments

@dan-nawrocki
Copy link

On a fresh node:18 docker container, this package doesn't work w/ flyway 9.16.0+. I get the following error:

root@6e80633887f5:/xxx# npm run flyway

> test-project@0.0.1 flyway
> flyway -cleanDisabled=false -user=postgres -password=xxx -url=jdbc:postgresql://localhost/postgres -locations=filesystem:db,filesystem:testdb

/xxx/node_modules/.bin/../flywaydb-cli/bin/jre/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory

On flyway versions 9.15.2 and earlier, it looks like the lib directory is created correctly:

root@6e80633887f5:/xxx# ls -la node_modules/flywaydb-cli/bin/jre/
total 32
drwxr-xr-x  6 root root 4096 Apr  4 17:15 .
drwxr-xr-x  9 root root 4096 Apr  4 17:15 ..
-rwxr-xr-x  1 root root 2439 Apr  4 17:15 NOTICE
drwxr-xr-x  2 root root 4096 Apr  4 17:15 bin
drwxr-xr-x  5 root root 4096 Apr  4 17:15 conf
drwxr-xr-x 52 root root 4096 Apr  4 17:15 legal
drwxr-xr-x  5 root root 4096 Apr  4 17:15 lib
-rwxr-xr-x  1 root root 1588 Apr  4 17:15 release

However, with 9.16.0 and later, the lib directory is NOT created:

root@6e80633887f5:/xxx# ls -la node_modules/flywaydb-cli/bin/jre/
total 24
drwxr-xr-x 5 root root 4096 Apr  4 17:16 .
drwxr-xr-x 6 root root 4096 Apr  4 17:16 ..
-rwxr-xr-x 1 root root 2439 Apr  4 17:16 NOTICE
drwxr-xr-x 2 root root 4096 Apr  4 17:16 bin
drwxr-xr-x 5 root root 4096 Apr  4 17:16 conf
drwxr-xr-x 4 root root 4096 Apr  4 17:16 legal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants