[PHP-users 2861] pdflib-4.0.1で can not open shared object

takaesu php-users@php.gr.jp
Thu, 18 Oct 2001 17:08:17 +0900


こんにちは。

Redhat6.2J + apache_1.3.14 + PostgreSQL-7.0.3-patched + PHP-4.0.3pl1
の環境です。

これに pdflib-4.0.1 を組み込もうとしましたが、うまく組み込めません。
どうやらライブラリ(?)がうまく見つけきれないようです。
どなたかご教示願います。

■現象
pdflibをインストール後、PHPを再インストールし、Apacheを起動すると

[root /]# /etc/rc.d/init.d/httpd start
Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: libpdf.so.1: cannot open sh
ared object file: No such file or directory
/etc/rc.d/init.d/httpd start: httpd could not be started
[root /]#

というエラーが出ます。
ちなみに libpdf.so.1 は /usr/local/lib に存在します。

■やったこと。
1.pdflib-4.0.1のディレクトリで
	./configure --with-tcl=no
	make
	make test
	make install

2.php-4.0.3pl1のディレクトリで
	make clean
	make distclean
	rm configure
	./buildconf

	./configure --enable-jstring --with-namazu --with-kakasi \
          --enable-mbregex --enable-iconv --with-pgsql \
          --with-apxs=/usr/local/apache/bin/apxs --enable-trans-sid \
          --enable-track-vars --with-pdflib=/usr/local \
          --with-jpeg-dir=/usr --with-tiff-dir=/usr --with-zlib-dir=/usr

	make
	make install
	cp php.ini-dist /usr/local/lib/php.ini

以上、よろしくお願いします。

-- 
takaesu <takaesu@geocities.co.jp>