<mpickering>
It seems that fixing liblas didn't fix the gdal problem so I need to work out this evening where the /usr/opt path was coming from
jtojnar_ has joined #nix-darwin
jtojnar has quit [Quit: jtojnar]
<LnL>
yeah that one is a bit weird, gdal looks fine in nixpkgs
<LnL>
so I'm suspecting one of the builds might be using a vendored version that doesn't build correctly
jtojnar_ has quit [Ping timeout: 260 seconds]
jtojnar has joined #nix-darwin
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nix-darwin
ryanartecona has joined #nix-darwin
ryanartecona has quit [Client Quit]
ryanartecona has joined #nix-darwin
<mitchty>
migrating my work laptop to the nix multi user install, easiest to just nuke everything and reinstall?
ryanartecona has quit [Quit: ryanartecona]
Sonarpulse has joined #nix-darwin
<mpickering>
If all the paths look right running "otool -l" on the executable, what else could try and load the library? Should all dependencies be listed there? Can libraries transitively import things?
<mpickering>
I can't see anything in the source which mentions "libgdal" at all, life's mysteries are endless
<LnL>
otool -l is only for the current library so you have to do that recursively to find everything
jrolfs has joined #nix-darwin
periklis has quit [Ping timeout: 255 seconds]
Lisanna has joined #nix-darwin
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nix-darwin
ryanartecona has joined #nix-darwin
philr has joined #nix-darwin
philr has quit [Ping timeout: 265 seconds]
ryanartecona has quit [Quit: ryanartecona]
Sonarpulse has quit [Ping timeout: 260 seconds]
Sonarpulse has joined #nix-darwin
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nix-darwin
ryanartecona has joined #nix-darwin
ryanartecona has quit [Quit: ryanartecona]
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nix-darwin
<mpickering>
I am tracing now using "DYLD_PRINT_LIBRARIES=1" and I see that the problems start when /usr/local/lib/liblas.3.dylib is loaded but /usr/local/lib isn't in the PATH at all
jrolfs has quit [Ping timeout: 256 seconds]
<LnL>
/usr/local/lib/liblas.3.dylib: No such file or directory
<LnL>
do you have homebrew stuff installed?
<mpickering>
Yes
<LnL>
yeah no sandbox + homebrew means stuff might find those even if you don't tell it to look there
<mpickering>
So I know one solution is to remove this non-nix managed stuff but I want to solve the impurity properly so if someone else with a messy environment like me tries to install this package it works
<mpickering>
am I being unrealistic?
<LnL>
I could test on my builder if you want
<LnL>
it doesn't have any CLT/xcode/homebrew stuff installed
<mpickering>
ok I will need to push a branch, one sec
<mpickering>
thanks a lot
<LnL>
it's basically my "sandbox" build until we finally fix sandboxing properly :p