[asterisk-bugs] [JIRA] Commented: (PRI-140) error lib path Install libpri to centos 6.2 64bit
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Thu Jul 12 10:18:20 CDT 2012
[ https://issues.asterisk.org/jira/browse/PRI-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194805#comment-194805 ]
Richard Mudgett commented on PRI-140:
-------------------------------------
There is no consistent place to install 64 bit libraries. There are two major camps of distros who have chosen different places for them to live.
> error lib path Install libpri to centos 6.2 64bit
> -------------------------------------------------
>
> Key: PRI-140
> URL: https://issues.asterisk.org/jira/browse/PRI-140
> Project: LibPRI
> Issue Type: Bug
> Security Level: None
> Environment: centos 6.2 64bit libpri 1.4.12
> Reporter: sun bing
> Assignee: Richard Mudgett
> Severity: Minor
>
> install libpri 1.4.12 in centos 6.2 64bit:
> [root at xxxx libpri-1.4.12]# uname -r
> 2.6.32-220.el6.x86_64
> [root at xxxx libpri-1.4.12]# make install
> mkdir -p /usr/lib
> mkdir -p /usr/include
> install -m 644 libpri.h /usr/include
> install -m 755 libpri.so.1.4 /usr/lib
> #if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled"); then /sbin/restorecon -v /usr/lib/libpri.so.1.4; fi
> ( cd /usr/lib ; ln -sf libpri.so.1.4 libpri.so)
> install -m 644 libpri.a /usr/lib
> if test $(id -u) = 0; then /sbin/ldconfig -n /usr/lib; fi
> in 64 bit chan_dahdi.so will try to find dependencies from /usr/lib64/
> and i try to fix this problem, i found rpm 64 version libpri was right path /usr/lib64/libpri.so.1.4
> why source code version not fix this problem????
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list