Ticket #4 (closed defect: invalid)
Installation borked on Ubuntu Feisty (7.04)
| Reported by: | melito | Owned by: | deveiant |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Version: | 1.0 | Keywords: | ldconfig ld_library_path library linker libgrammar |
| Cc: |
Description (last modified by deveiant) (diff)
Using ruby installed from ubuntu repo's if that matters:
mel@melito:~$ ruby -v ruby 1.8.5 (2006-08-25) [i486-linux]
Followed link grammar install to a 't' and received the following error when attempting to run 'instal.rb'
Testing...
0 patterns given on the command line:
ext/linkparser_ext.so: liblink-grammar.so.4: cannot open shared object file:
No such file or directory - ext/linkparser_ext.so (LoadError)
from ./lib/linkparser.rb:27
from ./tests/parseoptions.tests.rb:23:in `require'
from ./tests/parseoptions.tests.rb:23
from ./test.rb:76:in `require'
from ./test.rb:76
from /usr/lib/ruby/1.8/find.rb:39:in `find'
from /usr/lib/ruby/1.8/find.rb:38:in `catch'
from /usr/lib/ruby/1.8/find.rb:38:in `find'
from ./test.rb:64
from ./install.rb:178:in `require'
from ./install.rb:178
Tried this on both dual core 64bit and 32bit systems (AMD & Intel respectively)
ldconfig -p | grep grammar returns nothing.
Really wanna use this and not perl :(
Change History
comment:1 in reply to: ↑ description Changed 4 years ago by deveiant
- Keywords ldconfig ld_library_path library linker libgrammar added
- Owner set to deveiant
- Version set to 1.0
- Status changed from new to assigned
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.

Replying to melito:
It sounds like the directory the linkgrammar library is installed in isn't in your linker's search path. That's typically set in a file that's somewhere like /etc/ld.so.conf, but may be something different depending on your distribution. I also believe that you can add a directory at runtime using the LD_LIBRARY_PATH environment variable: