主題: as4(update1 X86_64) 服务器配置问题(apache+mysql+php+gd+jpeg) 作者: SmilingOx 於 九月 26, 2005, 05:30:04 下午 as4(update1 X86_64) 伺服器配置問題
下列模塊,在A3 U4下能成功配置 兄弟們,有誰成功配置過: as4(u1 X86_64)系統,httpd-2.0.54, mysql-standard-4.1.14 ,freetype-2.1.9,libpng-1.2.8,jpegsrc.v6b,php-4.4.0,gd-2.0.28? 其中:httpd-2.0.54, mysql-standard-4.1.14 ,freetype-2.1.9,libpng-1.2.8,jpegsrc都能成功安裝 tar xzvf gd-2.0.28.tar.gz cd gd-2.0.28 ./configure --prefix=/usr/local/modules/gd --with-jpeg=/usr/local/modules/jpeg6 --with-freetype=/usr/local/modules/freetype --with-png --with-zlib 問題出現下: make 錯誤提示: *** Warning: linker path does not have real file for library -ljpeg. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libjpeg and none of the candidates passed a file format test *** using a file magic. Last file checked: /usr/local/modules/jpeg6/lib/libjpeg.a *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. gcc -shared gd.lo gdfx.lo gd_gd.lo gd_gd2.lo gd_io.lo gd_io_dp.lo gd_gif_in.lo gd_gif_out.lo gd_io_file.lo gd_io_ss.lo gd_jpeg.lo gd_png.lo gd_ss.lo gd_topal.lo gd_wbmp.lo gdcache.lo gdfontg.lo gdfontl.lo gdfontmb.lo gdfonts.lo gdfontt.lo gdft.lo gdhelpers.lo gdkanji.lo gdtables.lo gdxpm.lo wbmp.lo -Wl,--rpath -Wl,/usr/local/modules/freetype/lib -Wl,--rpath -Wl,/usr/local/modules/freetype/lib -L/usr/local/modules/freetype/lib -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/modules/jpeg6/lib /usr/local/modules/freetype/lib/libfreetype.so -lpng12 -lz -lm -Wl,--rpath -Wl,/usr/local/modules/freetype/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,-soname -Wl,libgd.so.2 -o .libs/libgd.so.2.0.0 /usr/bin/ld: /usr/local/lib/libz.a(compress.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libz.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libgd.la] Error 1 make[2]: Leaving directory `/home/test/gd-2.0.28' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/test/gd-2.0.28' make: *** [all] Erro 郁悶啊!!! 主題: Re: as4(update1 X86_64) 服务器配置问题(apache+mysql+php+gd+jpeg) 作者: james 於 九月 26, 2005, 08:18:05 下午 as4(update1 X86_64) 伺服器配置問題 這篇文章似乎和plog的安裝設定沒有"直接"的關係。(間接的關係到是可以說有啦~~)下列模塊,在A3 U4下能成功配置 兄弟們,有誰成功配置過: as4(u1 X86_64)系統,httpd-2.0.54, mysql-standard-4.1.14 ,freetype-2.1.9,libpng-1.2.8,jpegsrc.v6b,php-4.4.0,gd-2.0.28? 其中:httpd-2.0.54, mysql-standard-4.1.14 ,freetype-2.1.9,libpng-1.2.8,jpegsrc都能成功安裝 tar xzvf gd-2.0.28.tar.gz cd gd-2.0.28 ./configure --prefix=/usr/local/modules/gd --with-jpeg=/usr/local/modules/jpeg6 --with-freetype=/usr/local/modules/freetype --with-png --with-zlib 問題出現下: make 錯誤提示: *** Warning: linker path does not have real file for library -ljpeg. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libjpeg and none of the candidates passed a file format test *** using a file magic. Last file checked: /usr/local/modules/jpeg6/lib/libjpeg.a *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. gcc -shared gd.lo gdfx.lo gd_gd.lo gd_gd2.lo gd_io.lo gd_io_dp.lo gd_gif_in.lo gd_gif_out.lo gd_io_file.lo gd_io_ss.lo gd_jpeg.lo gd_png.lo gd_ss.lo gd_topal.lo gd_wbmp.lo gdcache.lo gdfontg.lo gdfontl.lo gdfontmb.lo gdfonts.lo gdfontt.lo gdft.lo gdhelpers.lo gdkanji.lo gdtables.lo gdxpm.lo wbmp.lo -Wl,--rpath -Wl,/usr/local/modules/freetype/lib -Wl,--rpath -Wl,/usr/local/modules/freetype/lib -L/usr/local/modules/freetype/lib -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/modules/jpeg6/lib /usr/local/modules/freetype/lib/libfreetype.so -lpng12 -lz -lm -Wl,--rpath -Wl,/usr/local/modules/freetype/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,-soname -Wl,libgd.so.2 -o .libs/libgd.so.2.0.0 /usr/bin/ld: /usr/local/lib/libz.a(compress.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libz.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libgd.la] Error 1 make[2]: Leaving directory `/home/test/gd-2.0.28' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/test/gd-2.0.28' make: *** [all] Erro 郁悶啊!!! 因此是不是請SmilingOx,先利用Google找找看相關的資料。 等到安裝plog有問題時,在上來這討論囉 ^_^ James. |