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 actually
looking for? Maybe I can add them directly to some include path or something
to make it find them?
>
> ser always compiles ok, its when I try
to run it with the loadmodule for mysql.so that it fails with that 'undefined
symbol: log' error.
>
> thanks,
> Josef
>
>
"sip" <sip@arcdiv.com> > 09/02/2007 00:35
> To
Josef.Bajada@go.com.mt, serusers@lists.iptel.org
> cc
serusers-bounces@lists.iptel.org
> Subject
Re: [Serusers] failed to load mysql.so
module
>
>
>
> Strangely, no. My libs were in the right path, and it
still 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. After
that, 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 of
its existence? Some include path or LD_LIBRARY_PATH or something? Any particular
library it must be looking for?
>
>
>
> thanks,
>
> Josef
>
> -----"sip"
<sip@infinideas.com> wrote: -----
>
>
>
>
> To: Steve Blair <blairs@isc.upenn.edu>,
Josef.Bajada@go.com.mt
>
> From: "sip" <sip@infinideas.com>
>
> Date: 02/08/2007 08:08PM
>
> cc: serusers-bounces@lists.iptel.org, serusers@lists.iptel.org
>
> Subject: Re: [Serusers] failed to load mysql.so module
>
>
>
> It's not a mysql v5 issue per se, but the
new versions of the mysql RPMs for,
>
> at the very least, RHEL4, place the client libs in a spot that the
SER 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 not
yet
>
> > identified why.
>
> >
>
> > -Steve
>
> >
>
> > Josef.Bajada@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 scratch
but the
>
> > > problem remained.
>
> > >
>
> > > Any ideas how to solve this?
>
> > >
>
> > > Thanks a lot,
>
> > >
>
> > > Josef
>
> > >
>
> > > ------------------------------------------------------------------------
>
> > >
>
> > > _______________________________________________
>
> > > Serusers mailing list
>
> > > Serusers@lists.iptel.org
>
> > > http://lists.iptel.org/mailman/listinfo/serusers >
> > >
>
> > _______________________________________________
>
> > Serusers mailing list
>
> > Serusers@lists.iptel.org
>
> > http://lists.iptel.org/mailman/listinfo/serusers >
>
>
> >
>
>
>
>