Changed install pathway for binaries between 1.9.4 and 2.0.0

New to OpenZFS on OS X (Or ZFS in general)? Ask your questions here!

Changed install pathway for binaries between 1.9.4 and 2.0.0

Postby FadingIntoBlue » Tue Jan 05, 2021 10:11 pm

I'm interested in the effect of the change in binary paths with the latest version, as I haven't seen much comment or documentation about it. Not an issue for most people I suspect, but it is one of the simpler things that seems to stop the new version working immediately.

So 1.9.4 path: /usr/local/bin/zfs
and 2.0.0 path: /usr/local/zfs/bin/zfs
for the zfs binary and the others

Obviously, if the path isn't in your shell profile commands will not run without a full path.

I notice that ZetaWatch won't launch under 2.0.0 running on both Catalina and BigSur, is the binary pathway hard coded?

I suspect we will turn up a few other situations where this causes problems and thought it was worth mentioning.
FadingIntoBlue
 
Posts: 106
Joined: Tue May 27, 2014 12:25 am

Re: Changed install pathway for binaries between 1.9.4 and 2

Postby lundman » Wed Jan 06, 2021 4:31 pm

Yes, in the 2.0 pre-releases we are trying out keeping everything in "/usr/local/zfs/" as there has been many issues in the past with which-path-is-in-use, so hopefully this will be a little more
contained. Once the change over is done with.

We do add to /etc/paths.d/zfs so in theory you should get PATH set correctly, unless you are using a different shell perhaps.
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan


Return to Absolute Beginners Section

Who is online

Users browsing this forum: No registered users and 9 guests