piller start

Issue #640 closed
chris van zyl created an issue

Good day,

I have small issue on piler cant get it so start give me the following error.

/usr/local/sbin/piler: symbol lookup error: /usr/local/lib/libpiler.so: undefined symbol: mysql_init

Comments (19)

  1. chris van zyl reporter

    linux-vdso.so.1 => (0x00007ffddabed000) libpiler.so => /usr/local/lib/libpiler.so (0x00007f3cde6c0000) libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f3cde0f5000) libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f3cdde97000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3cddc7a000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3cdd8bc000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3cdd6b8000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f3cdd4a1000) /lib64/ld-linux-x86-64.so.2 (0x00007f3cde4d0000)

  2. Janos SUTO repo owner

    It's odd. You need some mysqlclient entry, too. How did you configure piler? Did you add --with-database=mysql?

  3. eXtremeSHOK

    Usually with mysql bugs, doing an upgrade/switch to mariadb https://mariadb.org/ fixes the issue.

  4. chris van zyl reporter

    I cant just switch to other database engine got lots of other databases on the server ass well and have been using this mysql long time now

  5. eXtremeSHOK

    I have small issue on piler cant get it so start give me the following error.

    /usr/local/sbin/piler: symbol lookup error: /usr/local/lib/libpiler.so: undefined symbol: mysql_init

    ^^ that error means piler cannot find one of the dependencies

    ldd /usr/local/lib/libpiler.so

    will show something similar to ... libmysqlclient.so.18 => not found

    reinstall libmysqlclient-dev or community-mysql-libs , cant remeber exactly which, as I use percona and mariadb exclusively.

    BTW mariadb is the same database engine : https://mariadb.com/kb/en/mariadb/mariadb-vs-mysql-compatibility/

  6. Janos SUTO repo owner

    Copy paste the configure command, as well as its output. Then run make clean all, and its output, too. Make sure to use bitbucket's formatting options.

  7. chris van zyl reporter

    But got it starting but cant run any command like pilerget gives me the error /usr/local/lib/libpiler.so: undefined symbol: mysql_init

  8. chris van zyl reporter

    i did run ldd /usr/local/sbin/piler

    I got they mysqlclient.so

        linux-vdso.so.1 =>  (0x00007ffdf92f4000)
        libpiler.so => /usr/local/lib/libpiler.so (0x00007f1e0b1e3000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1e0addd000)
        libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f1e0aa02000)
        libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f1e0a7a4000)
        libtre.so.5 => /usr/local/lib/libtre.so.5 (0x00007f1e0b1d1000)
        libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f1e0a59b000)
        libmysqlclient.so.18 => /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 (0x00007f1e0a053000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1e09e36000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1e09a78000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1e09874000)
        libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f1e0965a000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1e0935e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f1e0aff4000)
    
  9. chris van zyl reporter

    I did reinstall Piler and Mysql and its dependency like i was told but program works but just verification error in GUI but want to check if pilerget works but unfortunately cant run it.

  10. Janos SUTO repo owner

    Send a new email to the archive, and after it's received check if pilerget can return the email properly.

  11. Log in to comment