List Info

Thread: Compile errors: libcherokee-server.so.0 not found




Compile errors: libcherokee-server.so.0 not found
country flaguser name
France
2008-03-10 06:09:16
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
_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee
Re: Compile errors: libcherokee-server.so.0 not found
country flaguser name
United States
2008-03-10 06:53:33
On 10 Mar 2008, at 12:09, Raphaël HUCK wrote:

> I'm trying to cross-compile cherokee, and I stumbled on
a problem.

 From which platform, and for which platform?

> 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.

Forget about anything previous to b1223. Those were only
alpha releases.

> Any suggestions?

I will try to figure out what the problem is. By the way,
have you  
read these two posts on how to cross compile Cherokee to
Win32? They  
might give you a clue:

    From Linux: http://alobbs.com/news/12
01
    From MacOS: http://alobbs.com/news/12
99

--
Greetings, alo.

_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee

Re: Compile errors: libcherokee-server.so.0 not found
country flaguser name
United States
2008-03-10 06:53:33
On 10 Mar 2008, at 12:09, Raphaël HUCK wrote:

> I'm trying to cross-compile cherokee, and I stumbled on
a problem.

 From which platform, and for which platform?

> 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.

Forget about anything previous to b1223. Those were only
alpha releases.

> Any suggestions?

I will try to figure out what the problem is. By the way,
have you  
read these two posts on how to cross compile Cherokee to
Win32? They  
might give you a clue:

    From Linux: http://alobbs.com/news/12
01
    From MacOS: http://alobbs.com/news/12
99

--
Greetings, alo.

_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee

Re: Compile errors: libcherokee-server.so.0 not found
country flaguser name
France
2008-03-10 06:59:59
> > 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
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee
Re: Compile errors: libcherokee-server.so.0 not found
country flaguser name
France
2008-03-10 06:59:59
> > 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
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee
Re: Compile errors: libcherokee-server.so.0 not found
country flaguser name
France
2008-03-10 07:20:18
> > I'm trying to cross-compile cherokee, and I
stumbled on a problem.
> 
>  From which platform, and for which platform?

On Linux x86
For MIPS Linux 2.6.8.1

> > 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.
> 
> Forget about anything previous to b1223. Those were
only alpha
> releases.

I also tried 0.5.6 before, but ran into even more problems
;)

> > Any suggestions?
> 
> I will try to figure out what the problem is. By the
way, have you  
> read these two posts on how to cross compile Cherokee
to Win32? They  
> might give you a clue:
> 
>     From Linux: http://alobbs.com/news/12
01
>     From MacOS: http://alobbs.com/news/12
99

Thanks for the links. It worked with:

	ac_cv_func_malloc_0_nonnull=yes 
	ac_cv_func_realloc_0_nonnull=yes 
	./configure 
	--host=mips-linux 
	--with-wwwroot=/var/www-docroot 
	--enable-static 
	--enable-shared=no 
	--enable-static-module=all 
	--disable-pthread 
	--disable-readdir_r 
	--disable-tls 
	--disable-ipv6 
	--disable-pam 
	--disable-largefile;

But I think there is a problem in the configure files, maybe
a missing
dependency.

Thanks for your quick reply!
_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee

Re: Compile errors: libcherokee-server.so.0 not found
country flaguser name
France
2008-03-10 07:20:18
> > I'm trying to cross-compile cherokee, and I
stumbled on a problem.
> 
>  From which platform, and for which platform?

On Linux x86
For MIPS Linux 2.6.8.1

> > 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.
> 
> Forget about anything previous to b1223. Those were
only alpha
> releases.

I also tried 0.5.6 before, but ran into even more problems
;)

> > Any suggestions?
> 
> I will try to figure out what the problem is. By the
way, have you  
> read these two posts on how to cross compile Cherokee
to Win32? They  
> might give you a clue:
> 
>     From Linux: http://alobbs.com/news/12
01
>     From MacOS: http://alobbs.com/news/12
99

Thanks for the links. It worked with:

	ac_cv_func_malloc_0_nonnull=yes 
	ac_cv_func_realloc_0_nonnull=yes 
	./configure 
	--host=mips-linux 
	--with-wwwroot=/var/www-docroot 
	--enable-static 
	--enable-shared=no 
	--enable-static-module=all 
	--disable-pthread 
	--disable-readdir_r 
	--disable-tls 
	--disable-ipv6 
	--disable-pam 
	--disable-largefile;

But I think there is a problem in the configure files, maybe
a missing
dependency.

Thanks for your quick reply!
_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee

Re: Compile errors: libcherokee-server.so.0 not found
country flaguser name
United States
2008-03-10 08:48:03
On 10 Mar 2008, at 13:20, Raphaël HUCK wrote:

>>> Any suggestions?
>>
>> I will try to figure out what the problem is. By
the way, have you
>> read these two posts on how to cross compile
Cherokee to Win32? They
>> might give you a clue:
>>
>>    From Linux: http://alobbs.com/news/12
01
>>    From MacOS: http://alobbs.com/news/12
99
>
> Thanks for the links. It worked with:

That is good to know.

> 	--enable-static-module=all 

By the way, if you are compiling for an embedded system, you
may want  
to replace "all" by a list of the plugins that you
want to get  
compiled in the Cherokee binary. Eg:
"fcgi,file,dirlist,common,gzip".

--
Greetings, alo.

_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee

Re: Compile errors: libcherokee-server.so.0 not found
country flaguser name
France
2008-03-10 08:53:22
> >>> Any suggestions?
> >>
> >> I will try to figure out what the problem is.
By the way, have you
> >> read these two posts on how to cross compile
Cherokee to Win32?
> >> They might give you a clue:
> >>
> >>    From Linux: http://alobbs.com/news/12
01
> >>    From MacOS: http://alobbs.com/news/12
99
> >
> > Thanks for the links. It worked with:
> 
> That is good to know.
> 
> > 	--enable-static-module=all 
> 
> By the way, if you are compiling for an embedded
system, you may
> want to replace "all" by a list of the
plugins that you want to get  
> compiled in the Cherokee binary. Eg:
"fcgi,file,dirlist,common,gzip".

Thanks for the precisions.

Now cherokee complains it can't read the config file:

$ ./cherokee -C cherokee.conf 
Error parsing: DocumentRoot /var/www
Couldn't read the config file: cherokee.conf

What am I missing?
_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee

Re: Compile errors: libcherokee-server.so.0 not found
country flaguser name
United States
2008-03-10 08:48:03
On 10 Mar 2008, at 13:20, Raphaël HUCK wrote:

>>> Any suggestions?
>>
>> I will try to figure out what the problem is. By
the way, have you
>> read these two posts on how to cross compile
Cherokee to Win32? They
>> might give you a clue:
>>
>>    From Linux: http://alobbs.com/news/12
01
>>    From MacOS: http://alobbs.com/news/12
99
>
> Thanks for the links. It worked with:

That is good to know.

> 	--enable-static-module=all 

By the way, if you are compiling for an embedded system, you
may want  
to replace "all" by a list of the plugins that you
want to get  
compiled in the Cherokee binary. Eg:
"fcgi,file,dirlist,common,gzip".

--
Greetings, alo.

_______________________________________________
Cherokee mailing list
Cherokeecherokee-project.com
http://cherokee-project.com/cgi-bin/mailman/listinf
o/cherokee

[1-10] [11-20] [21-30] [31-40] [41-47]

about | contact  Other archives ( Real Estate discussion Medical topics )