I specify the following deps in my pixi.toml
[dependencies]
max = "=25.3.0"
zlib = ">=1.3.1,<2"
extramojo = "=0.14.0"
But looking at what the binary is linking to, it’s not using the versions supplied by pixi.
❯ otool -L ./ish
./ish:
@rpath/libKGENCompilerRTShared.dylib (compatibility version 0.0.0, current version 0.0.0)
@rpath/libAsyncRTMojoBindings.dylib (compatibility version 0.0.0, current version 0.0.0)
@rpath/libAsyncRTRuntimeGlobals.dylib (compatibility version 0.0.0, current version 0.0.0)
@rpath/libMSupportGlobals.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1345.120.2)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.12)
/usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1700.255.5)
Why is that?
I noticed this when creating a rattler-build recipe and getting warnings about overlinking. Is there any way to tell mojo were to look for libraries to link to?