- 论坛徽章:
- 0
|
将一个linux 下的东东移到freebsd 下, 使用g++ 编译 编译没问题
链接的时候 出现错误
/usr/bin/ld: warning: libpthread.so.0, needed by /home/*/xerces-c/lib/libxerces-c.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libstdc++.so.6, needed by /home/*/xerces-c/lib/libxerces-c.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libm.so.6, needed by /home/*/xerces-c/lib/libxerces-c.so, not found (try using -rpath or -rpath-link)
找了/usr/lib 下这些库都是有的
libxerces-c.so 是apache 的一个xml 库 直接解压 没有编译
谢谢! |
|