/usr/local/lib isn't on ld's path by default but I'm pretty sure we add it as a search bath when building. You either need to set LD_LIBRARY_PATH or (what I recommend) update /etc/ld.so.conf and then run ldconfig.
On Monday, September 19, 2011 at 6:13 AM, George Catalin Serbanut wrote: > Environment characteristics: > OS: CentOS 6.0. > Kernel: 2.6.32-71.29.1.el6.x86_64 > Erlang (result from erl): Erlang R14B03 (erts-5.8.4) [source] [64-bit] > [rq:1] [async-threads:0] [hipe] [kernel-poll:false] > GCC: 4.4.4 > If you need more info, let me know what you need. > > I understand the Erlang report, but I don't understand how is it possible at > compilation not to have any problem and at execution to have this problem > unless the application itself doesn't load correctly the shared library. The > configuration was started with ./configure (no complain from CouchDB), the > compilation was done with make (again no complain) and the installation with > make install as root (no complain from CouchDB). Starting CouchDB with > couchdb start throws the crash report I spoke about. > > Thanks. > > > > On Mon, Sep 19, 2011 at 12:50 PM, Robert Newson <[email protected] > (mailto:[email protected])> wrote: > > > What OS is this? It's the second report of a failure to correctly > > locate and link with ICU, so the more details you can give the better. > > > > B. > > > > On 19 September 2011 11:43, George Catalin Serbanut > > <[email protected] (mailto:[email protected])> wrote: > > > Hi everyone, > > > > > > I am new at this list and I am not sure if I send to the correct list. I > > > hope I don't offend anyone. > > > > > > Now, my problem. I succeeded to compile couchdb 1.1.0, but when I try to > > > start it, I got the following error: > > > > > > -------------------------------- > > > Apache CouchDB 1.1.0 (LogLevel=info) is starting. > > > > > > =CRASH REPORT==== 19-Sep-2011::05:18:06 === > > > crasher: > > > initial call: application_master:init/4 > > > pid: <0.30.0> > > > registered_name: [] > > > exception exit: {bad_return, > > > {{couch_app,start, > > > [normal, > > > ["/usr/local/etc/couchdb/default.ini", > > > "/usr/local/etc/couchdb/local.ini"]]}, > > > {'EXIT', > > > "libicuuc.so.48: cannot open shared object > > > file: No such file or directory"}}} > > > in function application_master:init/4 > > > ancestors: [<0.29.0>] > > > messages: [{'EXIT',<0.31.0>,normal}] > > > links: [<0.29.0>,<0.7.0>] > > > dictionary: [] > > > trap_exit: true > > > status: running > > > heap_size: 610 > > > stack_size: 24 > > > reductions: 98 > > > neighbours: > > > > > > =INFO REPORT==== 19-Sep-2011::05:18:06 === > > > application: couch > > > exited: {bad_return,{{couch_app,start, > > > [normal, > > ["/usr/local/etc/couchdb/default.ini", > > "/usr/local/etc/couchdb/local.ini"]]}, > > > {'EXIT',"libicuuc.so.48: cannot open shared > > object > > > file: No such file or directory"}}} > > > type: temporary > > > -------------------------------- > > > > > > I have libicuuc.so.48 in /usr/local/lib. Could anyone to tell me what > > have I > > > done wrongly? Thank you. > > > > > > Cheers, > > > CGS
