当前位置:网站首页>relocation R_X86_64_PC32 against,/usr/bin/ld: final link failed: Bad value
relocation R_X86_64_PC32 against,/usr/bin/ld: final link failed: Bad value
2022-08-03 19:15:00 【cao849861802】
net-snmp编译的时候报错
/usr/bin/ld: /usr/local/lib/libnetsnmp.a(default_store.o): relocation R_X86_64_PC32 against symbol `netsnmp_ds_set_string' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:462: recipe for target '../blib/arch/auto/NetSNMP/default_store/default_store.so' failed
make[2]: *** [../blib/arch/auto/NetSNMP/default_store/default_store.so] Error 1
make[2]: Leaving directory '/media/build/cyf/snmp/net-snmp-5.9.1/perl/default_store'
Makefile:485: recipe for target 'subdirs' failed
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory '/media/build/cyf/snmp/net-snmp-5.9.1/perl'
Makefile:299: recipe for target 'perlmodules' failed
make: *** [perlmodules] Error 1
解决方法:
./configure --build=x86_64 --host=x86_64 --with-default-snmp-version="2" --with-logfile="/var/log/snmpd.log"
指定编译平台和运行平台
边栏推荐
- pytest接口自动化测试框架 | 基于Pytest的Web UI自动化测试框架介绍
- 安装radondb mysql遇到问题
- 阿里巴巴政委体系-第五章、阿里政委体系建设
- Execute the mysql script file in the docker mysql container and solve the garbled characters
- flex布局
- Handler source code analysis
- U-Net生物医学图像分割讲解(Convolutional Networks for BiomedicalImage Segmentation)
- 【夜莺监控方案】08-监控msyql集群(prometheuse+n9e+mysqld_exporter)
- LeetCode 622. 设计循环队列
- InnoDB 中不同SQL语句设置的锁
猜你喜欢
基于移动GIS的环保生态管理系统
Jingdong cloud released a new generation of distributed database StarDB 5.0
PreFixSum前缀和
国产虚拟化云宏CNware WinStack安装体验-5 开启集群HA
MySQL超详细安装教程 手把手教你安装MySQL到使用MySQL 最简单的MySQL安装方式,这种方式装,卸载也简单
Cobalt Strike (CS) 逆向初探
U-Net生物医学图像分割讲解(Convolutional Networks for BiomedicalImage Segmentation)
LeetCode 622. Designing Circular Queues
如何理解即时通讯开发移动网络的“弱”和“慢”
MySQL如何一劳永逸的永久支持输入中文
随机推荐
Interview Blitz: What Are Sticky Packs and Half Packs?How to deal with it?
vulnhub pyexp: 1
Shell编程之循环语句
Brush the topic of mobile zero power button
YAML中多行字符串的配置方法:|+、 |、 |-、 >+、 >、 >-的区别
MySQL 主从,6 分钟带你掌握!
ADS 2023 Download Link
MySQL基础
SQL server 实现触发器备份表数据
阿里资深专家打造从零开始学架构,含阿里内部技术栈PPT、PFD实战
awk语法-02-运算、数组、格式化输出
Compose原理-compose中是如何实现事件分法的
docker mysql 容器中执行mysql脚本文件并解决乱码
Shell programming loop statement
Bytes to beat three sides take offer: network + GC + + IO + redis + JVM red-black tree + data structure, to help you quickly into the giant!!!!!
Word另存为PDF后无导航栏解决办法
Postgresql snapshot optimization Globalvis new system analysis (performance greatly enhanced)
开发即时通讯到底需要什么样的技术,需要多久的时间
[笔记]机器学习之前言介绍
if/else或switch替换为Enum