You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by Massimo Manghi <mx...@apache.org> on 2015/10/01 19:46:36 UTC

Re: "mod_rivet: Error loading rivetlib package: can't find package rivetlib exactly 2.2.3"

Dear Rodrigo

What command is printing this error? It looks like it's a problem with 
the build process not a problem with rivet itself. Rivet autotools don't 
have any explicit references to that particular library, library names 
and locations are poked into the Makefile by the autotools collection of 
scripts, which use data fetched from various sources, including 
tclConfig.sh. Would you please tell us what your ./configure command 
line looks like?

  -- Massimo


On 09/27/2015 11:02 PM, Rodrigo Readi wrote:
> Dear Sirs!
>
> I compiled httpd-2.4.16, tcl8.6.4, rivet-2.2.3 on OpenBSD 4.8.
>
> When compiling rivet I get the warning:
>
>>>
> *** Warning: linker path does not have real file for library -ltclstub86.
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have
> *** because I did check the linker path looking for a file starting
> *** with libtclstub86 and none of the candidates passed a file format test
> *** using a regex pattern. Last file checked: /usr/opt/tcl864/lib/libtclstub86.a
>
> *** Warning: libtool could not satisfy all declared inter-library
> *** dependencies of module librivetlib.  Therefore, libtool will create
> *** a static module, that should work as long as the dlopening
> *** application is linked with the -dlopen flag.
> <<
>
> By the way, I never saw something like libtclstub86.so in Tcl.
>
> I cannot start httpd with this module, I get in err_log:
>
>>>
> [Sun Sep 27 15:48:51.459452 2015] [:error] [pid 8003:tid 2347695104] (20014)
> Internal error (specific information not available): mod_rivet: Error
> loading rivetlib package: can't find package rivetlib exactly 2.2.3
> <<
>
> Any Hint, how to solve this problem?
>
> I would try to link mod_rivet and httpd statically, but I did not find
> instruction of
> how to do it.
>
> Thanks
> Rodrigo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
> For additional commands, e-mail: rivet-dev-help@tcl.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: "mod_rivet: Error loading rivetlib package: can't find package rivetlib exactly 2.2.3"

Posted by Massimo Manghi <ma...@unipr.it>.
Dear Rodrigo

On 10/01/2015 09:21 PM, hruodr@gmail.com wrote:
>
> I found with google people having similar warnings and problems (with other
> software), and it seems that with static linking is no problem. But I do
> not know how to link mod_rivet and appache statically.

I don't know if you can,  the dynamic module loading is structurally 
part of the Apache web server architecture. You could probably link 
statically the httpd binary but I doubt you can link statically the 
modules into it because in the web server code there is no reference to 
a module symbols until the configuration is read.

  -- Massimo

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: "mod_rivet: Error loading rivetlib package: can't find package rivetlib exactly 2.2.3"

Posted by hr...@gmail.com.
Dear Massimo,
dear Sirs,

> What command is printing this error? 

The error "mod_rivet: Error loading rivetlib package [...]" appears
in "logs/error_log" after I start httpd (without success).

And the loader warnings when building with "make".

> It looks like it's a problem with the build process not a problem with 
> rivet itself. 

Indeed, but they are "only" warnings. Perhaps the source of the
problem.

I found with google people having similar warnings and problems (with other
software), and it seems that with static linking is no problem. But I do 
not know how to link mod_rivet and appache statically.

> Would you please tell us what your ./configure command 
> line looks like?

 ./configure --with-tcl=/usr/opt/tcl864/lib --with-apxs=/usr/opt/ap2/bin/apxs \
 --with-apache=/usr/opt/ap2

mod_rivet is installed where the apache modules are: /usr/opt/ap2/modules
and "/usr/opt/ap2/lib/rivet2.2.3/" contain among others pkgIndex.tcl

Thanks
Rodrigo.


---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org