CentOS 编译安装时常见错误解决办法

Centos6.9编译安装FFmpeg Centos6.9编译安装ffmpeg安装步骤:参考 https://trac.ffmpeg.org/wiki/CompilationGuide/Centos注意点:1. 如果出现错误:”Requires: libc.so.6(GLIBC_2.14)(64bit)”参考http://www.cnblogs.com/yaoz/p/6944942.html, 安装nasm2. 安装libvpx时候,使用 阅读详情
  1. configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
yum -y install libxslt-devel
  1. configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.
yum -y install net-snmp-devel
  1. configure: error: Please reinstall readline - I cannot find readline.h
yum -y install readline-devel
  1. configure: error: Cannot find pspell
yum -y install aspell-devel
  1. checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h’ not found!
yum -y install unixODBC-devel
  1. configure: error: Unable to detect ICU prefix or /usr/bin/icu-config failed. Please verify ICU install prefix and make sure icu-config works.
yum -y install libicu-devel
  1. configure: error: utf8mime2text() has new signature, but U8TCANONICAL is missing. This should not happen. Check config.log for additional information.
yum -y install libc-client-devel
  1. configure: error: freetype.h not found.
yum -y install freetype-devel
  1. configure: error: xpm.h not found.
yum -y install libXpm-devel
  1. configure: error: png.h not found.
yum -y install libpng-devel
  1. configure: error: vpx_codec.h not found.
yum -y install libvpx-devel
  1. configure: error: Cannot find enchant
yum -y install enchant-devel
  1. configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/
yum -y install libcurl-devel
  1. configure: error: mcrypt.h not found. Please reinstall libmcrypt.
wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt/libmcrypt-2.5.7.tar.gz
tar -zxvf libmcrypt-2.5.7.tar.gzcd libmcrypt-2.5.7
./configure
make && make install
  1. Cannot find imap
ln -s /usr/lib64/libc-client.so /usr/lib/libc-client.so
  1. configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing.
yum -y install libc-client-devel
  1. Cannot find ldap.h
yum -y install openldap
yum -y install openldap-devel
  1. configure: error: Cannot find ldap libraries in /usr/lib
cp -frp /usr/lib64/libldap* /usr/lib/

19. configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path

yum -y install postgresql-devel
  1. configure: error: Please reinstall the lib curl distribution
yum -y install curl-devel
  1. configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.
yum -y install net-snmp-devel
  1. configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
yum -y install libxslt-devel
  1. checking for BZip2 support… yes checking for BZip2 in default path… not found configure: error: Please reinstall the BZip2 distribution
yum -y install bzip2-devel
  1. checking for cURL support… yes checking if we should use cURL for url streams… no checking for cURL in default path… not found configure: error: Please reinstall the libcurl distribution – easy.h should be in/include/curl/
yum -y install curl-devel
  1. checking for curl_multi_strerror in -lcurl… yes checking for QDBM support… no checking for GDBM support… no checking for NDBM support… no configure: error: DBA: Could not find necessary header file(s).
yum -y install db4-devel
  1. checking for fabsf… yes checking for floorf… yes configure: error: jpeglib.h not found.
yum -y install libjpeg-devel
  1. checking for fabsf… yes checking for floorf… yes checking for jpeg_read_header in -ljpeg… yes configure: error: png.h not found.
yum -y install libpng-devel
  1. Reconfigure your PHP with the following option. --with-xpm-dir=/usr
    checking for png_write_image in -lpng… yes configure: error: libXpm.(a|so) not found.
yum -y install libXpm-devel
  1. checking for bind_textdomain_codeset in -lc… yes checking for GNU MP support… yes configure: error: Unable to locate gmp.h
yum -y install gmp-devel
  1. checking for utf8_mime2text signature… new checking for U8T_DECOMPOSE… configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.
yum -y install libc-client-devel
  1. checking for LDAP support… yes, shared checking for LDAP Cyrus SASL support… yes configure: error: Cannot find ldap.h
