Comments (5)
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.
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.
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.
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.
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)
- Losing Messages with Router/Dealer after Dealer crashes HOT 6
- FFI::NotFoundError: Function 'zmq_ctx_new' not found in [libzmq.so] HOT 6
- hwserver process hangs on ctrl-C HOT 3
- Improve search for shared object HOT 8
- option ROUTER_MANDATORY has no effect HOT 2
- hanging the whole process HOT 4
- "The libzmq version 4.0.5 is incompatible with ffi-rzmq." HOT 1
- segmentation fault in REP server HOT 15
- issue running zmq helloworld sample HOT 2
- Windows 7 libzmq.dll load is failing HOT 2
- ffi-rzmq(2.0.4) is not compatible with zeromq-4.1.2 HOT 11
- context.terminate hangs HOT 1
- rake -T error HOT 2
- dyld: lazy symbol binding failed: Symbol not found: _randombytes HOT 7
- ZMQ::Context finalizer hangs at program exit HOT 4
- Can't get ipc:// to work HOT 7
- Correct way to exit HOT 15
- ZMQ::Context#terminate is not zeromq 3.2.x compatible HOT 2
- please update keys/certificate to higher standards HOT 2
- ZMQ.select? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffi-rzmq.