You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/12/26 13:51:07 UTC

[GitHub] [couchdb] maojianyu edited a comment on issue #2364: CouchDB 2.3.1 Save view failed On Red Hat6.5

maojianyu edited a comment on issue #2364: CouchDB 2.3.1 Save view failed On Red Hat6.5
URL: https://github.com/apache/couchdb/issues/2364#issuecomment-569061892
 
 
   > Can you run `ldd bin/couchjs` to see what it thinks its linked to? If `libmozjs185.so.1.0` is in `/usr/local/lib` you may have to update `/etc/ld.so.conf` and run `ldconfig` to get those shared libraries updated.
   
   Thanks.
   I run the command `ldd bin/couchjs`,It's show as :
   ```
   couchdb  couchdb.cmd  couchjs  couchup  nohup.out  remsh
   [root@redhat-server bin]# ldd couchjs
   	linux-vdso.so.1 =>  (0x00007ffcec381000)
   	libmozjs185.so.1.0 => not found
   	libm.so.6 => /lib64/libm.so.6 (0x0000003be8c00000)
   	libc.so.6 => /lib64/libc.so.6 (0x0000003be8000000)
   	/lib64/ld-linux-x86-64.so.2 (0x00005610277ff000)
   [root@redhat-server bin]#
   ```
   
   and then I run the `ldconfig` command,and copy the` libmozjs185.so.1.0` to the `/usr/lib/`,the ldd command show as:
   ```
   [root@redhat-server bin]# ldd couchjs
   ./couchjs: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib/libmozjs185.so.1.0)
   ./couchjs: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/libmozjs185.so.1.0)
   	linux-vdso.so.1 =>  (0x00007fff3e720000)
   ```
   but it still get this error 'Save failed. Reason: undefined' when I create a new view.
   
   So I run ' strings /usr/lib64/libstdc++.so.6 | grep CXXABI' ,an not found the 1.3.9 version.
   CXXABI_1.3
   CXXABI_1.3.1
   CXXABI_1.3.2
   CXXABI_1.3.3
   
   and I see the ` libstdc++.so.6 -> libstdc++.so.6.0.13`, It's old version.
   
   Now I try to update the gcc and try again.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services