oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.03k stars 2.66k forks source link

bun install embedded-postgres is missing libicui18n.so.60 #6016

Open from-nibly opened 11 months ago

from-nibly commented 11 months ago

What version of Bun is running?

1.0.3+25e69c71e70ac8a0a88f9cf15b4057bd7b2a633a

What platform is your computer?

Linux 6.4.6-76060406-generic x86_64 x86_64

What steps can reproduce the bug?

bun install @embedded-postgres/linux-x64
./node_modules/\@embedded-postgres/linux-x64/native/bin/postgres --version

What is the expected behavior?

bun install installs packages from npm correctly

What do you see instead?

./node_modules/@embedded-postgres/linux-x64/native/bin/postgres: error while loading shared libraries: libicui18n.so.60: cannot open shared object file: No such file or directory

Additional information

No response

Electroid commented 11 months ago

Duplicate of #4959

Jarred-Sumner commented 9 months ago

This was not fixed by https://github.com/oven-sh/bun/issues/4959, as it did not make the list of top 500 post-install scripts.

We need to instead add a warning message explaining that the package @embedded-postgres/linux-x64 had a postinstall script which was skipped, and needs to be added to trustedDependencies for the package to fully work as expected.

This issue will be fixed by #7594