Starting Fop2

  1. 9 years ago

    I run the following command : /usr/local/fop2/fop2_server --test

    and i get these error :

    Flash Operator Panel 2 - License file fop2.lic not found.
    Running in Demo Mode
    install_driver(SQLite) failed: Can't load '/tmp/par-root/cache-ac425a0e54a58d1d0c689ef112e74c9d21e19180/b5688bd2.so' for module DBD::SQLite: libsqlite3.so.0: cannot open shared object file: No such file or directory at /usr/lib/perl/5.8/DynaLoader.pm line 225.
    at /usr/share/perl5/PAR/Heavy.pm line 107
    Compilation failed in require at (eval 41) line 3.
    Perhaps a required shared library or dll isn't installed where expected
    at script/fop2_server.pl line 393

    How can i fix it ?

    Thank.

  2. admin

    9 Jun 2015 Administrator

    What linux distro are you using? What fop2 tarball did you download (distro and platform?)

  3. Slackware 12.1.0 and i installed debian 32 bits.

  4. admin

    9 Jun 2015 Administrator

    Try installing the package libsqlite3-0

  5. I installed the sqlite3 library and i'm still having the same issue.

  6. admin

    9 Jun 2015 Administrator
    find / -name libsqlite3\*

    What is the output? Do you have that library file? Did you run ldconfig after installing it?

  7. find / -name libsqlite3\* result :

    /usr/local/src/bld/.libs/libsqlite3.so.0
    /usr/local/src/bld/.libs/libsqlite3.la
    /usr/local/src/bld/.libs/libsqlite3.lai
    /usr/local/src/bld/.libs/libsqlite3.so
    /usr/local/src/bld/.libs/libsqlite3.a
    /usr/local/src/bld/.libs/libsqlite3.so.0.8.6
    /usr/local/src/bld/libsqlite3.la
    /usr/local/lib/libsqlite3.so.0
    /usr/local/lib/libsqlite3.la
    /usr/local/lib/libsqlite3.so
    /usr/local/lib/libsqlite3.a
    /usr/local/lib/libsqlite3.so.0.8.6
    /usr/lib/firefox-3.0.4/libsqlite3.so

    The package is a slackbuild

    I installed sqlite-3.6.2 and i followed the README

    tar xzf sqlite.tar.gz ;# Unpack the source tree into "sqlite"
    mkdir bld ;# Build will occur in a sibling directory
    cd bld ;# Change to the build directory
    ../sqlite/configure ;# Run the configure script
    make ;# Run the makefile.
    make install ;# (Optional) Install the build products

  8. admin

    9 Jun 2015 Administrator

    I am not a slackware guru or anything related, but you have libraries installed in /usr/local/lib, and if that path is not set for ldconfig or ldconfig was not run, then no binary will be able to dynamic link to it as it is not going to find it. In regular distros, you have a file /etc/ld.so.conf listing path over path where libraries could be installed, you should be sure /usr/local/lib is there, after than, run the "ldconfig" command so it rescans those directories..

  9. OK i was able to test
    /usr/local/fop2/fop2_server --test

    and its working but I added a button in buttons.cfg and a user in fop2.cfg and I'm not able to log in fop2.

    in fop2.cfg

    user=272:272:all

    buttonfile=buttons.cfg

    in buttons.cfg

    [SIP/272]
    type=extension
    extension=272
    context=default
    label=Poste 272
    mailbox=272
    extenvoicemail=**272

  10. admin

    9 Jun 2015 Administrator

    Do you have an #exec line in fop2.cfg? If so, remove it. # is not a comment.

or Sign Up to reply!