couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Ferguson <ke...@meebo-inc.com>
Subject RE: Lounge issues
Date Fri, 06 Nov 2009 15:33:34 GMT
Hi Tim,

That error is new to me.  What version of glibc do you have?  Also, what is the output of:
ldd /usr/lib64/libjson.so

Kevin
________________________________________
From: Coffman, Timothy A [tim.coffman@Vanderbilt.Edu]
Sent: Thursday, November 05, 2009 9:50 AM
To: user@couchdb.apache.org
Subject: RE: Lounge issues

I, too, am having real difficulties installing Lounge.

I am on RedHat, el5, x86_64.  I installed the RPM for json-c 0.7 (as
provided at http://code.google.com/p/couchdb-lounge/downloads/list) ,
but there is a link error when I run build_rpm.sh.  Details below.  No
one else seems to have encountered this error.



For reference, here are the json files that have been installed:

----------------------------------------

[tcoffman]$ ls -ldt /usr/*/*json*

drwxr-xr-x 2 root root  4096 Nov  5 11:40 /usr/include/json/

lrwxrwxrwx 1 root root    16 Nov  5 11:40 /usr/lib64/libjson.so ->
libjson.so.0.0.1*

lrwxrwxrwx 1 root root    16 Nov  5 11:40 /usr/lib64/libjson.so.0 ->
libjson.so.0.0.1*

-rw-r--r-- 1 root root 44760 Mar 26  2009 /usr/lib64/libjson.a

-rwxr-xr-x 1 root root   804 Mar 26  2009 /usr/lib64/libjson.la*

-rwxr-xr-x 1 root root 86393 Mar 26  2009 /usr/lib64/libjson.so.0.0.1*





Errors from bulid_rpm.sh:

----------------------------------------



gcc -o objs/nginx \

        objs/src/core/nginx.o \

        objs/src/core/ngx_log.o \

<snip>

        objs/src/http/modules/ngx_http_empty_gif_module.o \

        objs/src/http/modules/ngx_http_browser_module.o \

        objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \

        objs/addon/nginx_lounge_module/lounge.o \

        objs/ngx_modules.o \

        -lcrypt -ljson -lpcre -lz

/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libjson.so:
undefined reference to `__vasprintf_chk@GLIBC_2.8'

collect2: ld returned 1 exit status

make[1]: *** [objs/nginx] Error 1

make[1]: Leaving directory
`/home/tcoffman/couchdb/build/tilgovi-couchdb-lounge-c9d6d45/dumbproxy/b
uild/nginx-0.7.22'

make: *** [build] Error 2

error: Bad exit status from /var/tmp/rpm-tmp.10460 (%build)





RPM build errors:

    Bad exit status from /var/tmp/rpm-tmp.10460 (%build)



Tim Coffman

Vanderbilt University Medical Center

(615) 936-6496




Mime
View raw message