[Serusers] failed to load mysql.so module
sip
sip at infinideas.com
Fri Feb 9 15:29:41 CET 2007
No no... it's looking for the /usr/lib/mysqlclient* files (not directory) to be IN the /usr/lib/mysql directory.
Hence the sym link statement below.
N.
On Fri, 9 Feb 2007 10:24:06 +0100, Josef.Bajada wrote
> Hi,
>
> Well I dont have any directory named/usr/lib/mysqlclient. All I have is /usr/lib/mysql
>
> Any idea of which libs ser is actuallylooking for? Maybe I can add them directly to some include path or somethingto make it find them?
>
> ser always compiles ok, its when I tryto run it with the loadmodule for mysql.so that it fails with that 'undefinedsymbol: log' error.
>
> thanks,
> Josef
>
>
"sip" <sip at arcdiv.com>
> 09/02/2007 00:35
> To Josef.Bajada at go.com.mt, serusers at lists.iptel.org
> cc serusers-bounces at lists.iptel.org
> Subject Re: [Serusers] failed to load mysql.somodule
>
>
>
> Strangely, no. My libs were in the right path, and itstill didn't find them. There needs to be a modification to the SER makefile,likely, but I haven't had a chance to look into it too carefully.
>
> What I did that worked was to link /usr/lib/mysqlclient* into /usr/lib/mysql (ln -s /usr/lib/mysqlclient* /usr/lib/mysql ) and then recompile. Afterthat, it found the right libraries and worked just fine.
>
> N.
>
> On Thu, 8 Feb 2007 23:28:46 +0100, Josef.Bajada wrote
> >
> >
> > Is there any configuration I can change to make it take notice ofits existence? Some include path or LD_LIBRARY_PATH or something? Any particularlibrary it must be looking for?
> >
> > thanks,
> > Josef
> > -----"sip"<sip at infinideas.com> wrote: -----
> >
> >
> To: Steve Blair <blairs at isc.upenn.edu>,Josef.Bajada at go.com.mt
> > From: "sip" <sip at infinideas.com>
> > Date: 02/08/2007 08:08PM
> > cc: serusers-bounces at lists.iptel.org, serusers at lists.iptel.org
> > Subject: Re: [Serusers] failed to load mysql.so module
> >
> > It's not a mysql v5 issue per se, but thenew versions of the mysql RPMs for,
> > at the very least, RHEL4, place the client libs in a spot that theSER stuff
> > simply never sees for one reason or another.
> >
> > If it's in /usr/lib, it just ignores its existence.
> >
> > N.
> >
> > On Thu, 08 Feb 2007 13:29:22 -0500, Steve Blair wrote
> > > I'm starting to think this is a mysql v5 issue but I have notyet
> > > identified why.
> > >
> > > -Steve
> > >
> > > Josef.Bajada at go.com.mt wrote:
> > > >
> > > > Hi,
> > > >
> > > > I am having this problem with the mysql module on ser.
> > > >
> > > > 0(31212) ERROR: load_module: could not open module
> > > > </opt/ser/modules/mysql/mysql.so>: /opt/ser/modules/mysql/mysql.so:
> > > > undefined symbol: log
> > > > 0(31212) parse error (30,13-14): failed to load module
> > > > ERROR: bad config file (1 errors)
> > > >
> > > > I can confirm that mysql.so exists in that directory.
> > > > I have mysql 5.0.27 installed.
> > > >
> > > > I have already tried to clean and make all from scratchbut the
> > > > problem remained.
> > > >
> > > > Any ideas how to solve this?
> > > >
> > > > Thanks a lot,
> > > >
> > > > Josef
> > > >
> > > > ------------------------------------------------------------------------
> > > >
> > > > _______________________________________________
> > > > Serusers mailing list
> > > > Serusers at lists.iptel.org
> > > > http://lists.iptel.org/mailman/listinfo/serusers
> > > >
> > > _______________________________________________
> > > Serusers mailing list
> > > Serusers at lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
>
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070209/7e36ad38/attachment.htm>
More information about the sr-users
mailing list