Giter Club home page Giter Club logo

Comments (5)

chuckremes avatar chuckremes commented on August 22, 2024

The next version (master in github) will allow you to copy the library to /path/to/ffi-rzmq/ext which is the first place it will look for the library.

I will also add /usr/lib64 to the search paths. I wish this was standardized...

On Oct 18, 2011, at 1:59 PM, Brad Pardee wrote:

We installed the zmq library via a Redhat gem which installed it as /usr/lib64/libzmq.so.1. It looks like the libzmq.rb file doesn't find it in this directory. Could you add an override so that the path could be specified via a config/initializer or maybe add /usr/lib64 and /usr/lib to the search paths (although I think the .1 suffix will still confuse it).

Our workaround was to ln -s /usr/lib64/libzmq.so.1 /usr/local/lib/libzmq.so

Reply to this email directly or view it on GitHub:
#43

from ffi-rzmq.

bpardee avatar bpardee commented on August 22, 2024

Thanks! Will it still find it in lib64 if it's named with the .1 extension?

On Tue, Oct 18, 2011 at 3:02 PM, Chuck Remes <
[email protected]>wrote:

The next version (master in github) will allow you to copy the library to
/path/to/ffi-rzmq/ext which is the first place it will look for the library.

I will also add /usr/lib64 to the search paths. I wish this was
standardized...

from ffi-rzmq.

chuckremes avatar chuckremes commented on August 22, 2024

I don't know. Try cloning the github repository (where I've already added that path) and run 'rake spec' from that top directory. Let me know if it works.

I think that the FFI library knows to look at any *.so regardless of additional suffixes, but I am not certain.

cr

On Oct 18, 2011, at 2:04 PM, Brad Pardee wrote:

Thanks! Will it still find it in lib64 if it's named with the .1 extension?

On Tue, Oct 18, 2011 at 3:02 PM, Chuck Remes <
[email protected]>wrote:

The next version (master in github) will allow you to copy the library to
/path/to/ffi-rzmq/ext which is the first place it will look for the library.

I will also add /usr/lib64 to the search paths. I wish this was
standardized...

Reply to this email directly or view it on GitHub:
#43 (comment)

from ffi-rzmq.

bpardee avatar bpardee commented on August 22, 2024

It didn't find the file with .1 extension. It does work if I do "ln -s
libzmq.so.1 libzmq.so" in the /usr/lib64 directory.

On Tue, Oct 18, 2011 at 3:11 PM, Chuck Remes <
[email protected]>wrote:

I don't know. Try cloning the github repository (where I've already added
that path) and run 'rake spec' from that top directory. Let me know if it
works.

I think that the FFI library knows to look at any *.so regardless of
additional suffixes, but I am not certain.

cr

from ffi-rzmq.

chuckremes avatar chuckremes commented on August 22, 2024

This issue should really be resolved by the FFI support in the various Ruby runtimes (MRI, JRuby, Rubinius). Finding the correct library is FFIs job especially when all of the paths are correct.

from ffi-rzmq.

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.