[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  koochy black <koochy@a...>
 Subject :  Re: [yate] h323chan.yate Compile error , again
 Date :  Mon, 11 May 2009 20:25:52 +0200
Hi again
your right h323 does not work...too bad....I'm wondering why I'll have a
asterisk patched version of openh323, because I've loaded from yates
homepage. Whitch Version from OpenH323 or H323Plus would you prefer. Is
H323Plus working with yate, because the only version which worked for me
is from the yate site, all other caused a compile error while yate was
compiling. I'll try it on your way later, good that I'm using a VM, so I
can revert to a snapshot...

and thank you again for your big help

Paul Chitescu schrieb:

> > Please see my answers inline.
> >
> > Regards,
> >
> > Paul
> >
> >
> > On Monday 11 May 2009 20:03:12 koochy black wrote:
> >   
>   
>> >> Hi
>> >> thank you all for your help.
>> >> @Paul: Yeah you are right --without-libpri is not used anymore in yate
>> >> 2.0....makes nosens
>> >> After trying every combination with OpenH323 and H323Plus I figuerd out
>> >> that just the one from the yat homepage is working fine, even when you
>> >> use the same version from sourcefroge it does not work, for me.And it
>> >> looks like that in all releases from OpenH323 and H323Plus the Makefile
>> >> has a bug in ther install part.
>> >>
>> >> Well thats the way it worked for me:
>> >> - Downloaded files from:
>> >> http://yate.null.ro/tarballs/openh323/
>> >> -exported vars in .bashrc
>> >>     export PWLIBDIR=/usr/src/pwlib
>> >>     export OPENH323DIR=/usr/src/openh323
>> >>     export LD_LIBRARY_PATH=$PWLIBDIR/lib:$OPENH323DIR/lib
>> >> - installed PWLib:
>> >>     ./configure CFLAGS="-O3 -mtune=pentium4" CXXFLAGS="-O3 -mtune=pentium4"
>> >>     make opt
>> >>     make install
>> >> - compiled OpenH323:
>> >> ./configure CFLAGS="-O3 -mtune=pentium4" CXXFLAGS="-O3 -mtune=pentium4"
>> >> --prefix=/usr/src/openh323 --disable-ixj
>> >>     make opt
>> >>     cp /usr/src/openh323/lib/libh323_linux_x86_r* /usr/lib/
>> >>     ln -s /usr/lib/libh323_linux_x86_r.so.1.19.0 /usr/lib/libh323.so
>> >> - Downloade Yate2.tar.gz
>> >> ./configure CFLAGS="-O3 -mtune=pentium4" CXXFLAGS="-O3 -mtune=pentium4"
>> >> --prefix=/usr --with-pwlib=/usr/src/pwlib --with-openh323=/usr/src/openh323
>> >> make
>> >> make install
>> >>
>> >> If you donnt give --prefix in yates configure script, you are not able
>> >> to run yate from cmd in ubuntu then you have to copy /usr/src/yate/lib/*
>> >> to /usr/lib yourself.
>> >>     
>>     
> >
> > This is expected, please see the indication about /usr/local below:
> > http://yate.null.ro/pmwiki/index.php?n=Main.CompilingAndInstalling
> >
> > Programs not installed from packages are supposed to go into /usr/local to not 
> > conflict with files installed by the package manager. On a system with 
> > programs installed from sources /usr/local/lib (or /usr/local/lib64) should 
> > be listed in /etc/ld.so.conf
> >
> >
> >   
>   
>> >> Looks easy, but took me lots of time to get it running and I've still
>> >> some error while starting yate:
>> >>  /usr/lib/libh323_linux_x86_r.so.1.19.0: undefined symbol:
>> >> OSPPTransactionReportUsage
>> >> Looks like yate does not like open settlement protocol, and it looks
>> >> like the symlink libh323.so is unneeded for yate.
>> >>     
>>     
> >
> > libh323.so is a developer only symlink, it is required by the linker but in 
> > the executable the reference will be made to the real shared object.
> >
> > The lack of OSPPTransactionReportUsage indicates yet another problem with 
> > OpenH323. That symbol is expected by OpenH323 to exist somewhere but it 
> > doesn't exist anywhere. Seesm that you have an Asterisk-patched OpenH323.
> >
> > Please clean your system of any traces of other development components of 
> > PWLib and OpenH323. Check /usr/include/{ptlib.h,ptlib/,ptclib/,openh323/} and 
> > also any libpt.so and/or libhopen323.so you may have in your system. You have 
> > to uninstall, delete or move them away. Reconfigure, rebuild and eventually 
> > reinstall PWLib and OpenH323 after doing so.
> >
> > You should also take a look at the @SHAREDLIBEXT@ issue - if you didn't hit it 
> > you built against the wrong library.
> > http://yate.null.ro/pmwiki/index.php?n=Main.OpenH323
> >
> >   
>   
>> >> Well when everything works fine, then I can write a little how-to for
>> >> ubuntu, if it is usefull for your documenation part on the site.
>> >>     
>>     
> >
> > The WARN above is fatal for h323chan.yate, it failed to load because of 
> > unresolved symbols in the dependency library openh323.
> >
> > Sorry, building OpenH323 is quite difficult, especially if you do a custom 
> > build. You should see just _how_difficult_ is under Windows / VC++.
> >
> > You should consider doing it the straight way it always worked for me:
> >
> > # add /usr/local/lib to /etc/ld.so.conf
> > cd pwlib-...
> > ./configure
> > make opt
> > make install
> > cd openh323-..
> > ./configure
> > make opt
> > make install
> > # fix the @SHAREDLIBEXT@ issue
> > cd yate
> > ./configure
> >
> > This will install both PWLib and OpenH323 in /usr/local and Yate will detect 
> > them. Leave aside PWLIBDIR and OPENH323DIR, those are only needed for ancient 
> > versions of the library or if the libraries are not installed (left just in 
> > the source dir).
> >
> >
> >   
>   
>> >> Thank you all for your help
>> >>     
>>     
> >
> >
> >   
>