Building chan_h323. Was: RE: [Asterisk-Users] asterisk chan_h323 problem

Wade Weppler weppler at wwworks-inc.com
Mon May 26 09:41:02 MST 2003


I hope this helps, once and for all:

This method works with the latest version of OpenH323/PWLIB, but should work
for newer or CVS versions as well.

1)	Download OpenH323 and PWLIB tarballs.
2)	Extract them from your favorite src directory (example: /src)
3)	Export the paths to each of the libraries:
	export OPENH323DIR=/src/openh323
	export PWLIBDIR=/src/pwlib
4)	From the /src/pwlib directory, run "make opt" (this takes a while)
5)	From the /src/openh323 directory, run "make opt" (this takes a
while)
6)	You can now build the chan_h323 driver from the
asterisk/channels/h323 directory (make samples install).  The paths must be
exported before this will work!  (step #3).
7)	The one thing that seemed to drive my system nuts was not having the
lib*.so files in the right spot.  I would get lots of "unable to find shared
library libpt_linux_x86_r.so..." or something similar.  I just copied them
from /src/openh323/lib and /src/pwlib/lib to my shared lib dir (RedHat 8/9
uses /usr/lib).

That's it!

-wade




> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com [mailto:asterisk-users-
> admin at lists.digium.com] On Behalf Of Jeremy McNamara
> Sent: Monday, May 26, 2003 12:28 PM
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] asterisk chan_h323 problem
> 
> You need to follow the build instructions provided in the README and at
> the Open H.323 site  (http://www.openh323.org/build.html)
> 
> Jeremy McNamara
> 
> 
> Makerere University wrote:
> 
> > when i run asterisk -vvv i get this error any pointers
> > [chan_h323.so]WARNING[1024]: File loader.c, Line 212
> > (ast_load_resource): libpt_linux_x86_r.so.1:
> > cannot load shared object file: No such file or directory
> > WARNING[1024]: File loader.c, Line 368 (load_modules): Loading module
> > chan_h323.so failed!
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list