yum -y install openldap-devel
  1. checking for mysql_set_character_set in -lmysqlclient… yes checking for mysql_stmt_next_result in -lmysqlclient… no checking for Oracle Database OCI8 support… no checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h’ not found!
yum -y install unixODBC-devel
  1. checking for PostgreSQL support for PDO… yes, shared checking for pg_config… not found configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
yum -y install postgresql-devel
  1. checking for sqlite 3 support for PDO… yes, shared checking for PDO includes… (cached) /usr/local/src/php-5.3.7/ext checking for sqlite3 files in default path… not found configure: error: Please reinstall the sqlite3 distribution
yum -y install sqlite-devel
  1. checking for utsname.domainname… yes checking for PSPELL support… yes configure: error: Cannot find pspell
yum -y install aspell-devel
  1. checking whether to enable UCD SNMP hack… yes checking for default_store.h… nochecking for kstat_read in -lkstat… no checking for snmp_parse_oid in -lsnmp… no checking for init_snmp in -lsnmp… no configure: error: SNMP sanity check failed. Please check config.log for more information.
yum -y install net-snmp-devel
  1. checking whether to enable XMLWriter support… yes, shared checking for xml2-config path… (cached) /usr/bin/xml2-config checking whether libxml build works… (cached) yes checking for XSL support… yes, shared configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
yum -y install libxslt-devel
  1. configure: error: xml2-config not found. Please check your libxml2 installation.
yum -y install libxml2-devel
  1. checking for PCRE headers location… configure: error: Could not find pcre.h in /usr
yum -y install pcre-devel
  1. configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore!
yum -y install mysql-devel
  1. checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h’ not found!
yum -y install unixODBC-devel
  1. checking for pg_config… not found configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
yum -y install postgresql-devel
  1. configure: error: Cannot find pspell
yum -y install pspell-devel
  1. configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.
yum -y install net-snmp-devel
  1. configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
yum -y install libxslt-devel
MT9V034摄像头学习笔记(一)_mt9v034摄像头循迹代码(1) 函数名称:uint8_t SCB_RegRead(uint8_t Device,uint8_t Address,uint16_t *Data)* 函数名称:uint8_t SCB_RegWrite(uint8 Device,uint8 Address,uint16 Data)* 函数名称:uint8 SCCB_SendByte(uint8 Data)* 函数名称:uint8 SCCB_ReadByte(void)* 修改时间:2018年3月4日。* 修改时间:2018年3月4日。 阅读详情

相关推荐

task5:在本地搭建大模型(ollama 和 LM studio 对比),接入 openclaw

关于大模型,大家千万不要想着在本地部署,根本不可行,没有那个财力。另外大模型迭代快,不可能每周都在下载大模型。再次,还是国外的模型好用,国内的模型真的在 deepresearch 上就有很大问题,你们懂的。所以本篇文章,还是聚焦在探索层面+实操,并不会实战。

这里是 AI 食用指南,持续分享有用的AI 实操和应用! 1968

升级OpenSSL隐藏版本号、升级OpenSSH隐藏版本号

1.查看当前OpenSSH版本号 sshd -v 2.查看sshd位置 which sshd 3.备份sshd cp /sbin/sshd /sbin/sshd.bak 4.查看sshd版本号有关的字符串(可选) strings /sbin/sshd | grep 7.5 5.修改sshd版本号 sed -i 's/OpenSSH_7.5/OpenSSH/g' /sbin/sshd 删除版本号,在低版本中再次sshd -v查询版本号报错 Segmen...

u014644574的博客 4177

组合导航-IMU-GPS-RTK基本介绍

在实际应用中,需要利用 GPS、北斗等方式产生的信号进行初始化,结合惯导信号和卫星导航信号进行进行卡尔曼滤波处理,得出其最佳推算的定位信息。惯导比起卫星定位具有自身的技术优势,测量方法不依赖外界,短期精度高,能稳 定高频地输出信号。工作原理是通过感知物体在空间的角速度、线速度,进而获取物体的姿态、位置和速度等信息,实现对运动物体姿态和运动轨迹的测量,可以实现全天候全地点地工作。但惯导也有自身的缺陷,由于采用积分算法,定位误差随 载体运行不断累积。

