You are not logged in. This forum allows only logged in users to post. If you want to post in the forum, please log in.
Download
Desenvolver
Conta
Download
Desenvolver
Login
Forgot Account/Password
Criar Conta
Linguagem
Ajuda
Linguagem
Ajuda
×
Login
Nome de acesso
Senha
×
Forgot Account/Password
Estado tradução de Português
Category:
Software
People
PersonalForge
Magazine
Wiki
Pesquisa
OSDN
>
Pesquisar Software
>
Games/Entertainment
>
Margarine
>
Fóruns
>
ご意見ご感想
>
教えてください。
Margarine
Descrição
Project Summary
Developer Dashboard
Página da Web
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
Histórico
Downloads
List of Releases
Stats
Código Fonte
Code Repository list
CVS
Visualizar Repositório
Tíquete
Ticket List
Milestone List
Type List
Lista de componentes
List of frequently used tickets/RSS
Submit New Ticket
Documents
Communication
List of Forums
ご意見ご感想 (27)
News
Fóruns:
ご意見ご感想
(Thread #3186)
Return to Thread list
RSS
教えてください。 (2003-08-16 16:27 by
zombie
#5601)
Criar tíquete
ruby narg.rb
すると
/usr/local/lib/ruby/site_ruby/1.8/i686-linux/chasen.so: /usr/local/lib/ruby/site_ruby/1.8/i686-linux/chasen.so: undefined symbol: cerr - /usr/local/lib/ruby/site_ruby/1.8/i686-linux/chasen.so (LoadError)
from /usr/local/margarine/margarine.rb:5
from marg.rb:17:in `require'
from marg.rb:17
上記のエラーがでてしましいます。
READMEをみて必要なものはいれたつもりです。Loadエラーとでてますのでなにかモジュールがたりないのかパスが違うのかと想像しているのですが,どなたか対処法をおしえていただけないでしょうか?
環境
redhat7.2
ruby 1.8.0 (2003-08-04) [i686-linux]
chasen 2.3.3
RE: 教えてください。 (2003-08-16 17:21 by
minap
#5602)
Criar tíquete
まずは、”ruby-chasen”の”test.rb”が動作するか確認してみてください。
これが同様のエラーで動作しない場合は、ライブラリが正常に読み込めていないと考えられます。
”/etc/ld.so.conf”に該当のライブラリのパスを追加し、”/sbin/ldconfig”を実行してください。
とりあえず、これが一番怪しいところです。
また、ruby1.8.0はリリースされて間もないため、margarineを動かしたという話はまだ出ていないかと。
場合によっては、ruby1.6.8にバージョンダウンする必要も出てくるかもしれません。
Responder a
#5601
RE: 教えてください。 (2003-08-16 21:19 by
nisi
#5603)
Criar tíquete
既に指摘がありますが、chasenをふつーにインストールしたなら、"/etc/ld.so.conf" に、"/usr/local/lib" を追加しないとはまっちゃうかもしれません。
1.8.0系特有の問題であれば、当方では未確認です。
Responder a
#5601
RE: 教えてください。 (2003-08-17 14:26 by
zombie
#5605)
Criar tíquete
皆様お返事ありがとうございます。
"/etc/ld.so.conf" に、"/usr/local/lib" を追加し
/sbin/ldconfigして、”ruby-chasen”の”test.rb”を試しましたが結果は
/usr/local/lib/ruby/site_ruby/1.8/i686-linux/chasen.so: /usr/local/lib/ruby/site_ruby/1.8/i686-linux/chasen.so: undefined symbol: cerr - /usr/local/lib/ruby/site_ruby/1.8/i686-linux/chasen.so (LoadError)
from ./sample/test.rb:2
でした。
初歩的な質問ですが、該当のライブラリのパスを何があるディレクトリなのか教えていただけませんでしょうか?
Responder a
#5601
RE: 教えてください。 (2003-08-18 13:11 by
nisi
#5630)
Criar tíquete
”ruby-chasen”の”test.rb”がエラーとのことなので、Marg以前の問題というのはわかりましたが・・・
ファイルが見つからないわけじゃないみたいですね・・・そのパスどおりのところにファイルがあるなら。
すみません。私はお手上げです(汗
Responder a
#5605