Greger,
Nothing about why SER coiuldn't load the mysql module in the debug
output. I did eventually figure out the problem though. It turns out
that dlopen() couldn't figure out where on the system
libmysqlclient.so lived and as a result the call to dlopen failed.
OpenBSD wasn't very informative in this case about why the call to
dlopen() failed.
so I ran ldconfig -m /usr/local/lib/mysql and then SER started quite
happily.
I'm SURE this is going to trip someone else up eventually.
-Daniel
On 1/11/07, Greger V. Teigre <greger(a)teigre.com> wrote:
Try to start ser in debug stderr mode and see
what trace you get.
g-)
Daniel Corbe wrote:
Like I said, the module exists in
/usr/local/lib/ser, and I watched it
compile, it compiled cleanly
# gmake include_modules="mysql" print-modules
The following modules will be included: mysql
----------------------------------------------------------
The following modules will be excluded: CVS
# gmake install-modules-all
...
# ls -al /usr/local/lib/ser/modules/mysql.so
-rwxr-xr-x 1 root wheel 149490 Jan 10 09:57
/usr/local/lib/ser/modules/mysql.so
So there's no question about whether or not its installed and whether
or not it matches the SER core. It just won't load!
On 1/10/07, TZieleniewski <tzieleniewski(a)o2.pl> wrote:
> Daniel Corbe napisa?(a):
> > For some reason the mysql module for ser compiled cleanly but SER
> > refuses to load it.
> >
> > IE
> >
> > # ser -c
> > 0(28131) ERROR: load_module: could not open module
> > </usr/local/lib/ser/modules/mysql.so>: Cannot load specified object
> > 0(28131) parse error (55,13-14): failed to load module
> > ERROR: bad config file (1 errors)
> >
> > It does exist, is installed and was compile from the same
sources as
> the
SER core.
>
> I'm not sure what I'm doing wrong.
>
> Thanks.
>
> -Daniel
> _______________________________________________
> Serusers mailing list
> Serusers(a)lists.iptel.org
>
http://lists.iptel.org/mailman/listinfo/serusers
>
>
invoke 'make' with print-modules option instead of all
# make ... print-modules
and check if mysql module is listed as the one of the included
then if it is check output of make if it is realy compiled and if the
correct
mysql.so
tomasz
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers