[Freeswitch-users] mod_fax undefined symbol

Puskás Zsolt errotan at gmail.com
Wed Feb 24 10:35:14 PST 2010


2010. február 21. 22.25.05 TTNC - Technical dátummal ezt írta:
> Out of interest, I downgraded my versions of libtiff and libjpeg to the
>  versions shipped with Lenny:
> 
> voipin1:/opt# dpkg -l | egrep 'libtiff|libjpeg'
> ii  libjpeg62                            6b-14                    The
>  Independent JPEG Group's JPEG runtime library ii  libjpeg62-dev           
>              6b-14                    Development files for the IJG JPEG
>  library ii  libtiff4                             3.8.2-11.2              
>  Tag Image File Format (TIFF) library ii  libtiff4-dev                     
>     3.8.2-11.2               Tag Image File Format library (TIFF),
>  development files ii  libtiffxx0c2                         3.8.2-11.2     
>           Tag Image File Format (TIFF) library -- C++ interface
> 
> Everything else stayed at the 'squeeze' version.
> 
> Still didn't make any different, **/opt/freeswitch/mod/mod_fax.so:
>  undefined symbol: TIFFDefaultStripSize**
> 
> I'm guessing that points to it being a problem outside of these packages
>  and somewhere else in Debian?
> 
> Russ
> 
> On 19 Feb 2010, at 18:04, Puskás Zsolt wrote:
> > 2010. február 19. 18.44.32 TTNC - Technical dátummal ezt írta:
> >> On 19 Feb 2010, at 17:25, Puskás Zsolt wrote:
> >>> Just compiled svn16700 on Debian "lenny" x86, mod_fax loads and works
> >>> perfectly. I have an ongoing compile on another machine (amd64) if It
> >>> don't works i will send a mail (in 1 hour) otherwise consider it
> >>> working.
> >>
> >> How did you compile it? Using dpkg-buildpackage or via make/make
> >> install?
> >>
> >> Do you have any debian versions of libtiff4(-dev) installed?
> >
> > Okay i can confirm that mod_fax works on Debian "lenny" amd64 but it
> > don't work on Debian "testing,squeeze" amd64.
> >
> > 2010-02-19 18:49:14.610297 [CRIT] switch_loadable_module.c:882 Error
> > Loading module /usr/local/freeswitch/mod/mod_fax.so
> > **/usr/local/freeswitch/mod/mod_fax.so: undefined symbol:
> > TIFFDefaultStripSize**
> >
> > I haven't tried to compile mod_fax on testing before so i don't know what
> > is causeing the problem :(
> >
> > # ldd mod_fax.so
> >        linux-vdso.so.1 =>  (0x00007fff106f6000)
> >        libm.so.6 => /lib/libm.so.6 (0x00007f506b711000)
> >        libfreeswitch.so.1 => /usr/local/freeswitch/lib/libfreeswitch.so.1
> > (0x00007f506b345000)
> >        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f506b128000)
> >        libc.so.6 => /lib/libc.so.6 (0x00007f506add4000)
> >        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00007f506ab82000)
> >        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8
> > (0x00007f506a7e2000) libncurses.so.5 => /lib/libncurses.so.5
> > (0x00007f506a59d000) libstdc++.so.6 => /usr/lib/libstdc++.so.6
> > (0x00007f506a28d000) libgcc_s.so.1 => /lib/libgcc_s.so.1
> > (0x00007f506a076000)
> >        libodbc.so.1 => /usr/lib/libodbc.so.1 (0x00007f5069e17000)
> >        /lib64/ld-linux-x86-64.so.2 (0x00007f506bc31000)
> >        libdl.so.2 => /lib/libdl.so.2 (0x00007f5069c13000)
> >        libz.so.1 => /usr/lib/libz.so.1 (0x00007f50699fb000)
> >        libltdl.so.7 => /usr/lib/libltdl.so.7 (0x00007f50697f2000)
> >
> > Recently in debian "testing" libtiff4 and libjpeg is upgraded:
> > libtiff 3.9.2-3+b1
> > libjpeg62 6b-16.1
> > libjeg8 8-2.1
> >
> > Q&A:
> > Q: How did you compile it? Using dpkg-buildpackage or via make/make
> > install? A: svn-clean ./bootsrap ./configure make etc.
> >
> > Q: Do you have any debian versions of libtiff4(-dev) installed?
> > A: Yes:3.8.2-11.2
> >
> > I open a jira for this.
> >
> > _______________________________________________
> > 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
> 

Could you retest if it works for you now ? It seems after the update from 
debootstrap 1.0.21 to 1.0.22 it works. As ldd shows libjpeg.so.62 was not 
linked to mod_fax. (maybe that was the problem)

If you can upgrade all your packages to the latest and report back that it 
works we can close this issue.

Current ldd for me:

# ldd /usr/local/freeswitch/mod/mod_fax.so
        linux-vdso.so.1 =>  (0x00007fff96794000)
        libm.so.6 => /lib/libm.so.6 (0x00007f57921b9000)
        libfreeswitch.so.1 => /usr/local/freeswitch/lib/libfreeswitch.so.1 
(0x00007f5791ded000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00007f5791bc9000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f57919ad000)
        libc.so.6 => /lib/libc.so.6 (0x00007f5791659000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00007f5791406000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00007f5791067000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x00007f5790e22000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f5790b11000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f57908fb000)
        libodbc.so.1 => /usr/lib/libodbc.so.1 (0x00007f579069c000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f579272a000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f5790497000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f5790280000)
        libltdl.so.7 => /usr/lib/libltdl.so.7 (0x00007f5790077000)



More information about the FreeSWITCH-users mailing list