NCU_wander的博客 8016

php new 报错,php 安装imap报错“configure: error: utf8_mime2text() has new signature”解决

搜索热词环境:PHP官方docker镜像 PHP:7.2-apache安装IMAP扩展模块执行命令:docker-PHP-ext-install imap报错信息:configure: error: utf8_mime2text() has new signature,but U8T_CANONICAL is missing. This should not happen. Check confi...

weixin_39603823的博客 736

Kettle安装与使用

Pentaho Data Integration作为一个端对端的数据集成平台,可以对多种数据源进行抽取(Extraction)、加载(Loading)、数据落湖(Data Lake Injection)、对数据进行各种清洗(Cleasing)、转换(Transformation)、混合(Blending),并支持多维联机分析处理(OLAP)和数据挖掘(Data mining)。勺子(spoon.bat/spoon.sh):是一个图形化的界面,可以让我们用图形化的方式开发转换和作业。

jnrjian的博客 1万+

基于浏览器插件的拼多多买家订单导出方法

基于浏览器插件的拼多多买家订单导出方法

2501_93542170的博客 1719

pgpool-II安装时报错configure: error: libpq is not installed or libpq is old

有需求来安装pgpool-II实现高可用,正常下载解压,报错 看了网上很多的教程,说是加上-with-pgsql,但不尽然都是,仍报错 configure: error: libpq is not installed or libpq is old 这是为什么呢,其实是没有安装postgresql-devel组件,so我们就 yum install -y postgresql* gcc* 解决所...

ss954773878的博客 3552

看完这篇你就能讲解LLC软开关:一文秒懂 ZVS 和 ZCS 到底啥意思!

想要 MOS 管ZVS 好实现➜ 把工作频率保持在 fr1 或更高。想让整流二极管也ZCS 实现➜ 频率就别高过 fr1。设计磁性元件时,一定要计算好 Lr、Lm、Cr 的值,这直接决定你 fr、fr1 是多少!LLC 的软开关技术不是“魔法”,是电感电容+频率控制的精妙组合;fr1 就像黄金分割点,整流和开关都能“刚刚好”;不是所有软开关都能同时实现,要看你在频率曲线的哪一段!

weixin_43199439的博客 1539

configure: error: SELinux selected but libselinux not found

具体错误: checking for getprevcon in -lselinux... no configure: error: SELinux selected but libselinux not found 解决办法: sudo apt install -y libselinux1 libselinux1-dev

柳鲲鹏 799

【华为OD机试真题 2025B卷】737、统计监控器、需要打开多少监控器 | 机试真题+思路参考+代码分析(C++、Java、Py、C语言、JS)

【华为OD机试真题 2025B卷】737、统计监控器、需要打开多少监控器 | 机试真题+思路参考+代码分析(C++、Java、Py、C语言、JS) 华为od机试,华为od机试真题,华为od机试E卷,华为odE卷,华为od机试真题E卷,华为OD,华为OD机试,华为OD机试真题,华为od机考,华为od机试D卷,华为od机试真题D卷,华为od手撕代码,华为od,华为od机试C卷,华为od e卷,华为2025e卷,od机试,2025E卷,华为OD机试E卷,什么是华为od,华为od介绍,全面了解华为od,2025华为

KJ.JK 715

2026保姆级:1小时搞定C# OPC UA客户端开发——PLC与上位机全量数据交互零基础教程

