-
Notifications
You must be signed in to change notification settings - Fork 202
natives_blob.bin - not found #264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
could you please provide the And yes, the latter issue should be fixed meanwhile. |
Yes, attached is my config.log. |
the problem is this one
... it tries to link
... but it isn't necessarily needed. Need to check back and try to reproduce (on some other box) |
Just uploaded version 1.3.3 to PECL that should have that sorted out |
Thanks for the quick fix. I confirm it's resolved. |
There was a report (phpv8/v8js#264) and a fix (phpv8/v8js@90ca5cb) in v8js about missed natives_blob.bin. While php-v8 is not affected directly, it partially uses v8js config so this is a port of that fix.
@stesie Could you adjust the version number in this repo? It still shows as 1.3.2 |
I'm getting the same errors on MacOS. Downloading 1.3.3 from PECL's website and refollowing the instructions, I still get the same errors about missing libv8_libbase.a, libv8_libplatform.a, and natives_blob.bin. Any ideas? http://hastebin.com/uwutaboson.makefile config.log if interested Edit: I had to manually copy v8/out/natives_blob.bin and v8/out/snapshot_blob.bin to /usr/local/lib and it seemed to work. |
I have this problem as well, missing "out/native/obj.target/src/libv8_libplatform.a" file. @steezeburger natives_blob.bin and snapshot_blob.bin are missing from out directory as well. |
@Jan-E sure, sorry for messing this up |
@steezeburger I'm a bit unsure/confused, does it work for you now or doesn't it? I agree that the error message might be misleading, it always complains about missing natives_blob.bin if it isn't able to successfully compile and run a minimalist V8. The problem is that Whether blobs are needed depends on compile flags with V8 itself. It's kindof imposible to detect without just trying and guessing. So I could change configure to
sounds good? @several27 which version of V8 are you using? |
@stesie The last command I was able to run was the
Edit: I believe my errors when running |
@stesie Just FYI I am experiencing the same issue as @several27, the libv8_libplatform.a is not generated when building v8, causing the configure command to fail. I'm using V8 5.7.27. |
@mikemherron Smells like the same problem that Windows users are experiencing for every V8 version > 5.1. Ref: http://stackoverflow.com/q/38674676/872051 On Windows you can solve that by
See my comments in https://github.com/phpv8/v8js/blob/php7/config.w32#L47 |
@mikemherron I've now changed Also fixed that v8js doesn't try to "guess" whether blobs are needed or not. It just uses them, if they are installed along with the |
That's great, will try this out over the next few days, thanks. |
Hello, I'm running into a very similar issue on CentOS 7. I'd be happy to open a new ticket, but since the errors were nearly identical I figured they were related. Here is the error from the Here's what I did: I've installed v8 via:
Then I went to install v8js via:
Here is the error from running the I've attached my ...any ideas? Thanks for the help!! 🙏 |
@sturdynut don't comment on closed tickets, especially not without re-opening them. This is like relying on me to have notifications turned on and handle those (which many tend to not do) Anyways, regarding your question ... are you really using a fresh checkout? config.log lets me doubt that, since it doesn't seem to do the checks from #301 (which would be needed) |
@stesie - I'm going to give 5.9.40 a try. I'll let you know if that resolved my problem. Thank you! I was in a rush when I commented, you are right though, thanks! |
I'm going to try this again using php7, I shouldn't be using php 5.6 anyways. I think things should go smoothly with 7. [fingers crossed] |
Yes, #301 wasn't fixed for PHP5, so if you've tried with it before (your comment above implicitly told otherwise) this would be expected |
That was my problem. It worked like a charm with php7. This can be closed, thank you. |
I am running CentOS 7 and followed the instructions in README.Linux.md to compile v8. When I try to compile v8js 1.3.2, I'm getting a configure error:
I'm not seeing a file called natives_blob.bin in my v8 directory.
Can you please let me know how to generate this file? I tried installing 1.3.1 instead and the configure worked, but I got a different error during compiling which I believe already was resolved in another issue:
Thanks for your help.
The text was updated successfully, but these errors were encountered: