[Freeswitch-users] Make error on Scientific Linux 6.1 [SOLVED]

Cliff Wells cliff at develix.com
Mon Oct 24 12:31:46 MSD 2011


On Mon, 2011-10-24 at 03:22 -0400, Madovsky wrote:
> maybe you can also use symbolic links in /usr/lib/
> with same results...

Possibly, but since /usr/lib64 is the default system lib dir, I'd think
that if this were the issue, we'd also see things like /usr/lib/libc.so
not being resolved.  It appears to me that libnss3 *is* found
in /usr/lib64, but for some reason, doesn't automatically load the other
two libraries that it depends on, which is where we see the unresolved
symbols.

In any case, I've already put the system in question into production, so
experiments in this regard will have to wait until later this week when
I setup another system.

As an aside, I also spotted a bug in configure that repeatedly passes
-L/usr/lib6464 as an argument to gcc, but fixing this didn't appear to
resolve any issues.

Cliff


> ----- Original Message ----- 
> From: "Cliff Wells" <cliff at develix.com>
> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
> Sent: Monday, October 24, 2011 3:14 AM
> Subject: Re: [Freeswitch-users] Make error on Scientific Linux 6.1 [SOLVED]
> 
> 
> > One last bit of info:
> >
> > This will get you compiled, but various modules won't load at runtime
> > for the same reason (unresolved symbols in libnss3, etc).  The solution
> > is to add this to the top of /etc/init.d/freeswitch:
> >
> > export LD_PRELOAD="/usr/lib64/libnss3.so /usr/lib64/libnspr4.so 
> > /usr/lib64/libplds4.so"
> >
> > At this point it seems to work fine.
> >
> > Cliff
> >
> > On Sun, 2011-10-23 at 21:18 -0700, Cliff Wells wrote:
> >> Okay, so I managed to get it built.  For those who care, here's the
> >> magic incantation required:
> >>
> >> yum install nspr-devel
> >> env LIBS="-lnss3 -lnspr4 -lplds4" ./configure
> >> make && make install
> >>
> >> Regards,
> >> Cliff
> >>
> >> On Sun, 2011-10-23 at 20:56 +0200, Patrick Lists wrote:
> >> > On 10/23/2011 08:42 PM, Cliff Wells wrote:
> >> > > This appears to be the same issue:
> >> > >
> >> > > http://jira.freeswitch.org/browse/FS-3384
> >> > >
> >> > > but the bug is closed for not being reported against git head.  I 
> >> > > guess
> >> > > I'll open a new one.
> >> >
> >> > Cliff,
> >> >
> >> > Here's another one: http://jira.freeswitch.org/browse/FS-3393
> >> >
> >> > Have you tried:
> >> > ./configure --without-libcurl
> >> >
> >> > Regards,
> >> > Patrick
> >> >
> >> >
> >> > FreeSWITCH-users mailing list
> >> > FreeSWITCH-users at lists.freeswitch.org
> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> > http://www.freeswitch.org
> >>
> >>
> >>
> >>
> >> FreeSWITCH-users mailing list
> >> FreeSWITCH-users at lists.freeswitch.org
> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> >> http://www.freeswitch.org
> >
> >
> >
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org 
> 
> 
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org





Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list