[Bug 503748] [NEW] missing libcherokee-base.so.0 and SEGFAULT

Pierre GAUTHIER pierre.gauthier at twd-industries.com
Wed Jan 6 11:16:01 UTC 2010


Public bug reported:

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

** Affects: cherokee (Ubuntu)
     Importance: Undecided
         Status: New

-- 
missing libcherokee-base.so.0 and SEGFAULT
https://bugs.launchpad.net/bugs/503748
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list