Giter VIP home page Giter VIP logo

Comments (5)

springmeyer avatar springmeyer commented on June 19, 2024

makes sense given libOSRM does not link program options:

$ ldd ../Project-OSRM/build/libOSRM.so 
    linux-vdso.so.1 =>  (0x00007fff39fff000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f844c8e6000)
    libboost_filesystem.so.1.46.1 => /usr/lib/libboost_filesystem.so.1.46.1 (0x00007f844c6c8000)
    libboost_system.so.1.46.1 => /usr/lib/libboost_system.so.1.46.1 (0x00007f844c4c3000)
    libboost_thread.so.1.46.1 => /usr/lib/libboost_thread.so.1.46.1 (0x00007f844c2aa000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f844c08d000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f844bd8c000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f844ba90000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f844b87a000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f844b4b9000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f844cd51000)

from node-osrm.

springmeyer avatar springmeyer commented on June 19, 2024

also appear to need to link regex due to usage of GenerateServerProgramOptions:

 osrm
    ✓ should throw if new keyword is not used 
    ✓ should throw if invalid args are passed 
    - should throw if ini file is blank
    1) should throw if ini file does not exist
    ◦ should throw if files referenced by ini do not exist: node: symbol lookup error: /home/ubuntu/node-OSRM/lib/_osrm.node: undefined symbol: _ZN5boost11basic_regexIcNS_12reg

from node-osrm.

springmeyer avatar springmeyer commented on June 19, 2024

and now hitting:

    ◦ should return results for berlin using sync api: node: symbol lookup error: /home/ubuntu/node-OSRM/../Project-OSRM/build/libOSRM.so: undefined symbol: _ZN4UUIDC1Ev

But just adding -lUUID leads to:

  SOLINK_MODULE(target) Release/obj.target/_osrm.node
/usr/bin/ld: /home/ubuntu/node-OSRM/../Project-OSRM/build/libUUID.a(UUID.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/home/ubuntu/node-OSRM/../Project-OSRM/build/libUUID.a: could not read symbols: Bad value
collect2: ld returned 1 exit status

from node-osrm.

springmeyer avatar springmeyer commented on June 19, 2024

working now pending Project-OSRM/osrm-backend#781

from node-osrm.

DennisOSRM avatar DennisOSRM commented on June 19, 2024

Alright, cool

from node-osrm.

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.