001、make编译 报错:/bin/ld: cannot find -lmysqlclient
002、查找相关文件
(base) [root@pc1 Augustus-3.5.0]# find / -name *libmysqlclient.so* ## lib + 提示的缺失文件 + .so
003、复制一份到 /usr/lib中
(base) [root@pc1 Augustus-3.5.0]# cp /usr/lib64/mysql/libmysqlclient.so /usr/lib
004、make 编译验证效果
(base) [root@pc1 Augustus-3.5.0]# make ## 编译, 前面的报错提示消失, 说明操作生效
。
- lmysqlclient cannot find bin ldlmysqlclient cannot find bin cannot find usr bin lcolamd cannot find bin ld_preload preloaded preload cannot options cannot idea find directory cannot lstdc find cannot find lpthread build directory cannot find file cannot find makefile lpthread iostream cannot e447 find