くだらない質問はここに書き込め!Part 55at UNIX
くだらない質問はここに書き込め!Part 55 - 暇つぶし2ch360:名無しさん@お腹いっぱい。
08/05/14 18:50:11
Solaris 10(x86) で PHP5.2のコンパイルしようとしていますが、エラーが出て困っています。

$ wget URLリンク(museum.php.net)
$ gzip -dc php-5.2.4.tar.gz | tar xvf -
$ cd php-5.2.4
$ ./configure \
--with-apxs2=/usr/apache2/bin/apxs \
--with-config-file-path=/etc/apache2/php \
--with-pgsql \
--enable-mbstring \
--with-zlib-dir=/usr/local/lib \
--enable-sockets \
--with-iconv-dir=/usr/local/lib
$ make
・・・
errno 0x1c8a /usr/local/lib/libz.a(gzio.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

コンパイル前にldを変えておくとエラーが出なくなるようですが・・・。
# mv /usr/ccs/bin/ld /usr/ccs/bin/ld.org
# ln -s /usr/sfw/bin/gld /usr/ccs/bin/ld

他の回避策はないでしょうか?


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch