Re: [PHP4BETA] Setting up PHP 4
| From: | Mark Faine | Date: | Wed, 17 May 2000 12:25:40 +0000 |
| Subject: | Re: [PHP4BETA] Setting up PHP 4 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15118@lists.php.net to get a copy of this message | ||
It seems to me that the error message says it all: > ld: fatal:
library -lstdc++: not found
please be sure that the library lsdtc++ exist and it is in your path. it is
probably lstdc++.so.1 or .so
ld is trying to link libraries that either don't exist or are not available
by not being in your path
I'm not sure where it should be but check the usual suspects any "lib"
directory another possibility may be
the file should come with the distribution since it seems to be looking for
it in a directory TSRM.
my own little disclaimer goes here:
By the way these are all just suggestions although taken from experience.
I can't claim to be any kind of Unix/PHP (or any)kind of Guru, so please
double check me.
-Mark
""vahid"" <vahidh@ision.net.uk> wrote in message
news:001b01bfbe4e$fa74ac20$08e407c3@netdirect.net.uk...
> Hello
> I have a
>
> SunOS 5.7 Generic sun4u sparc SUNW,UltraSPARC-IIi-Engine
>
> I have been bashing my head against a brickwall with this problem, I
didnt
> have a problem with the old php4 installation and had that up and running
> but since we are running zeus webservers I was advised from the zeus site
to
> download a new version of php and zeus and set them up again, each time I
> install php
> the following error occures :
>
> ibxml.la
>
TSRM/libtsrm.la -lpam -lstdc++ -ldl -lresolv -lresolv -lm -ldl -lcrypt -lnsl
> -lsocket -lsocket
> ld: fatal: library -lstdc++: not found
> ld: fatal: library -lstdc++: not found
> ld: fatal: File processing errors. No output written to .libs/libphp4.so
> make[1]: *** [libphp4.la] Error 1
> make[1]: Leaving directory `/usr/local/master/php-4.0RC2'
> make: *** [all-recursive] Error 1
>
> I have reinstalled Gcc libstdc plus a few sun library files from the cd
none
> of whcih makes any difference, can anyone help
>
> Regards
> Vahid
>
>
>
> Vahid Hedayati - Systems Administrator
> Ision Internet PLC Tel:+44181 293 7000
> vahidh@ision.net.uk ICQ:7319089
> www.vahid.co.uk www.pro.org.uk
>
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>