本文介绍了使用C#开发OPC UA客户端的核心流程和关键代码实现。文章首先指出工业上位机开发中OPC UA的重要性,并针对新手常见问题提出了1小时掌握核心功能的解决方案。重点内容包括:选择官方.NET Standard库的优势、5分钟搭建开发环境的步骤、OPC UA客户端架构与通信流程的图解说明,以及完整的客户端基础类代码实现,涵盖了连接管理、证书配置、安全认证等关键功能。通过本文提供的代码模板,开发者可快速实现与PLC等工业设备的稳定数据交互。

这里只有干货:从 Modbus 通信到 MES 对接,从 YOLO 训练到工控机部署,带你搞定工业软件开发全流程。 799

CVE-2023-38408漏洞修复--openssh&openssl升级(2)

为了做好运维面试路上的助攻手,特整理了上百道。

m0_61369275的博客 695

RT-DETR-R18 上下文信息融合:引入全局特征提升遮挡目标检测

"""轻量化全局特征提取器(2层Transformer编码器)"""# 特征投影层(将多尺度特征统一维度)# 轻量化Transformer编码器(分组卷积优化)# 全局特征池化(输出 [bs, hidden_dim])# local_features: 多尺度特征列表 [C3, C4, C5],各 [bs, c, h, w]# 统一投影至 hidden_dim 并展平为序列# Transformer编码全局上下文# 全局池化得到全局向量。

走向CTO的路上... 495

centos编译java失败_CentOS编译安装PHP常见错误及解决办法

1.configure: error: No curses/termcap library foundyum -y install ncurses-devel2.configure: error: xml2-config not found. Please check your libxml2 installation.yum -y install libxml2 libxml2-devel3.c...

weixin_39584571的博客 210

怀旧版电脑GBC模拟器

再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。

最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版

Part-E1-SDIO-Specification-Ver4.00-Final-120220.pdf:最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版,包括SDIO 接口的外设,SDIO 接口官方协议等。

CentOS 通过 yum 安装 mcrypt 时无法找到包

▪ 前言 本篇排错的前提是只想用 yum 安装,不想使用源码包编译安装。 ▪ 错误 MySQL 安装依赖 libmcrypt 包,最快捷的方法就是使用 yum 安装: $ yum -y install libmcrypt 执行以后出现以下错误: Setting up Install Process No package libmcrypt available. Error: Nothing to do 我们会看到 CentOS yum 从仓库中根本找不到这几个包。但我不想使用源码编译就想使用yum安装,

外来物种 613

大中型超市收银系统(可直接运行)

光步前台收银系统系统功能:商品销售、商品退货、挂单、收银员权限、会员销售、单品取消、整单取消、商品查询、脱机销售、脱机数据上传,基本资料下载,开钱箱、小票打印、收款结算,支持多币种付款方式(现金、储值卡、礼券、微信等),支持多种促销。运行环境:.net 4.0登陆信息用户名:1001 密码:123456内置商品信息,商品编码可输入00001000 - 00010000,测试效果相关功能键F5 结算 F9挂单 F11商品查询 F8退货 Insert单品取消 Del整单取消 F12开钱箱F2 会员 Ctrl+Z退出系统 Home 锁屏 相关源码待公开

centos源码升级glibc2.19时遇到的错误

说我gcc版本找不到或者版本太老,命名可以找到的,而且是最新版的,都12了还old呀,而且gcc -v也有结果,明显不是找不了,不是到是什么sb错误。有结果,make的版本都4.2了,我有从4.2升到4.4.1,结果还是这个错误,然后就想着版本不匹配的问题,然后就安装了。也不知道是我sb还是报错sb,这里说不应该包含此路径,其实解决办法是把当前路径包含进去,真是服服的。解决办法:看看还有没有其他的gcc版本,换个gcc版本来试一下。在configure时遇到的错误。说make也找不到或者太老了,

来颗石川的博客 703

efm32 入门.pdf

本PDF共计22页,介绍的是操作驱动API,下载与否自己斟酌。

centos虚拟机中安装phpstudy并且安装对应php7.3的xdebug,对应连接本机的phpstorm

最好选择干净的一个虚拟机,做完之后就一直用这个做xdebug,做快照方便。

