ERROR: Failed to load /usr/local/ERL_LIBS_FILE/esdl/rebar.config

***ERROR:Could not find sdl-config

ERROR: Failed to load /usr/local/ERL_LIBS_FILE/esdl/rebar.config: {error,

{228,file,

{throw,

error,

[{erl_eval,

do_apply,

5},

erl_eval,

expr,5},

erl_eval,

exprs,

5},

{erl_eval,

expr,5},

{file,

eval_stream2,

6},

{file,

script,

2},

{rebar_config,

new,2},

{rebar,
                                                                     init_config,

1}]}}}

原因分析:编译完SDL2-2.0.3生成sdl2-config文件,而不是sdl-config

解决办法:将sdl2-config改为sdl-config,并做个软连接连接到/usr/local/include目录下

时间: 2024-10-22 20:53:23

ERROR: Failed to load /usr/local/ERL_LIBS_FILE/esdl/rebar.config的相关文章

mpvue 小程序加载不了图片 Error: Failed to load local image resource /images/xx.png the server responded with a status of 404 (HTTP/1.1 404 Not Found)

mpvue开发小程序时候,要添加静态本地图片 <img src="../../images/bg.png" alt=""> 会报错: VM14878:2 Failed to load local image resource /images/bg.png the server responded with a status of 404 (HTTP/1.1 404 Not Found) 原因有很多种,解决办法可以改webpack,或mpvue的包,这里提

报错解决——pytesseract.pytesseract.TesseractError: (1,’Error opening data file /usr/local/share/tessdata/eng.traineddata’)

解决方法:(原文地址http://stackoverflow.com/questions/14800730/tesseract-running-error) $ wget https://tesseract-ocr.googlecode.com/files/eng.traineddata.gz $ gunzip eng.traineddata.gz $ sudo mv -v eng.traineddata /usr/local/share/tessdata/ 原文地址:https://www.c

mac 下安装node遇见的 问题 Error: No such keg: /usr/local/Cellar/node

公司的mac 之前有安装过node ,后来 我又用brew 方式 重建 node 导致各种问题 用各种 命令 解决了一些问题  但是 我也不清楚 哪个 起作用了 brew cleanup  brew link node brew uninstall node brew install node brew uninstall --force node

PHP 5.6启动失败failed to open configuration file &#39;/usr/local/php/etc/php-fpm.conf&#39;

PHP编译安装完毕,启动失败,提示 1 [23-Jun-2014 12:27:02] ERROR: failed to open configuration file '/usr/local/php/etc/php-fpm.conf': No such file or directory (2) 2 [23-Jun-2014 12:27:02] ERROR: failed to load configuration file '/usr/local/php/etc/php-fpm.conf' 3

mysql:执行LOAD DATA LOCAL 报错

mysql:执行LOAD DATA LOCAL 报错. 我使用navicat for mysql 连接 mysql服务器执行local 可以正常执行 . show VARIABLES like  '%local%infile%'结果如下:+---------------+-------+| Variable_name | Value |+---------------+-------+| local_infile  | ON    | +---------------+-------+1 row

解决nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed错误

重新启动服务器,访问web服务发现无法浏览啦!登陆服务器之后进到nginx使用./nginx -s reload重新读取配置文件,发现报nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)错误,进到logs文件发现的确没有nginx.pid文件 [[email protected] sbin]# ./nginx -s reload nginx: [err

nginx: [error] open() &quot;/usr/local/var/run/nginx.pid&quot; failed (2: No such file or directory)

nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory) 2017年09月14日 09:15:45 阅读数:7742 启动Nginx出现这个错误 nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory) 1  解决方法:找

nginx: [error] open() &quot;/usr/local/nginx/logs/nginx.pid&quot; failed (2: No such file or directory)

问题场景 服务器重启后,重启nginx时报错nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory),进入到logs目录发现确实没有nginx.pid文件 解决办法 使用指定nginx.conf文件的方式重启nginx /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf还有一种可能就

解决nginx: [error] open() &quot;/usr/local/nginx/logs/nginx.pid&quot; failed (2: No such file or directory)错误

服务器重启后,重启nginx时报错nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory),进入到logs目录发现确实没有nginx.pid文件 cd /usr/local/nginx/sbin/ ./nginx -s reload ngx_http_fastdfs_set pid=1412 ngx_http_fastdfs_set pid=1412 ngx