virendra bhati
2013-Oct-21 12:26 UTC
[asterisk-users] Asterisk-12 issue after successful installation
Hi Team, I have installed asterisk-12 Beta but when I try to asterisk start then get below issue. *[root at cs-gb-pwr-1-04 asterisk-12.0.0-beta1]# asterisk -r asterisk: error while loading shared libraries: libjansson.so.4: cannot open shared object file: No such file or directory [root at cs-gb-pwr-1-04 asterisk-12.0.0-beta1]#* -- Thanks and regards Virendra Bhati +91-9718500594 +91-9250078532 E-mail-: virbhati at gmail.com Skype id:- virbhati2 New Delhi(India) [image: View my profile on LinkedIn]<http://in.linkedin.com/pub/virendra-bhati/6/a30/755> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131021/3feb3d17/attachment.html>
Bakko
2013-Oct-21 12:39 UTC
[asterisk-users] Asterisk-12 issue after successful installation
Hello, is a 64bit installation? Maybe Asterisk looking for the file on /usr/lib64 and you have this file on /usr/lib. In this case create a symbolic link to /usr/lib64 Regards El 21/10/2013 07:26, virendra bhati escribi?:> Hi Team, > > I have installed asterisk-12 Beta but when I try to asterisk start > then get below issue. > > *[root at cs-gb-pwr-1-04 asterisk-12.0.0-beta1]# asterisk -r > asterisk: error while loading shared libraries: libjansson.so.4: > cannot open shared object file: No such file or directory > [root at cs-gb-pwr-1-04 asterisk-12.0.0-beta1]#* > > > -- > > Thanks and regards > > Virendra Bhati > +91-9718500594 > +91-9250078532 > > E-mail-: virbhati at gmail.com <mailto:virbhati at gmail.com> > Skype id:- virbhati2 > New Delhi(India) > View my profile on LinkedIn > <http://in.linkedin.com/pub/virendra-bhati/6/a30/755> > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131021/697a60c2/attachment.html>
A J Stiles
2013-Oct-21 12:59 UTC
[asterisk-users] Asterisk-12 issue after successful installation
On Monday 21 October 2013, virendra bhati wrote:> Hi Team, > > I have installed asterisk-12 Beta but when I try to asterisk start then get > below issue. > > *[root at cs-gb-pwr-1-04 asterisk-12.0.0-beta1]# asterisk -r > asterisk: error while loading shared libraries: libjansson.so.4: cannot > open shared object file: No such file or directory > [root at cs-gb-pwr-1-04 asterisk-12.0.0-beta1]#*Did you build it yourself from Source Code, or did you install someone else's pre-compiled package? If the latter, the packager may have omitted a dependency. It happens from time to time. You probably need to install a - dev or -devel package (what distro are you running?) What do you get for # ldd /usr/sbin/asterisk ? -- AJS Answers come *after* questions.
Warren Selby
2013-Oct-23 03:14 UTC
[asterisk-users] Asterisk-12 issue after successful installation
On Mon, Oct 21, 2013 at 7:26 AM, virendra bhati <virbhati at gmail.com> wrote:> Hi Team, > > I have installed asterisk-12 Beta but when I try to asterisk start then > get below issue. > > *[root at cs-gb-pwr-1-04 asterisk-12.0.0-beta1]# asterisk -r > asterisk: error while loading shared libraries: libjansson.so.4: cannot > open shared object file: No such file or directory > [root at cs-gb-pwr-1-04 asterisk-12.0.0-beta1]#* > >So, as a specific answer to the original question, the proper resolution to this issue, assuming you manually installed libjansson, is the following, pulled from the install_prereq scripts: echo "/usr/local/lib" > /etc/ld.so.conf.d/usr_local.conf /sbin/ldconfig This worked for me on a fresh CentOS 6.4 installation where I didn't use the install_prereq script, and thus was having your same issue. Hope this helps someone in the future! -- Thanks, Warren Selby, dCAP http://www.SelbyTech.com <http://www.selbytech.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131022/731f2b8b/attachment.html>