Crash reporter - curl error



  • Hello,

    i have the following error:

    Crash report begins.  Anonymous machine information:

    amd64
    10.3-RELEASE-p17
    FreeBSD 10.3-RELEASE-p17 #10 6da131e75c7(RELENG_2_3_3): Wed Mar  8 14:24:33 CST 2017    root@ce23-amd64-builder:/builder/pfsense-233/tmp/obj/builder/pfsense-233/tmp/FreeBSD-src/sys/pfSense

    Crash report details:

    PHP Errors:
    [28-Apr-2017 22:00:03 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:00:03 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:00:04 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:00:06 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:00:28 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:00:28 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:00:31 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:00:31 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:18:16 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:18:16 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:21:43 Europe/Berlin] PHP Fatal error:  Call to undefined function curl_init() in /usr/local/www/crash_reporter.php on line 75
    [28-Apr-2017 22:21:43 Europe/Berlin] PHP Stack trace:
    [28-Apr-2017 22:21:43 Europe/Berlin] PHP  1. {main}() /usr/local/www/crash_reporter.php:0
    [28-Apr-2017 22:21:43 Europe/Berlin] PHP  2. upload_crash_report() /usr/local/www/crash_reporter.php:116

    Filename: /var/crash/PHP_errors.log
    [28-Apr-2017 22:00:03 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:00:03 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:00:04 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:00:06 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:00:28 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:00:28 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:00:31 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:00:31 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:18:16 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0
    [28-Apr-2017 22:18:16 Europe/Berlin] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libcurl.so.4" not found, required by "curl.so" in Unknown on line 0

    Filename: /var/crash/PHP_errors.log.gz
    ���X�PHP_errors.log��ұN�0Н���҅�vR�
    $$�Jb��ĥn�sx����T�o��h�J�G�meS>�\VR���V+-[<e�����7���x5l��5~o���g�2���|0��̇��]džg,d<���7^�;1�g�fժ�z�g��sx��fo�����=?.�&�b��l?��iv3�s�����#� b�4�,���_��s�)�����.ov_e$kt-��e��d��re)ˬ�6���l;�=""> ��
    Filename: /var/crash/crashreport_header.txt
    Crash report begins.  Anonymous machine information:

    amd64
    10.3-RELEASE-p17
    FreeBSD 10.3-RELEASE-p17 #10 6da131e75c7(RELENG_2_3_3): Wed Mar  8 14:24:33 CST 2017    root@ce23-amd64-builder:/builder/pfsense-233/tmp/obj/builder/pfsense-233/tmp/FreeBSD-src/sys/pfSense

    Crash report details:

    Filename: /var/crash/crashreport_header.txt.gz
    ���X�crashreport_header.txt�uбN�0��Oq �c;4�%` �#'�R�ڎ|�з�A7�ҧ���6[�C�9�#~�H+�ML�ґ �i�#�����->EØ
    n]3Y�4�^�M��Y6�)#>����JV�vVj����/��<�A���:x��dmTm���߂�λ������J���|<���l�%�yG ��Z�0�4~�k����$�Dg�g��� ����
    =��$"��
    Filename: /var/crash/minfree.gz
    ����X�minfree����������</e�����7���x5l��5~o���g�2���|0��̇��]džg,d<���7^�;1�g�fժ�z�g��sx��fo�����=?.�&�b��l?��iv3�s�����#�>

    If i click on "submit to the developers" this error appears:

    Processing…
    Uploading... Fatal error: Call to undefined function curl_init() in /usr/local/www/crash_reporter.php on line 75 Call Stack: 0.0001 232136 1. {main}() /usr/local/www/crash_reporter.php:0 0.0911 1440288 2. upload_crash_report() /usr/local/www/crash_reporter.php:116 PHP ERROR: Type: 1, File: /usr/local/www/crash_reporter.php, Line: 75, Message: Call to undefined function curl_init()

    How can i fix curl?
    Thanks for help

    Version:
    2.3.3-RELEASE-p1 (amd64)
    built on Thu Feb 16 06:59:53 CST 2017
    FreeBSD 10.3-RELEASE-p17



  • Could try running:

    pkg-static upgrade -f curl
    

    Did you recently install any package or perform a upgrade which caused the error to appear?



  • I have just done the normal updates via System -> Update (stable branch).
    Installed Packages -> There are no packages currently installed.

    After the reinstall of curl and a reboot the error still appears at the dashboard and when i connect via ssh.



  • The libcurl.so.4 should be reinstalled by curl as indicated by pkg its installed as a part of that: pkg which /usr/local/lib/libcurl.so.4

    When i rename that file curl complains with the same error as you have, when i reinstall curl with previous command it works again.. For my test anyhow..

    Not sure what else to try, maybe reinstall 'everything'?:

    pkg-static unlock pfSense-kernel-pfSense
    pkg-static upgrade -f
    

Log in to reply