FOP2 test fails

Hello all,

I am setting up a brand new Freepbx box running the 2.10.1.5 distro.
I have some trouble setting up FOP2.
First I got a "time skew error" while running the fop2 make install command.
I checked my system date/time and found no problem so I ignored the error.
Next I checked if files were present at /usr/local/fop2 and /var/www/html/fop2.
All looked good.

Next I made the required password change to fop2.conf

Then, I ran #> /usr/local/fop2/fop2_server --test. This command fails.
The error is:
===
Can't load '/tmp/par-root/cache-577fad9d07d2601555798462bc0ab041ad7d0489/6f015f7c.so' for module Filter::Crypto::Decrypt: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory at /usr/lib/perl/5.8/DynaLoader.pm line 225.
at /usr/local/share/perl/5.8.8/PAR/Heavy.pm line 128
BEGIN failed--compilation aborted at /tmp/par-root/cache-577fad9d07d2601555798462bc0ab041ad7d0489/inc/lib/Filter/Crypto/Decrypt.pm line 37.
Compilation failed in require at script/fop2_server.pl line 1.
BEGIN failed--compilation aborted at script/fop2_server.pl line 1.
===

Can anyone shed some light on this?
Thanks in advance!

Nico Bos

Comments

  • Hi,

    The freepbx distro includes fop2 as an rpm, it is easier to go that way.

    Anyways, you can add a symlink to your system in order for fop 2.26 to work on that distro (last question in the fop2 faq www.fop2.com/documentation-faq.php)

    Or better, you can try to install 2.27, it is in beta, but its stable, and should work with no symlinking

    http://download.fop2.com/fop2-2.27-centos-i386.tgz 32 bits
    http://download.fop2.com/fop2-2.27-centos-x86_64.tgz 64 bits

    Best regards,
  • Hi Nicolas,

    I posted the issue a little to soon....
    After I posted I digged a little deeper and found the 2.27 beta.
    I removed the 2.26 installation and got the 2.27 to work.
    So my problem is solved :D
    Thank you!
  • The freepbx distro includes fop2 as an rpm, it is easier to go that way.
    Sorry.
    Where may I found rpm version in freepbx 2.10 and how can I install it?
    Thanks in advance.
  • Hi!
    I downloaded FreePBX Distro version Stable-2.210.62-5 Release Date-01-24-13 32bit
    I downloaded it http://download.fop2.com/fop2-2.27-centos-i386.tgz 32 bits
    installed according to the instructions http://www.fop2.com/documentation-insta ... arball.php
    # /usr/local/fop2/fop2_server --test
    Can't load '/tmp/par-root/cache-c94201beb50fc81403035a07b753be420b3dcc15/aaf44dba.so' for module 
    Filter::Crypto::Decrypt: libcrypto.so.6: cannot open shared object file: No such file or directory 
    at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
     at /usr/lib/perl5/site_perl/5.8.8/PAR/Heavy.pm line 128
    BEGIN failed--compilation aborted at /tmp/par-root/cache-c94201beb50fc81403035a07b753be420b3dcc15/inc/lib/Filter/Crypto/Decrypt.pm line 37.
    Compilation failed in require at script/fop2_server.pl line 1.
    BEGIN failed--compilation aborted at script/fop2_server.pl line 1.
    

    look /usr/lib/perl5/5.8.8 !!!!!
    #cd /usr/lib/perl5/
    # ls
    5.10.0
    .....
    
    opsss! :shock:

    help me!
    # yum install fop2
    /usr/lib/yum-plugins/kmod.py:25: DeprecationWarning: the sets module is deprecated
      from sets import Set, ImmutableSet
    Loaded plugins: fastestmirror, kmod
    Loading mirror speeds from cached hostfile
    Setting up Install Process
    No package fop2 available.
    Error: Nothing to do
    

    in the faq I have not found
  • Hi,

    You can create a symlink for libcrypto, as described in the FAQ, or you can try to install 2.27 that has libcrypto statically linked and it should work with no extra commands:

    http://download.fop2.com/fop2-2.27-centos-i386.tgz

    The rpm package is named fop2-fpbx or similar, you can do a yum search fop2 if you want to find that out. However, it is best to install from tarball if possible.

    Best regards,
Sign In or Register to comment.