Re: fatal: libttf.so.2: open failed:
| From: | Kirill Maximov | Date: | Sat, 11 Nov 2000 18:08:20 +0000 |
| Subject: | Re: fatal: libttf.so.2: open failed: | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-37759@lists.php.net to get a copy of this message | ||
Hi,
First of all, you better use bug database http://bugs.php.net
for such messages
or php-install@lists.php.net mailing list first.
Hans Kind wrote:
>
> Hi,
>
> Platform = Solaris 2.7
> gcc 2.95.2
> apache 1.3.14
> php 4.0 3pl1
>
> ./configure --with-libgcc --with-gd --with-mysql=/opt/software/mysql
> --with-apxs=/usr/local/apache/bin/apxs --enable-track-vars --with-regex=system
> --with-config-file-path=/opt2/forez/httpd/conf
>
> make
> make install
>
> No errors or warnings
>
> zlib, libpng, jpeg, freetype and gd installed without any warnings or errors
>
> --with-libgcc was used
>
> # apactrl start
> Syntax error on line 238 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
> /usr/local/apache/bin/httpd: fatal: libttf.so.2: open failed: No such file or directory
> ./apachectl start: httpd could not be started
>
> libttf.so.2 is present in /usr/local/lib
>
> path is set to:
>
>
> PATH=/usr/local/ssl/bin:/usr/sbin:/usr/lib/nis/bin:/usr/openwin/bin:/bin:/usr/bin:/usr/ucb:/etc:/opt/gnu_tools:/usr/ccs/bin:/opt/oracle/bin:/usr/5bin:/usr/local/bin:/usr/local/lib:.
>
> Any suggestions??
try this:
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
# apachectl start
>
> rgds
>
> Hans KInd
--
With best regards,
Kirill Maximov