|
Hello,
I have Freebsd 4.7 + Apache 2 with SSL + mod_dtcl
installed.
Normal script runs ok e.g.
<? puts "hello world ?> in a.ttml correctly
displays "hello world" when referenced from browser.
I have libpgtcl.so pointing to (soft link)
libpgtcl.so.2 in /usr/local/lib
I have the following b.ttml
<?
load libpgtcl[info
sharedlibextension]
........ code to access
database
?>
this script fails on load command with error
:
couldn't load file "libpgtcl.so" : /usr/local/lib/libpgtcl.so: Undefined symbol
"Tcl_GetChannel"
while executing "load libpgtcl[info sharedlibextension]" (in namespace eval "::request" script line 4) invoked from within "namespace eval request { buffer_add "" I also tried :
load libpgtcl.so
load
/usr/local/lib/libpgtcl.so
I also tried :
copying libpgtcl.so to apache
home directory where b.ttml exists.
I get the above error message all the
time.
The same script without <? ?>
runs fine with :
pgtclsh b.ttml
I am able to access postgres database from pgtclsh
run from csh.
Any/All help is appreciated.
|
- Re: Apache 2 + mod_dtcl can not load libpgtcl.so Tushar Parekh
- Re: Apache 2 + mod_dtcl can not load libpgtcl.so David N. Welton
- Re: Apache 2 + mod_dtcl can not load libpgtcl.so Mikhail Teterin
