|
使用pkg-get安装php的时候出错了,- rose-root{6} /etc/init.d/apache restart
- httpd: Syntax error on line 132 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: ld.so.1: /usr/local/apache2/bin/httpd: fatal: relocation error: file /usr/local/apache2/modules/libphp5.so: symbol xmlTextWriterEndDTDAttlist: referenced symbol not found
复制代码 用ldd找,看到是libxml2的问题。这里libxml2是也是使用pkg-get当下来的二进制包安装的。
- rose-usr{9} ldd /usr/local/lib/libxml2.so.2
- libpthread.so.1 => /usr/lib/libpthread.so.1
- libz.so.1 => /usr/local/lib/libz.so.1
- libz.so.1 (SUNW_1.1) => (version not found)
- libiconv.so.2 => /usr/local/lib/libiconv.so.2
- libm.so.1 => /usr/lib/libm.so.1
- libsocket.so.1 => /usr/lib/libsocket.so.1
- libnsl.so.1 => /usr/lib/libnsl.so.1
- libc.so.1 => /usr/lib/libc.so.1
- libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
- libmp.so.2 => /usr/lib/libmp.so.2
- libmd5.so.1 => /usr/lib/libmd5.so.1
- libscf.so.1 => /usr/lib/libscf.so.1
- libdoor.so.1 => /usr/lib/libdoor.so.1
- libuutil.so.1 => /usr/lib/libuutil.so.1
- libm.so.2 => /usr/lib/libm.so.2
- /platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
- /platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1
复制代码
初学solaris,不太理解这个SUNW1.1版本的程序怎么得到。使用pvs看libz:
- rose-usr{13} pvs /usr/local/lib/libz.so.1
- libgcc_s.so.1 (GCC_3.0);
复制代码
这里libz是最新的libz-1.2.3版本。但是是GCC_3.0版本,没有SUNW1.1版本。
请问如何解决这个问题,如何得到这个libz.so.1 (SUNW_1.1)? |
|