Skip to content

Instantly share code, notes, and snippets.

@librasteve
Created December 8, 2025 11:24
Show Gist options
  • Select an option

  • Save librasteve/e5dd78c9516190ae4b876d6f39856c08 to your computer and use it in GitHub Desktop.

Select an option

Save librasteve/e5dd78c9516190ae4b876d6f39856c08 to your computer and use it in GitHub Desktop.
Red install woes
broke my raku
clean rakubrew 2024.10
zef install Red --exclude="pq:ver<5>"
usual DBIish failure
---
zef install DBIish --deps-only
ok
---
find the name of the dylib from raku repl
[0] > say $*VM.platform-library-name('pq'.IO, :version(Version.new(5))).Str;
libpq.5.dylib
find where homebrew puts the dylib and make a symlink
sudo ln -s /opt/homebrew/opt/libpq/lib/libpq.5.dylib /usr/local/lib/libpq.5.dylib
---
and
cd t
rm 24-mysql-types-json.rakutest
rm 24-mysql-types.rakutest
rm 43-sqlite-threads.rakutest
zef install Red
=> LibUUID fails
zef install LibUUID --/test
ok
zef install Red (no excludes)
ok
zef install Air
ok
----
so
1. with libpq.5.dylib, zef install DBIish --/test works with SearchTable (bit surprising since did not need to do this for the mysql dylib)
2. test failure is caused by 43-sqlite-threads.rakutest
===
and on 2025.02
zef install . (DBIish no 43)
zef install Red --deps-only
zef install Red #FAILS
zef install Red --exclude="pq:ver<5>" #FAILS
zef install Red --/test #FAILS
zef install Red --exclude="pq:ver<5>" --/test #FAILS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment