Code Monkey home page Code Monkey logo

Comments (5)

crazybits avatar crazybits commented on August 16, 2024 1

@nujabes403 awesome, issue solved, thanks

from go-iost.

QwertyJack avatar QwertyJack commented on August 16, 2024 1

rocksdb is abondoned since v2.1.0

from go-iost.

nujabes403 avatar nujabes403 commented on August 16, 2024

@crazybits
Did you install dynamic library by typing $ make vmlib ?

from go-iost.

crazybits avatar crazybits commented on August 16, 2024

@nujabes403 make vmlib failed with the following error
`clang++ -g -std=c++11 -fno-rtti -fPIC -m64 -Wall -Wextra -Wno-unused-parameter -Wno-unused-result -O3 -I./include/common -I./libjs/include -I./include/_darwin_amd64 -c crypto.cc -o crypto.cc.o
clang++ -g -shared -fvisibility=hidden vm.cc.o allocator.cc.o console.cc.o require.cc.o storage.cc.o blockchain.cc.o sandbox.cc.o instruction.cc.o compile.cc.o crypto.cc.o -o libvm.dylib -L./libv8/_darwin_amd64 -lv8_libbase -lv8_libplatform -lv8_init -lv8_initializers -lv8_libsampler -lv8_snapshot -lv8_base
ld: warning: ld: warning: ld: warning: ld: warning: ignoring file ./libv8/_darwin_amd64/libv8_init.a, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (x86_64): ./libv8/_darwin_amd64/libv8_init.aignoring file ./libv8/_darwin_amd64/libv8_libplatform.a, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (x86_64): ./libv8/_darwin_amd64/libv8_libplatform.aignoring file ./libv8/_darwin_amd64/libv8_initializers.a, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (x86_64): ./libv8/_darwin_amd64/libv8_initializers.aignoring file ./libv8/_darwin_amd64/libv8_libbase.a, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (x86_64): ./libv8/_darwin_amd64/libv8_libbase.a

ld: warning: ignoring file ./libv8/_darwin_amd64/libv8_base.a, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (x86_64): ./libv8/_darwin_amd64/libv8_base.a
ld: warning: ignoring file ./libv8/_darwin_amd64/libv8_snapshot.a, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (x86_64): ./libv8/_darwin_amd64/libv8_snapshot.a
ld: warning: ignoring file ./libv8/_darwin_amd64/libv8_libsampler.a, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (x86_64): ./libv8/_darwin_amd64/libv8_libsampler.a
Undefined symbols for architecture x86_64:

....

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

`

from go-iost.

nujabes403 avatar nujabes403 commented on August 16, 2024

https://iost-community.slack.com/archives/CCXFAMQ0K/p1546358897265400?thread_ts=1546330892.250600&cid=CCXFAMQ0K

It seems your issue is same with Aladdin's. He said it was solved by removing whole folder, following the steps again.

Could you remove whole folder, and do it again step by step?

  1. brew install git-lfs
  2. git lfs install
  3. brew install rocksdb
  4. git clone [email protected]:iost-official/go-iost.git
  5. make vmlib
  6. make build

from go-iost.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.