qq_43907215的博客 1662

centos6.5 linux源码安装php时遇到的错误

错误1: ./configure时遇到错误 xml-config,libxml2 can not be found 记得装了libxml2,于是索性重装(应该是没有装libxml2-devel) yum -y install libxml2-devel libxml2-static   再次configure,通过     错误2: ext/opcache/ZendAcce...

记得别人忘了自己 836

ssdb下载安装

今天在centos安装了ssdb玩玩,听说ssdb的性能比redis好,可能由于本人没有在实际中运用所以不知道具体怎么样,希望以后的工作中能用用,我也是参照ssdb文档安装的,只是在安装中出现了和文档的错误不一样,在此记下遇到的错误,希望能帮助到跟我遇到一样的朋友。如果没有解决需要的人的问题请勿喷。 编译和安装 wget --no-check-certificate https://g

廖滨 2027

Centos安装Lua

Centos安装Lua #下载最新的安装包就可以 wget http://www.lua.org/ftp/lua-5.3.5.tar.gz #解压缩 tar zxf lua-5.3.5.tar.gz #进入文件夹 cd lua-5.3.5/ #centos下直接安装会报错,需要先安装以来 apt-get install libreadline-dev #安装 make linux test m...

也无风雨也无晴 833

CentOS8.0安装迅搜(XunSearch)引擎报错的解决办法

CentOS8.0安装迅搜(XunSearch)引擎报错的解决办法 在一些小型项目上需要应用全文搜索引擎时,我比较喜欢使用迅搜,因为部署方便,调用简单,今天给客户部署系统安装迅搜时,竟然有报错(极少遇到报错的情况),花了一些时间查资料,终于解决了,分享一下经验 首先是定位原因,因为我已经在起码五六台Centos主机上安装过迅搜,前面都顺利安装完成了,所以应该是不迅搜本身有什么问题,更大可能是跟运行环境是有关系的,看了一下,目前这台机子安装的是Centos8.0,我之前安装的系统都是7.X的,所以极有可能是和

风柏杨的技术博客 1518

Centos7.x安装Python3.9(优化方法)

Centos7.6安装python3.9 1.安装相应的编译工具 建议在root下操作,会方便很多,一定要安装,否则编译安装会报错。 yum -y groupinstall "Development tools" yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel y

安安的博客 1万+

安装mysql5.5时常见错误--缺失make

首先我这是一台CentOS release 6.2 (Final),新安装的系统,没有任何软件及库文件。安装mysql5.5之前,先需要大概了解一下,需要注意的信息,mysql5.5的安装与其它版本不同的是编译安装时,需要用到cmake,所以做如下操作: 1.yum install gcc* c++ * autoconf automake zlib* libxml* n...

weixin_34050005的博客 188

RocketMq centos7安装

官方网站 github 需要装的环境 安装java参考 linux-centos7配置java环境 安装maven 步骤跟安装jdk环境一样 linux-centos7配置maven环境

自行车的博客 488

Centos7的FreeSwitch安装

Centos7的FreeSwitch安装 1.安装基础软件依赖包 yum install mock useradd -s /sbin/nologin mockbuild rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/epel/7/SRPMS/Packages/e/epel-release-7-12.src.rpm yum install -y make expat-devel git gcc-c++ autoconf automake libtool wge

weixin_40288231的博客 1110

编译安装php时遇到virtual memory exhausted: Cannot allocate memory

转载自  https://blog.csdn.net/hostbus/article/details/17222697 编译安装php时遇到virtual memory exhausted: Cannot allocate memory 有时候用vps建站时需要通过编译的方式来安装主机控制面板。对于大内存的VPS来说一般问题不大,但是对于小内存,比如512MB内存的VPS来说,很有可能会出现问题...

会飞的鱼的博客 2602
上一篇: CentOS 更换镜像源
下一篇: composer init 命令详解
dadeity
博客等级 码龄10年 1172粉丝 225原创
评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

dadeity

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值