I found this thread in a php news archive. I am fairly new to compiling php on a Unix system, and I am having the same problem described in this thread. I am trying to compile php 4.3.4 on a Solaris 9 system. I have fixed my path, and I do not have GNU sed installed on the system. I am still getting the same error. Would installing GNU sed fix the problem, or is there something else I need to do?
----- Original Message ----- Thanks for the hint, it was my standard Sun sed application before the GNU dito in my PATH as well as ld application that cased the problem. So switching usr/bin and usr/local/bin in the path helped alot. Göran -----Ursprungligt meddelande----- Från: Evan Nemerson [mailto:[EMAIL PROTECTED] Skickat: den 27 maj 2003 03:25 Till: Göran Höglund Kopia: [EMAIL PROTECTED] Ämne: Re: [PHP] Ld error PHP trips up on my ld sometimes if i made the command line (/cgi) version of php before the dso. Try `make clean`, then `make`. dunno if that's the problem for sure, though- my error is usually file truncated, but im on linux On Monday 26 May 2003 06:09 am, Göran Höglund wrote: > Hi I'm trying to compile the php-4.3.1 package on a SUN/Solaris 8 > mashine. > > I confugured php with: ./configure > --with-apxs2=/usr/local/apache2/bin/apxs > > I have installed all requiered neccesary packages, downloded from > sunfreeware.com. > > I have installed Apache2 under /usr/local/apache2. > > When my gcc compiler tries to make the package I get the following > message: > > ld: fatal: file ext/ctype/ctype.lo: unknown file type > ld: fatal: File processing errors. No output written to > .libs/libphp4.so > > > My ld is: /usr/ccs/bin/ld > > And ls gives: -rw-r--r-- 1 root other 1 May 26 11:23 > ext/ctype/ctype.lo > > Regards Göran -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php