| View previous topic :: View next topic |
| Author |
Message |
Astur Voice
Joined: 23 Nov 2007 Posts: 16
|
Posted: Sat Dec 01, 2007 10:21 am Post subject: Mailbot problem |
|
|
Hi guys.
I need some help setting up the mailbot script (click me).
I unpacked mailbot-1.01.tar.gz into eggdrop/scripts and edited the conf file.
I also did this:
| Quote: |
Edit the eggdrop configuration file for your bot: include the sqlite module and the script:
#
# Load the sqlite TCL bindings module.
# N.B. Read the 'Installation of Prerequisites' step above in detail,
# if you encounter errors when executing this line.
#
load libtclsqlite3.so
#
# Include the tcllib prerequisites.
# If you have the Tcllib normally installed, you may replace
# these with 'package require' lines instead, like so:
#
# package require aes
# package require base64
# package require crc
#
# Though, source lines work just as well
# Just be sure to adjust the paths to suit your system.
#
source tcllib1.10/aes/aes.tcl
source tcllib1.10/base64/base64.tcl
source tcllib1.10/crc/crc32.tcl
#
# Finally, include the mailbot script.
# N.B. The scripts/ subdirectory is relative to your location
# of your eggdrop binary.
#
source scripts/mailbot-1.0/mailbot.tcl
|
Now, if I want to start the bot, I only get
| Quote: |
[15:15] Tcl error in file 'eggdrop.conf':
[15:15] couldn't load file "libtclsqlite3.so": libtclsqlite3.so: cannot open shared object file: No such file or directory
while executing
"load libtclsqlite3.so"
(file "eggdrop.conf" line 181)
[15:15] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
Connection closed by foreign host.
|
dunno what to do
can some1 help me pls? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Dec 01, 2007 11:18 am Post subject: |
|
|
| Quote: | | # N.B. Read the 'Installation of Prerequisites' step above in detail, |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Astur Voice
Joined: 23 Nov 2007 Posts: 16
|
Posted: Sat Dec 01, 2007 12:41 pm Post subject: |
|
|
I did, and I have the modules.
Where I have to put the libtclsqlite3.so?
I have it in /eggdrop at the moment. |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Dec 01, 2007 1:23 pm Post subject: |
|
|
When you add new modules to the source, you're supposed to recompile your Eggdrop. This is probably specified in the module's installation. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Astur Voice
Joined: 23 Nov 2007 Posts: 16
|
Posted: Sat Dec 01, 2007 2:05 pm Post subject: |
|
|
It's not working, dunno  |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Dec 01, 2007 6:53 pm Post subject: |
|
|
The instructions could not be any clearer:
| Quote: | | Mailbot requires the following prerequisites: Tcllib and the SQLite TCL bindings. |
You need to install SQLite. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Astur Voice
Joined: 23 Nov 2007 Posts: 16
|
Posted: Sat Dec 01, 2007 7:04 pm Post subject: |
|
|
As I said, I did this already.
I downloaded the tcllib (thats all right) and the SQLite TCL bindings called tclsqlite-3.5.3.so.gz from http://www.sqlite.org/download.html
I put the SQLite file into /eggdrop or /modules, both is not working.
EDIT:
I changed load libtclsqlite3.so to load modules/libtclsqlite3.so and now I get:
| Quote: |
[00:08] Tcl error in file 'eggdrop.conf':
[00:08] couldn't load file "modules/libtclsqlite3.so": modules/libtclsqlite3.so: undefined symbol: pthread_mutex_trylock
while executing
"load modules/libtclsqlite3.so"
(file "eggdrop.conf" line 178)
[00:08] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
Connection closed by foreign host.
|
Last edited by Astur on Sat Dec 01, 2007 7:09 pm; edited 1 time in total |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Dec 01, 2007 7:08 pm Post subject: |
|
|
@Sir_Fz:
In this case, it's not an eggdrop-module, but a native tcl-module.
@Astur:
It is preferrable to use a full or relative path with load, rather than just using the filename (in the latter case, the paths in tcl_libPath are searched for the library file). Try altering
| Code: | | load libtclsqlite3.so |
into something like this (depending on where you placed your libtclsqlite3.so file)
| Code: | | load /eggdrop/libtclsqlite3.so |
_________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Nor7on Op

Joined: 03 Mar 2007 Posts: 185 Location: Spain - Barcelona
|
Posted: Sun Dec 02, 2007 5:50 am Post subject: |
|
|
Astur:
to my also it happened to me the same, and it was because I do not have activated mysql in my shell probably your you do not count on mysql activated in your shell. if nonaccounts with mysql in your shell, you must request this service to your supplier, normally the prices varies from $1 to monthly 2$. |
|
| Back to top |
|
 |
|