Am Freitag, den 15.12.2006, 16:30 +0100 schrieb Massimo Manghi:
> David Welton wrote:
> >> ok, I changed it by hand. 'svn diff' produces a patch quite similar
> >> to the one you passed me. I compiled and restarted apache
> >>
> >> Cannot load /home/manghi/Projects/rivet/1_0/src/.libs/mod_rivet.so 
> >> into server:
> >> /home/manghi/Projects/rivet/1_0/src/.libs/mod_rivet.so: undefined 
> >> symbol: Rivet_Init

> the question now is: where mod_rivet.so expects to find librivet.so and
> librivetparser.so? /usr/lib didn't work and lib_libexecdir didn't
> work either... the latter is evaluated as /usr/share/rivet0.7.0

The libraries must be on LD_LIBRARY_PATH - including the Tcl package
library (I think it's librivet.so). This should also be the library
where Rivet_Init is defined.

You can do a simple test with all the libraries that are generated in
the rivet distribution: for every library, do
nm <path/to/library>

and look where Rivet_Init is defined. This one must be on the dynamic
library load path (LD_LIBRARY_PATH or added through ldconfig).


Eckhard




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to