Re: Re: fatal: libttf.so.2: open failed:
| From: | Kirill Maximov | Date: | Mon, 13 Nov 2000 08:01:08 +0000 |
| Subject: | Re: Re: fatal: libttf.so.2: open failed: | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-747@lists.php.net to get a copy of this message | ||
Hans Kind wrote:
>
> It seems it's a server isolated problem. I have been able, like many times
> before, to install the same setup on a different system, with the same
> Solaris 2.7, egcs compiler etc.
>
> This is beyond me experiences, is there a (easy) way to check if
> udivdi3 is in the libgcc library??
May be something like this:
$ nm /usr/local/lib/gcc-lib/i686-pc-solaris2.7/egcs-2.92.34/libgcc.a |grep udivdi3
[11] | 0| 284|FUNC |GLOB |0 |2 |__udivdi3
>
> rgds
>
> Hans
>
> At 08:55 12-11-00 -0800, you wrote:
> >Hrm.. The --enable-libgcc was designed to work around the problem of
> >mixed compilers/linkers on Solaris. This udivdi3 symbol should be in your
> >libgcc library. Try poking around and adding -lgcc here and there and see
> >if that solves it. If you figure it out let us know and we can teak the
> >enable-libgcc to also address this on SCO. I thought we were compiling on
> >SCO though. I know others have done it.
> >
> >-Rasmus
> >
> >
> >On Sun, 12 Nov 2000, Hans Kind wrote:
> >
> > > # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
> > >
> > > takes me a little further, but now I'm getting:
> > >
> > > # apachectl 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: relocation error: file
> > > /usr/local/apache/libexec/libphp4.so: symbol __udivdi3: referenced symbol
> > > not found
> > >
> > > PHP is configured with --enable-libgcc
> > >
> > > > ./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
> > >
> > > rgds
> > >
> > > Hans Kind
> > >
> > > At 21:08 11-11-00 +0300, you wrote:
> > >
> > > > 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
> > >
> > >
> > > --
> > > PHP Install Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-install-help@lists.php.net
> > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> > >
--
With best regards,
Kirill Maximov