[Serusers] failed to load mysql.so module

sip sip at arcdiv.com
Fri Feb 9 00:35:27 CET 2007


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 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 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 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 scratch but 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/20070208/a9dda6d4/attachment.htm>


More information about the sr-users mailing list