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!