On 14/06/2010, at 12:11, Juan J. Martínez wrote:
> El lun, 14-06-2010 a las 12:06 +0200, Alvaro Lopez Ortega escribió:
>> [...] 
>>> It depends on you Cherokee installation:
>>> 
>>> - create a /etc/ld.so.conf.d/cherokee.conf
>>> - put into it the path of your cherokee libs (find the path with
>>> something like find / -name "*libcherokee-base.so.0")
>>> - run ldconfig
>> 
>> Doesn't CentOS have /usr/local/lib in the library path? It sounds pretty 
>> unlikely to me.
> 
> May be I'm doing something wrong, but using --prefix=/usr/local in the
> configure line installs Cherokee libs in:
> 
> /usr/local/lib/cherokee/

With the system-wide installation parameters (--prefix=/usr --sysconfdir=/etc 
--localstatedir=/var) I got these results:

========
$ grep ^libdir\ = Makefile
libdir = ${exec_prefix}/lib

$ grep ^exec_prefix\ = Makefile
exec_prefix = ${prefix}

$ grep ^prefix\ = Makefile
prefix = /usr
========

With a plain --prefix=/usr/local the results are:

========
$ grep ^libdir\ = Makefile
libdir = ${exec_prefix}/lib

$ grep ^exec_prefix\ = Makefile
exec_prefix = ${prefix}

$ grep ^prefix\ = Makefile
prefix = /usr/local
========

so, in both cases Cherokee would install its in a "lib" subdirectory inside the 
$prefix.  The plug-ins though would be installed one level deeper inside a 
"lib/cherokee" subdirectory, but those are not loaded at run time.

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to