Closed Mimikoo closed 10 years ago
If the library isn't on default system library path you can set the path to nginx configure like I do (using Ubuntu), don't have to edit the config file
./configure --with-cc-opt="-I/usr/include/ImageMagick/ " --with-ld-opt="-L/usr/local/lib " --add-module=nginx-video-thumbextractor-module
wandenberg did you compiled latest ImageMagick, or install from repo on Debian? It's not about path, its about name of the library. Ofcourse I did use those options to configure, but module's script searches for name libMagickWand.so, while in the latest ImageMagick builds, the name is libMagickWand-6.Q16.so
Hi @Mimikoo
can you test with the 40a8fdd86bfb92c3d958e0180d468ec9168fce30? It should work without any changes on config file.
Nope, does not compile:
cc -o objs/nginx \
objs/src/core/nginx.o \
objs/src/core/ngx_log.o \
objs/src/core/ngx_palloc.o \
objs/src/core/ngx_array.o \
objs/src/core/ngx_list.o \
objs/src/core/ngx_hash.o \
objs/src/core/ngx_buf.o \
objs/src/core/ngx_queue.o \
objs/src/core/ngx_output_chain.o \
objs/src/core/ngx_string.o \
objs/src/core/ngx_parse.o \
objs/src/core/ngx_inet.o \
objs/src/core/ngx_file.o \
objs/src/core/ngx_crc32.o \
objs/src/core/ngx_murmurhash.o \
objs/src/core/ngx_md5.o \
objs/src/core/ngx_rbtree.o \
objs/src/core/ngx_radix_tree.o \
objs/src/core/ngx_slab.o \
objs/src/core/ngx_times.o \
objs/src/core/ngx_shmtx.o \
objs/src/core/ngx_connection.o \
objs/src/core/ngx_cycle.o \
objs/src/core/ngx_spinlock.o \
objs/src/core/ngx_cpuinfo.o \
objs/src/core/ngx_conf_file.o \
objs/src/core/ngx_resolver.o \
objs/src/core/ngx_open_file_cache.o \
objs/src/core/ngx_crypt.o \
objs/src/core/ngx_proxy_protocol.o \
objs/src/event/ngx_event.o \
objs/src/event/ngx_event_timer.o \
objs/src/event/ngx_event_posted.o \
objs/src/event/ngx_event_busy_lock.o \
objs/src/event/ngx_event_accept.o \
objs/src/event/ngx_event_connect.o \
objs/src/event/ngx_event_pipe.o \
objs/src/os/unix/ngx_time.o \
objs/src/os/unix/ngx_errno.o \
objs/src/os/unix/ngx_alloc.o \
objs/src/os/unix/ngx_files.o \
objs/src/os/unix/ngx_socket.o \
objs/src/os/unix/ngx_recv.o \
objs/src/os/unix/ngx_readv_chain.o \
objs/src/os/unix/ngx_udp_recv.o \
objs/src/os/unix/ngx_send.o \
objs/src/os/unix/ngx_writev_chain.o \
objs/src/os/unix/ngx_channel.o \
objs/src/os/unix/ngx_shmem.o \
objs/src/os/unix/ngx_process.o \
objs/src/os/unix/ngx_daemon.o \
objs/src/os/unix/ngx_setaffinity.o \
objs/src/os/unix/ngx_setproctitle.o \
objs/src/os/unix/ngx_posix_init.o \
objs/src/os/unix/ngx_user.o \
objs/src/os/unix/ngx_process_cycle.o \
objs/src/os/unix/ngx_linux_init.o \
objs/src/event/modules/ngx_rtsig_module.o \
objs/src/event/modules/ngx_epoll_module.o \
objs/src/os/unix/ngx_linux_sendfile_chain.o \
objs/src/os/unix/ngx_linux_aio_read.o \
objs/src/event/modules/ngx_select_module.o \
objs/src/event/modules/ngx_poll_module.o \
objs/src/event/ngx_event_openssl.o \
objs/src/event/ngx_event_openssl_stapling.o \
objs/src/core/ngx_regex.o \
objs/src/http/ngx_http.o \
objs/src/http/ngx_http_core_module.o \
objs/src/http/ngx_http_special_response.o \
objs/src/http/ngx_http_request.o \
objs/src/http/ngx_http_parse.o \
objs/src/http/ngx_http_header_filter_module.o \
objs/src/http/ngx_http_write_filter_module.o \
objs/src/http/ngx_http_copy_filter_module.o \
objs/src/http/modules/ngx_http_log_module.o \
objs/src/http/ngx_http_request_body.o \
objs/src/http/ngx_http_variables.o \
objs/src/http/ngx_http_script.o \
objs/src/http/ngx_http_upstream.o \
objs/src/http/ngx_http_upstream_round_robin.o \
objs/src/http/ngx_http_parse_time.o \
objs/src/http/modules/ngx_http_static_module.o \
objs/src/http/modules/ngx_http_index_module.o \
objs/src/http/modules/ngx_http_chunked_filter_module.o \
objs/src/http/modules/ngx_http_range_filter_module.o \
objs/src/http/modules/ngx_http_headers_filter_module.o \
objs/src/http/modules/ngx_http_not_modified_filter_module.o \
objs/src/http/ngx_http_busy_lock.o \
objs/src/http/ngx_http_file_cache.o \
objs/src/http/modules/ngx_http_gzip_filter_module.o \
objs/src/http/ngx_http_postpone_filter_module.o \
objs/src/http/modules/ngx_http_ssi_filter_module.o \
objs/src/http/modules/ngx_http_charset_filter_module.o \
objs/src/http/modules/ngx_http_xslt_filter_module.o \
objs/src/http/modules/ngx_http_image_filter_module.o \
objs/src/http/modules/ngx_http_sub_filter_module.o \
objs/src/http/modules/ngx_http_addition_filter_module.o \
objs/src/http/modules/ngx_http_gunzip_filter_module.o \
objs/src/http/modules/ngx_http_userid_filter_module.o \
objs/src/http/ngx_http_spdy.o \
objs/src/http/ngx_http_spdy_module.o \
objs/src/http/ngx_http_spdy_filter_module.o \
objs/src/http/modules/ngx_http_gzip_static_module.o \
objs/src/http/modules/ngx_http_dav_module.o \
objs/src/http/modules/ngx_http_autoindex_module.o \
objs/src/http/modules/ngx_http_random_index_module.o \
objs/src/http/modules/ngx_http_auth_request_module.o \
objs/src/http/modules/ngx_http_auth_basic_module.o \
objs/src/http/modules/ngx_http_access_module.o \
objs/src/http/modules/ngx_http_limit_conn_module.o \
objs/src/http/modules/ngx_http_limit_req_module.o \
objs/src/http/modules/ngx_http_realip_module.o \
objs/src/http/modules/ngx_http_geo_module.o \
objs/src/http/modules/ngx_http_geoip_module.o \
objs/src/http/modules/ngx_http_map_module.o \
objs/src/http/modules/ngx_http_split_clients_module.o \
objs/src/http/modules/ngx_http_referer_module.o \
objs/src/http/modules/ngx_http_rewrite_module.o \
objs/src/http/modules/ngx_http_ssl_module.o \
objs/src/http/modules/ngx_http_proxy_module.o \
objs/src/http/modules/ngx_http_fastcgi_module.o \
objs/src/http/modules/ngx_http_uwsgi_module.o \
objs/src/http/modules/ngx_http_scgi_module.o \
objs/src/http/modules/perl/ngx_http_perl_module.o \
objs/src/http/modules/ngx_http_memcached_module.o \
objs/src/http/modules/ngx_http_empty_gif_module.o \
objs/src/http/modules/ngx_http_browser_module.o \
objs/src/http/modules/ngx_http_secure_link_module.o \
objs/src/http/modules/ngx_http_degradation_module.o \
objs/src/http/modules/ngx_http_flv_module.o \
objs/src/http/modules/ngx_http_mp4_module.o \
objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
objs/src/http/modules/ngx_http_stub_status_module.o \
objs/src/mail/ngx_mail.o \
objs/src/mail/ngx_mail_core_module.o \
objs/src/mail/ngx_mail_handler.o \
objs/src/mail/ngx_mail_parse.o \
objs/src/mail/ngx_mail_ssl_module.o \
objs/src/mail/ngx_mail_pop3_module.o \
objs/src/mail/ngx_mail_pop3_handler.o \
objs/src/mail/ngx_mail_imap_module.o \
objs/src/mail/ngx_mail_imap_handler.o \
objs/src/mail/ngx_mail_smtp_module.o \
objs/src/mail/ngx_mail_smtp_handler.o \
objs/src/mail/ngx_mail_auth_http_module.o \
objs/src/mail/ngx_mail_proxy_module.o \
objs/src/misc/ngx_google_perftools_module.o \
objs/addon/src/ndk.o \
objs/addon/ngx_slowfs_cache/ngx_http_slowfs_module.o \
objs/addon/ngx_log_if/ngx_http_aclog_bypass_module.o \
objs/addon/nginx-sticky-module-ng/ngx_http_sticky_module.o \
objs/addon/nginx-sticky-module-ng/ngx_http_sticky_misc.o \
objs/addon/ngx_http_substitutions_filter_module/ngx_http_subs_filter_module.o \
objs/addon/ngx_cache_purge/ngx_cache_purge_module.o \
objs/addon/nginx-upstream-fair/ngx_http_upstream_fair_module.o \
objs/addon/ngx_http_upstream_keepalive/ngx_http_upstream_keepalive_module.o \
objs/addon/ngx_http_internal_redirect/ngx_http_internal_redirect_module.o \
objs/addon/src/ngx_http_form_input_module.o \
objs/addon/src/ngx_http_headers_more_filter_module.o \
objs/addon/src/ngx_http_headers_more_headers_out.o \
objs/addon/src/ngx_http_headers_more_headers_in.o \
objs/addon/src/ngx_http_headers_more_util.o \
objs/addon/ngx_http_footer_if_filter/ngx_http_footer_if_filter.o \
objs/addon/ngx_http_auth_pam_module/ngx_http_auth_pam_module.o \
objs/addon/spnego-http-auth-nginx-module/ngx_http_auth_spnego_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_init.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_handshake.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_handler.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_amf.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_send.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_shared.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_eval.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_receive.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_core_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_cmd_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_codec_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_access_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_record_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_live_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_play_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_flv_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_mp4_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_netcall_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_stat_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_control_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_relay_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_bandwidth.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_exec_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_auto_push_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_notify_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_log_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_limit_module.o \
objs/addon/nginx-rtmp-module/ngx_rtmp_bitop.o \
objs/addon/hls/ngx_rtmp_hls_module.o \
objs/addon/dash/ngx_rtmp_dash_module.o \
objs/addon/hls/ngx_rtmp_mpegts.o \
objs/addon/dash/ngx_rtmp_mp4.o \
objs/addon/src/ngx_postgres_escape.o \
objs/addon/src/ngx_postgres_handler.o \
objs/addon/src/ngx_postgres_keepalive.o \
objs/addon/src/ngx_postgres_module.o \
objs/addon/src/ngx_postgres_output.o \
objs/addon/src/ngx_postgres_processor.o \
objs/addon/src/ngx_postgres_rewrite.o \
objs/addon/src/ngx_postgres_upstream.o \
objs/addon/src/ngx_postgres_util.o \
objs/addon/src/ngx_postgres_variable.o \
objs/addon/ngx_http_lower_upper_case/ngx_http_lower_upper_case.o \
objs/addon/src/ngx_http_accounting_hash.o \
objs/addon/src/ngx_http_accounting_common.o \
objs/addon/src/ngx_http_accounting_module.o \
objs/addon/src/ngx_http_accounting_status_code.o \
objs/addon/src/ngx_http_accounting_worker_process.o \
objs/addon/src/ngx_http_set_base32.o \
objs/addon/src/ngx_http_set_default_value.o \
objs/addon/src/ngx_http_set_hashed_upstream.o \
objs/addon/src/ngx_http_set_quote_sql.o \
objs/addon/src/ngx_http_set_quote_json.o \
objs/addon/src/ngx_http_set_unescape_uri.o \
objs/addon/src/ngx_http_set_misc_module.o \
objs/addon/src/ngx_http_set_escape_uri.o \
objs/addon/src/ngx_http_set_hash.o \
objs/addon/src/ngx_http_set_local_today.o \
objs/addon/src/ngx_http_set_hex.o \
objs/addon/src/ngx_http_set_base64.o \
objs/addon/src/ngx_http_set_random.o \
objs/addon/src/ngx_http_set_secure_random.o \
objs/addon/src/ngx_http_set_rotate.o \
objs/addon/src/ngx_http_set_hmac.o \
objs/addon/ngx-fancyindex/ngx_http_fancyindex_module.o \
objs/addon/src/ngx_http_js_module.o \
objs/addon/src/nginx_js_glue.o \
objs/addon/src/strings_util.o \
objs/addon/classes/global.o \
objs/addon/classes/environment.o \
objs/addon/classes/Nginx.o \
objs/addon/classes/Request.o \
objs/addon/Request/HeadersIn.o \
objs/addon/HeadersIn/Cookies.o \
objs/addon/Request/HeadersOut.o \
objs/addon/Request/Variables.o \
objs/addon/classes/Chain.o \
objs/addon/classes/File.o \
objs/addon/classes/Dir.o \
objs/addon/nginx_upstream_hash/ngx_http_upstream_hash_module.o \
objs/addon/ngx_http_upstream_check_module/ngx_http_upstream_check_module.o \
objs/addon/ngx_http_upstream_check_module/ngx_http_upstream_check_handler.o \
objs/addon/limit_upload_rate/ngx_http_limit_upload_module.o \
objs/addon/ngx_http_php_memcache_standard_balancer/ngx_http_php_memcache_standard_balancer.o \
objs/addon/mod_zip/ngx_http_zip_module.o \
objs/addon/mod_zip/ngx_http_zip_parsers.o \
objs/addon/mod_zip/ngx_http_zip_file.o \
objs/addon/mod_zip/ngx_http_zip_headers.o \
objs/addon/src/ngx_http_video_thumbextractor_module.o \
objs/addon/src/ngx_http_testcookie_filter_module.o \
objs/addon/src/ngx_http_accept_language_module.o \
objs/addon/nginx-upload-module/ngx_http_upload_module.o \
objs/addon/ngx_http_php_session/ngx_http_php_session.o \
objs/addon/nginx-http-user-agent/ngx_trie.o \
objs/addon/nginx-http-user-agent/ngx_http_user_agent_module.o \
objs/addon/src/ngx_http_array_var_module.o \
objs/addon/src/ngx_http_array_var_util.o \
objs/addon/nginx-accesskey/ngx_http_accesskey_module.o \
objs/addon/nginx-unzip-module/ngx_http_unzip_module.o \
objs/addon/src/ngx_http_xss_filter_module.o \
objs/addon/src/ngx_http_xss_util.o \
objs/addon/ngx_http_types_filter/ngx_http_types_filter_module.o \
objs/addon/ngx_http_set_lang/ngx_http_set_lang_module.o \
objs/addon/ngx_http_dyups_module/ngx_http_dyups_module.o \
objs/addon/src/ngx_http_replace_filter_module.o \
objs/addon/src/ngx_http_replace_script.o \
objs/addon/src/ngx_http_replace_parse.o \
objs/addon/src/ngx_http_replace_util.o \
objs/addon/src/ngx_http_rds_json_filter_module.o \
objs/addon/src/ngx_http_rds_json_processor.o \
objs/addon/src/ngx_http_rds_json_util.o \
objs/addon/src/ngx_http_rds_json_output.o \
objs/addon/src/ngx_http_rds_json_handler.o \
objs/addon/src/ngx_http_rds_csv_filter_module.o \
objs/addon/src/ngx_http_rds_csv_processor.o \
objs/addon/src/ngx_http_rds_csv_util.o \
objs/addon/src/ngx_http_rds_csv_output.o \
objs/addon/src/ngx_http_memc_module.o \
objs/addon/src/ngx_http_memc_request.o \
objs/addon/src/ngx_http_memc_response.o \
objs/addon/src/ngx_http_memc_util.o \
objs/addon/src/ngx_http_memc_handler.o \
objs/addon/src/ngx_http_srcache_filter_module.o \
objs/addon/src/ngx_http_srcache_util.o \
objs/addon/src/ngx_http_srcache_var.o \
objs/addon/src/ngx_http_srcache_store.o \
objs/addon/src/ngx_http_srcache_fetch.o \
objs/addon/src/ngx_http_srcache_headers.o \
objs/addon/src/ngx_http_lua_module.o \
objs/addon/src/strtok_r.o \
objs/addon/nginx-eval-module/ngx_http_eval_module.o \
objs/addon/ngx_http_set_hash/ngx_http_set_hash_module.o \
objs/addon/ngx_http_log_request_speed/ngx_http_log_request_speed_filter.o \
objs/addon/src/ngx_http_sass_module.o \
objs/addon/src/ngx_http_lua_script.o \
objs/addon/src/ngx_http_lua_log.o \
objs/addon/src/ngx_http_lua_subrequest.o \
objs/addon/src/ngx_http_lua_ndk.o \
objs/addon/src/ngx_http_lua_control.o \
objs/addon/src/ngx_http_lua_time.o \
objs/addon/src/ngx_http_lua_misc.o \
objs/addon/src/ngx_http_lua_variable.o \
objs/addon/src/ngx_http_lua_string.o \
objs/addon/src/ngx_http_lua_output.o \
objs/addon/src/ngx_http_lua_headers.o \
objs/addon/src/ngx_http_lua_req_body.o \
objs/addon/src/ngx_http_lua_uri.o \
objs/addon/src/ngx_http_lua_args.o \
objs/addon/src/ngx_http_lua_ctx.o \
objs/addon/src/ngx_http_lua_regex.o \
objs/addon/src/ngx_http_lua_module.o \
objs/addon/src/ngx_http_lua_headers_out.o \
objs/addon/src/ngx_http_lua_headers_in.o \
objs/addon/src/ngx_http_lua_directive.o \
objs/addon/src/ngx_http_lua_consts.o \
objs/addon/src/ngx_http_lua_exception.o \
objs/addon/src/ngx_http_lua_util.o \
objs/addon/src/ngx_http_lua_cache.o \
objs/addon/src/ngx_http_lua_contentby.o \
objs/addon/src/ngx_http_lua_rewriteby.o \
objs/addon/src/ngx_http_lua_accessby.o \
objs/addon/src/ngx_http_lua_setby.o \
objs/addon/src/ngx_http_lua_capturefilter.o \
objs/addon/src/ngx_http_lua_clfactory.o \
objs/addon/src/ngx_http_lua_pcrefix.o \
objs/addon/src/ngx_http_lua_headerfilterby.o \
objs/addon/src/ngx_http_lua_shdict.o \
objs/addon/src/ngx_http_lua_socket_tcp.o \
objs/addon/src/ngx_http_lua_api.o \
objs/addon/src/ngx_http_lua_logby.o \
objs/addon/src/ngx_http_lua_sleep.o \
objs/addon/src/ngx_http_lua_coroutine.o \
objs/addon/src/ngx_http_lua_bodyfilterby.o \
objs/addon/src/ngx_http_lua_initby.o \
objs/addon/src/ngx_http_lua_initworkerby.o \
objs/addon/src/ngx_http_lua_socket_udp.o \
objs/addon/src/ngx_http_lua_req_method.o \
objs/addon/src/ngx_http_lua_phase.o \
objs/addon/src/ngx_http_lua_uthread.o \
objs/addon/src/ngx_http_lua_timer.o \
objs/addon/src/ngx_http_lua_config.o \
objs/addon/src/ngx_http_lua_worker.o \
objs/addon/nginx-http-auth-digest/ngx_http_auth_digest_module.o \
objs/addon/nginx_mod_akamai_g2o/ngx_http_akamai_g2o_module.o \
objs/addon/src/ngx_http_push_stream_module.o \
objs/addon/nginx-upload-progress-module/ngx_http_uploadprogress_module.o \
objs/addon/ngx_http_enhanced_memcached_module/ngx_http_enhanced_memcached_module.o \
objs/addon/nginx-sflow-module/ngx_http_sflow_module.o \
objs/addon/nginx-sflow-module/ngx_http_sflow_config.o \
objs/addon/nginx-sflow-module/ngx_http_sflow_api.o \
objs/addon/src/ngx_http_push_module.o \
objs/addon/src/ngx_http_iconv_module.o \
objs/addon/ngx_http_auth_request_module/ngx_http_auth_request_module.o \
objs/addon/src/ngx_http_echo_module.o \
objs/addon/src/ngx_http_echo_util.o \
objs/addon/src/ngx_http_echo_timer.o \
objs/addon/src/ngx_http_echo_var.o \
objs/addon/src/ngx_http_echo_handler.o \
objs/addon/src/ngx_http_echo_filter.o \
objs/addon/src/ngx_http_echo_sleep.o \
objs/addon/src/ngx_http_echo_location.o \
objs/addon/src/ngx_http_echo_echo.o \
objs/addon/src/ngx_http_echo_request_info.o \
objs/addon/src/ngx_http_echo_subrequest.o \
objs/addon/src/ngx_http_echo_foreach.o \
objs/addon/src/ngx_http_encrypted_session_module.o \
objs/addon/src/ngx_http_encrypted_session_cipher.o \
objs/addon/nginx-http-sysguard/ngx_http_sysguard_module.o \
objs/addon/nginx-http-sysguard/ngx_sysinfo.o \
objs/addon/nginx-gridfs/ngx_http_gridfs_module.o \
objs/addon/src/bcon.o \
objs/addon/src/bson.o \
objs/addon/src/encoding.o \
objs/addon/src/env.o \
objs/addon/src/gridfs.o \
objs/addon/src/md5.o \
objs/addon/src/mongo.o \
objs/addon/src/numbers.o \
objs/addon/nginx-http-footer-filter/ngx_http_footer_filter_module.o \
objs/addon/nginx-http-concat/ngx_http_concat_module.o \
objs/addon/src/ngx_http_ocsp_proxy_module.o \
objs/addon/src/ngx_selective_cache_purge_module.o \
objs/ngx_modules.o \
-Wl,-R,ORIGIN/../lib/../lib/../lib../lib:ORIGIN/../lib/x86_64-linux-gnu -L/opt/GeoIP/lib -L/opt/gperftools/lib -L/opt/ffmpeg/lib -L/opt/ImageMagick/lib -L/opt/libsass/lib -L/opt/hiredis/lib -L/opt/libunwind/lib -zmuldefs -Wl,-E -Wl,-E -lpthread -lcrypt -lpam -lgssapi_krb5 -lkrb5 -lcom_err -L/opt/libpq/lib -lpq -L/opt/spidermonkey/lib -lmozjs -lavformat -lavcodec -lavutil -lswscale -ljpeg -lssl -lzip -L/opt/sregex/lib -lsregex -L/opt/luajit/lib -lluajit-5.1 -lm -lsass -L/opt/luajit/lib -lluajit-5.1 -lm -lssl -lhiredis ../pcre/.libs/libpcre.a ../openssl/.openssl/lib/libssl.a ../openssl/.openssl/lib/libcrypto.a -ldl ../zlib/libz.a -lxml2 -lxslt -lexslt -lgd -lGeoIP -lprofiler \
-Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.14/CORE -lperl -ldl -lm -lpthread -lc -lcrypt
objs/addon/src/ngx_http_video_thumbextractor_module.o: In function `ngx_http_video_thumbextractor_get_thumb':
/home/mimiko/src/nginx-modules/nginx-video-thumbextractor-module/src/ngx_http_video_thumbextractor_module_utils.c:279: undefined reference to `MagickWandGenesis'
/home/mimiko/src/nginx-modules/nginx-video-thumbextractor-module/src/ngx_http_video_thumbextractor_module_utils.c:282: undefined reference to `NewMagickWand'
/home/mimiko/src/nginx-modules/nginx-video-thumbextractor-module/src/ngx_http_video_thumbextractor_module_utils.c:292: undefined reference to `MagickSetImageGravity'
/home/mimiko/src/nginx-modules/nginx-video-thumbextractor-module/src/ngx_http_video_thumbextractor_module_utils.c:296: undefined reference to `MagickCropImage'
/home/mimiko/src/nginx-modules/nginx-video-thumbextractor-module/src/ngx_http_video_thumbextractor_module_utils.c:300: undefined reference to `MagickExportImagePixels'
/home/mimiko/src/nginx-modules/nginx-video-thumbextractor-module/src/ngx_http_video_thumbextractor_module_utils.c:305: undefined reference to `DestroyMagickWand'
/home/mimiko/src/nginx-modules/nginx-video-thumbextractor-module/src/ngx_http_video_thumbextractor_module_utils.c:308: undefined reference to `MagickWandTerminus'
/home/mimiko/src/nginx-modules/nginx-video-thumbextractor-module/src/ngx_http_video_thumbextractor_module_utils.c:288: undefined reference to `MagickConstituteImage'
collect2: error: ld returned 1 exit status
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory `/home/mimiko/src/nginx'
make: *** [build] Error 2
Please, send me the output of the following commands MagickWand-config --ldflags MagickWand-config --cflags MagickWand-config --libs
If the MagickWand-config isn't in your PATH this may be the cause of failure now.
/opt/ImageMagick/bin/MagickWand-config --ldflags
-L/opt/ImageMagick/lib -lMagickWand-6.Q16 -lMagickCore-6.Q16
/opt/ImageMagick/bin/MagickWand-config --cflags
-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/opt/ImageMagick/include/ImageMagick-6
/opt/ImageMagick/bin/MagickWand-config --libs
-L/opt/ImageMagick/lib -lMagickWand-6.Q16 -lMagickCore-6.Q16
Is MagickWand-config used during make ?
I added to PATH path to MagickWand-config, but still same issue.
Yes, it is used. Did you run the configure again, after get the latest commit? I changed the config file, so you have to configure it again. On Mar 30, 2014 9:51 AM, "Mimikoo" notifications@github.com wrote:
I added to PATH path to MagickWand-config, but still same issue.
Reply to this email directly or view it on GitHubhttps://github.com/wandenberg/nginx-video-thumbextractor-module/issues/5#issuecomment-39024725 .
I didn't set PATH for configure script. Setting path for configure script and not for make did result in compilation. May be you can define some variable to be set like for example:
LUAJIT_INC="/opt/luajit/include/luajit-2.0" LUAJIT_LIB="/opt/luajit/lib"
I will put an observation on the docs On Mar 30, 2014 2:58 PM, "Mimikoo" notifications@github.com wrote:
I didn't set PATH for configure script. Setting path for configure script and not for make did result in compilation. May be you can define some variable to be set like for example:
LUAJIT_INC="/opt/luajit/include/luajit-2.0" LUAJIT_LIB="/opt/luajit/lib"
Reply to this email directly or view it on GitHubhttps://github.com/wandenberg/nginx-video-thumbextractor-module/issues/5#issuecomment-39033354 .
The make error is:
I've compiled ImageMagick froum latest source on Debian Wheezy X86_64. Nginx and module are latest from git. For workaround I use: sed -i -e "s~-lMagickWand(-6.Q16)\?~-lMagickWand-6.Q16~" ~/src/nginx-modules/nginx-video-thumbextractor-module/config