yes I did. I placed in the same directory as my library .cc files, I
placed it in the freeling.node directory.
I'm suspicious to how I'm setting up my binding.gyp file. I can't figure
out how to tell in my binding.gyp file that I need my library to link with
an external .so file. Can you provide a sample .gyp file that show that?
This is what I have but it still doesn't like libfreeling-3.0-alfa1.so
properly.
{
'targets': [
{
'target_name': 'freeling',
'type': 'loadable_module',
'product_extension': 'node',
'product_prefix': '',
'include_dirs': ['/home/roy/freeling/free3/include'],
'link_settings': {
'libraries': ['libfreeling-3.0-alfa1.so'],
'library_dirs': ['/home/roy/freeling/free3/lib'],
},
'sources': ['freeling.cc', 'freeling_tokenizer.cc'],
},
],
}
On Thursday, March 29, 2012 11:43:24 AM UTC-4, Nathan Rajlich wrote:
>
>
> libfreeling-3.0-alfa1.so => not found
>>
>
> So that needs to be fixed :p
>
> Did you try placing libfreeling-3.0-alfa1.so in the same directory as
> freeling.node?
>
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en