> > Hi,
> >
> > I'm trying to cross-compile cherokee, and I stumbled on a problem.
> >
> > during the compilation, some of cherokee libraries are not found:
> >
> > mips-linux-uclibc/bin/ld: warning: libcherokee-server.so.0, needed
> > by ./.libs/libcherokee-config.so, not found (try using -rpath or
> > -rpath-link)
> >
> > the line which produced the error is:
> >
> > mips-linux-uclibc-gcc -g -O2 -o .libs/cherokee_show
> > cherokee_show.o  ./.libs/libcherokee-config.so ./.libs/libcherokee-base.so
> > ./.libs/libcherokee-client.so
> > -ldl
> >
> > so I did the following by hand
> > (added ./.libs/libcherokee-server.so), and it worked:
> >
> > mips-linux-uclibc-gcc -g -O2 -o .libs/cherokee_show
> > cherokee_show.o  ./.libs/libcherokee-config.so ./.libs/libcherokee-base.so
> > ./.libs/libcherokee-client.so ./.libs/libcherokee-server.so
> > -ldl
> >
> > now there is another error:
> >
> > mips-linux-uclibc/bin/ld: warning: libcherokee-base.so.0, needed
> > by ../cherokee/.libs/libcherokee-client.so, not found (try using
> > -rpath or -rpath-link)
> >
> > which I haven't solved yet.
> >
> > The two errors occur with cherokee-0.6.0b700 and cherokee-0.6.0b863.
> >
> > With cherokee-0.6.0b1223, I only have the second one.
> >
> > Any suggestions?
> >
> > Thanks in advance.
> >
> > --Raphaël HUCK
> 
> 
>        Hello,
> 
>        Have you tried --localstatedir=/var ?
> 
>        ./configure --localstatedir=/var --prefix=/usr
> --sysconfdir=/etc --with-wwwroot=/var/www ....
> 

I was configuring with:

        ac_cv_func_malloc_0_nonnull=yes \
        ac_cv_func_realloc_0_nonnull=yes \
        ./configure \
        --host=mips-linux \
        --with-wwwroot=/var/www-docroot \
        --disable-pthread \
        --disable-tls \
        --disable-ipv6 \
        --disable-pam \
        --disable-largefile;

I've just tried again after adding --localstatedir=/var --prefix=/usr
--sysconfdir=/etc

the result is the same:

mips-linux-uclibc/bin/ld:
warning: libcherokee-base.so.0, needed
by ../cherokee/.libs/libcherokee-client.so, not found (try using -rpath
or -rpath-link)
_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to