ecap loads ecap_adater_minimal problem

Asked by sam

Dear Friends

      I want to load ecap_adater_minimal . It works fine when I use ./squid -N -d 10 . But when I want to run squid as daemon ,

The squid fails and the error is
          Loading Squid module from '/usr/local/lib/'
          FATAL: dying from an unhandled exception: file not found

What is problem ? why it works with -N switch and doesn't work as daemon ?

Question information

English Edit question
eCAP Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Revision history for this message
Alex Rousskov (rousskov) said :

Interesting problem. I do not recall seeing that before. You may be able to figure out why this happens if you strace[1] Squid daemon (with an option to follow child processes). The strace log should contain commands to open the module file with the resulting error codes. What are they?


If you are not on Linux, your OS should have a similar "system calls tracing" command.

Revision history for this message
sam (sadegh-sal) said :

The problem solved .
The point is Squid just look up /usr/local/libs .I don't know why but squid doesn't attention to LD_LIBRARY_PATH . It sounds silly but I copied my library to /usr/local/lib and problem solved .