I'm building a plugin using Firebreath and Linux Arch Linux. I get the following errors when i tried to load my plugin in another Linux system (Ubuntu 11.10).
[3957:3957:162659560325:ERROR:plugin_list.cc(448)] Loading plugin /home/admin/Documents/myplugin/0.1/npMediaDownload.so
[3957:3957:162659561719:ERROR:plugin_lib_posix.cc(158)] While reading plugin info, unable to load library /home/admin/Documents/myplugin/0.1/npMediaDownload.so (/usr/lib/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /home/admin/Documents/myplugin/0.1/npMediaDownload.so)), skipping.
I already have the #include "curl/curl.h"
on my MediaDownloadAPI.cpp. In my project folder i added the following:
X11/projectDef.cmake
target_link_libraries(${PROJECT_NAME} ${PLUGIN_INTERNAL_DEPS} curl )
PluginConfig.cmake
add_firebreath_library(curl)
I haven't problem to compile and execute the plugin on Arch Linux system.
TIA.
The problem is because Openssl versions. In Arch linux Openssl version 4 and over Ubuntu 12.04 version 3. I tried adding curl_easy_setopt(curl, CURLOPT_SSLVERSION, 3);
to my program but that not solves the problem. I will mark this as solved because i know what the problem is but not the solution.