歡迎光臨, 訪客. 請先 登入註冊一個帳號.
三月 29, 2024, 05:39:29 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  as4(update1 X86_64) 服务器配置问题(apache+mysql+php+gd+jpeg) « 上篇主題 下篇主題 »
頁: [1]
作者 主題: as4(update1 X86_64) 服务器配置问题(apache+mysql+php+gd+jpeg)  (閱讀 6989 次)
SmilingOx
新手見習
*
文章: 15


檢視個人資料 個人網站
« 於: 九月 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


郁悶啊!!!
已記錄
james
LifeType 中文發展團隊
超級會員
*****
文章: 823


哼!!你不說,誰會知道你做過那些修改呢!? (丟滑鼠~~)


檢視個人資料 個人網站
« 回覆文章 #1 於: 九月 26, 2005, 08:18:05 下午 »

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


郁悶啊!!!

這篇文章似乎和plog的安裝設定沒有"直接"的關係。(間接的關係到是可以說有啦~~)
因此是不是請SmilingOx,先利用Google找找看相關的資料。
等到安裝plog有問題時,在上來這討論囉 ^_^

James.
已記錄

記得發問前,先使用搜尋功能找找看有沒相關的解答。
如果找不到,請依照如何在LifeType論壇發問來提問喔。
頁: [1]
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  as4(update1 X86_64) 服务器配置问题(apache+mysql+php+gd+jpeg) « 上篇主題 下篇主題 »
    前往: