You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by "佰祥.朱" <ba...@gmail.com> on 2008/12/25 06:45:22 UTC
couchjs: symbol lookup error
I use couchdb 0.8.1 for my test , but i got a error when create a view use
futon.
/usr/local/couchdb/lib/couchdb/bin/couchjs: symbol lookup error:
/usr/local/lib/libjs.so: undefined symbol: __clzdi2
[error] [emulator] Error in process <0.74.0> with exit value:
{{nocatch,{map_process_error,{exit_status,127}}},[{couch_query_servers,readline,2},{couch_query_servers,read_json,1},{couch_query_servers,prompt,2},{couch_query_servers,get_linked_port,1},{couch_query_servers,start_doc_map...
=ERROR REPORT==== 25-Dec-2008::13:43:04 ===
Error in process <0.74.0> with exit value:
{{nocatch,{map_process_error,{exit_status,127}}},[{couch_query_servers,readline,2},{couch_query_servers,read_json,1},{couch_query_servers,prompt,2},{couch_query_servers,get_linked_port,1},{couch_query_servers,start_doc_map...
[info] [<0.70.0>] HTTP Error (code 500):
{{nocatch,{map_process_error,{exit_status,127}}},
[{couch_query_servers,readline,2},
{couch_query_servers,read_json,1},
{couch_query_servers,prompt,2},
{couch_query_servers,get_linked_port,1},
{couch_query_servers,start_doc_map,2},
{couch_view,view_compute,2},
{couch_view,update_group,1},
{couch_view,temp_update_loop,2}]}
[info] [<0.70.0>] 10.1.57.56 - - "POST /baixiang/_temp_view" 500
who can help me ?
My os is Linux sec.sns.com 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007
x86_64 x86_64 x86_64 GNU/Linux
tks.
baixiang
Re: couchjs: symbol lookup error
Posted by "佰祥.朱" <ba...@gmail.com>.
Another question about undefined symbol: __clzdi2
-------------------------------------------------------------------------------
I got couchdb 0.9a from repository and rebuild it with js 1.7.0
It's working for general operation , but a confused error occured when i use
map function .
my step is:
1. create a db named 'bx'
2. create two document which a document only have one field named 'foo' .
3. I test a map function:
public static void main(String[] a) throws Exception {
Session s = new Session("10.10.82.60", 5984);
Database db = s.getDatabase("bx");
int adhoc = db.adhoc("function (doc) { if( doc.foo ) {
emit(doc.foo, doc); } }").getResults().size();
System.out.println( adhoc );
}
The result is fine.
4. create another document and test the sample map function,but i got a
error:
symbol lookup error: /usr/local/lib/libjs.so: undefined symbol:
__clzdi2
5. delete a document and test it , now result is right ...
It looks like the error occured when resultset size large than three ....?
Incomprehensibility!
Re: couchjs: symbol lookup error
Posted by Jan Lehnardt <ja...@apache.org>.
On 26 Dec 2008, at 03:12, 佰祥.朱 wrote:
> Tks foru help.I had download js-1.6 and rebuild it , now couchdb 0.8.1
> working with x86_64.
>
> perhaps couchdb can't work with js-1.7 and redhatx86_64?
hm no, I think I had that working (on Centos).
Cheers
Jan
--
> 2008/12/26 Chris Anderson <jc...@gmail.com>
>
>> On Wed, Dec 24, 2008 at 9:45 PM, 佰祥.朱 <ba...@gmail.com>
>> wrote:
>>> I use couchdb 0.8.1 for my test , but i got a error when create a
>>> view
>> use
>>> futon.
>>> /usr/local/couchdb/lib/couchdb/bin/couchjs: symbol lookup error:
>>> /usr/local/lib/libjs.so: undefined symbol: __clzdi2
>>
>> Looks like a problem with your Spidermonkey installation. My next
>> move
>> would be to CouchDB trunk. We've been ironing out build issues like
>> this for a few months since the 0.8.1 release, so you'll probably
>> have
>> better luck with trunk. That said, you may end up needing to rebuild
>> Spidermonkey - although I'd try the updated CouchDB source too, as
>> you'll want it anyway.
>>
>> --
>> Chris Anderson
>> http://jchris.mfdz.com
>>
Re: couchjs: symbol lookup error
Posted by "佰祥.朱" <ba...@gmail.com>.
Tks foru help.I had download js-1.6 and rebuild it , now couchdb 0.8.1
working with x86_64.
perhaps couchdb can't work with js-1.7 and redhatx86_64?
2008/12/26 Chris Anderson <jc...@gmail.com>
> On Wed, Dec 24, 2008 at 9:45 PM, 佰祥.朱 <ba...@gmail.com> wrote:
> > I use couchdb 0.8.1 for my test , but i got a error when create a view
> use
> > futon.
> > /usr/local/couchdb/lib/couchdb/bin/couchjs: symbol lookup error:
> > /usr/local/lib/libjs.so: undefined symbol: __clzdi2
>
> Looks like a problem with your Spidermonkey installation. My next move
> would be to CouchDB trunk. We've been ironing out build issues like
> this for a few months since the 0.8.1 release, so you'll probably have
> better luck with trunk. That said, you may end up needing to rebuild
> Spidermonkey - although I'd try the updated CouchDB source too, as
> you'll want it anyway.
>
> --
> Chris Anderson
> http://jchris.mfdz.com
>
Re: couchjs: symbol lookup error
Posted by Chris Anderson <jc...@gmail.com>.
On Wed, Dec 24, 2008 at 9:45 PM, 佰祥.朱 <ba...@gmail.com> wrote:
> I use couchdb 0.8.1 for my test , but i got a error when create a view use
> futon.
> /usr/local/couchdb/lib/couchdb/bin/couchjs: symbol lookup error:
> /usr/local/lib/libjs.so: undefined symbol: __clzdi2
Looks like a problem with your Spidermonkey installation. My next move
would be to CouchDB trunk. We've been ironing out build issues like
this for a few months since the 0.8.1 release, so you'll probably have
better luck with trunk. That said, you may end up needing to rebuild
Spidermonkey - although I'd try the updated CouchDB source too, as
you'll want it anyway.
--
Chris Anderson
http://jchris.mfdz.com