[Asterisk-Users] Segregating a test version of asterisk - libpri/zaptel locations

Tzafrir Cohen tzafrir at cohens.org.il
Thu Apr 14 21:16:21 MST 2005


On Thu, Apr 14, 2005 at 03:28:08PM +0100, Julien Levi wrote:
> I currently run an asterisk server with cvs from May 2004. I'm planning 
> to upgrade to the latest stable version but want to segregate a test 
> version first. I know I can do this by editing the install_prefix field 
> in the makefile.
> 
> I can also change the install prefix and load the new zaptel module 
> manually for testing.
> 
> However what is the situation then with libpri? If I Install this to 
> another location, how do I tell asterisk to look there for it? Is the 
> only option to overwrite the version of libpri in /usr/lib and copy back 
> the old version if things don't work?

install them under prefix /usr/local/new and add /usr/local/new/lib to
the beginning of LD_LIBRARY_PATH . 

Also consider using a idfferent machine or a chroot environment for
testing. A chroot environment is not as complicated as it sounds.

-- 
Tzafrir Cohen         | New signature for new address and  |  VIM is
http://tzafrir.org.il | new homepage                       | a Mutt's  
tzafrir at cohens.org.il |                                    |  best
ICQ# 16849755         | Space reserved for other protocols | friend



More information about the asterisk-users mailing list