missing libcherokee-base.so.0 and SEGFAULT

Bug #503748 reported by Pierre GAUTHIER
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cherokee (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: cherokee

================================================
What steps will reproduce the problem?

1. compile cherokee (2009-11-19) on Ubuntu 8.10
2. run cherokee
3. missing libcherokee-base.so.0 and SEGFAULT
----------------------------------------------------------------------------
What is the expected output? What do you see instead?

Instead of running cherokee crashes.

What version of the product are you using? On what operating system?

cherokee (2009-11-19) on Ubuntu 8.10

Please provide any additional information below.

libcherokee-base.so.0 is shown by ls so it has been compiled.
================================================

Using strace (see the dump attached) allowed me to understand what the problem is.

First, to install the deb packages, use:

sudo dpkg -i *.deb

(I actually compiled the code but not everybody may choose this path).

Ubuntu 8.1 does not list the necessary entries in /etc/ld.so.conf, so, to cover
Cherokee's needs and future needs (this is a test machine) I added:

   /lib32
   /usr/lib32
   /usr/X11R6/lib32
   /usr/local/lib
   /usr/local/lib/cherokee

After you add those lines before the 'include' entry, reload the configuration:

sudo ldconfig -X

Because of these missing entries, Cherokee was not finding its shared libraries (not an excuse for the SEGFAULT).

Then, Cherokee's errors "Something just happened while opening a plug-in file" did not really help, nor the incorrect "Couldn't read the config file: /usr/local/etc/cherokee/cherokee.conf" (strace demonstrates that the config file was properly loaded, twice).

I have been told by Cherokee's team that "compiling tells to add that lib to ld.so.conf"

Cherokee's compilation lasts a few minutes and its output is tenths of thousands lines long so I am not sure that everyone can afford to read it all to find the one useful line.

As 'make install' has usually the required privileges, that's probably a good place to save the hurdle of doing it manually for every single new Cherokee user.

I also have been told that:
"As with any package you need to fill the package dependencies to work"

Sure, but Apache, Rock, Lighttpd, Nginx, Klone, and many others, are able:

1) to find the files that *they* have generated and installed;

2) to avoid *a crash* (SEGFAULT) if one of those files is missing.

Just my one-cent contribution, in case an unfortunate Ubuntu user is facing the same "non-issue" (but real crash).

Revision history for this message
Pierre GAUTHIER (pierre-gauthier) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.