You need the following to make OH323 work:

PWLIBDIR=/usr/local/src/pwlib
export PWLIBDIR
OPENH323DIR=/usr/local/src/openh323
export OPENH323DIR
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PWLIBDIR}/lib:/usr/local/lib:${OPENH323DIR}/lib
export LD_LIBRARY_PATH

Replace '/usr/local/src/' with whatever directory you put your sources in. Make sure you put these in one of your startup scripts, so they are executed each time the system is run.


Walid Azab wrote:
I am trying to build PWLIB to get OH323 up and running.
 
I am not an expert in linux but can someone help telling me how I can do the following:
 
How can I add a directory to  LD_LIBRARY_PATH?!
 
Thanks in advance
 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For unix.
--------------
 
1.      If you have not put pwlib it into your home directory (~/pwlib) then
        you will have to defined the environment variable PWLIBDIR to point to
        the correct directory.
        Also make sure you have added the $PWLIBDIR/lib directory to your
        LD_LIBRARY_PATH environment variable if you intend to use shared
        libraries (the default).
 
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to