Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
How to disable pkgload #927
Unfortunately, pkgload does not work for packages that require initialization of an external library. For example it consistently crashes with the V8 package.
To reproduce you need libv8:
brew install v8
And then you see this: https://youtu.be/vL-kXDEaC4A
It crashes quite frequently for me with c/c++ packages, but V8 is the most reproducible.
I don't know exactly how pkgload works and what it does wrong. In general, unloading and reloading of symbols from dll's is very tricky and OS specific, I think it is very hard to do this reliably.
Maybe pkgload should only be used for packages without compiled code, or perhaps packages with compiled code but without a