php-install Digest 28 Aug 2001 04:13:19 -0000 Issue 433

Topics (messages 4090 through 4093):

ODBC on Unix
        4090 by: Jonathan Hilgeman

Re: php4.0.6 with apache 1.3.19 and gd 1.8.4
        4091 by: Yasuo Ohgaki

Re: PHP 4.0.6: Compile Error
        4092 by: Yasuo Ohgaki

Re: Has anyone actually installed PHP4 from RPMs?
        4093 by: Jan-Erik Bullett

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


So far I've heard of unixODBC and iODBC as packages that supply UNIX with
ODBC support. Is there anyone who knows if one is better than the other? I'm
on FreeBSD 4.2...






Ryan Briggs wrote:
*SNIP*

> Attempt to start apache:
> [root@neo bin]# apachectl start
> Syntax error on line 223 of /www/conf/httpd.conf:
> Cannot load /usr/local/etc/httpd/libexec/libphp4.so into server: ld.so.1:
> /usr/local/etc/httpd/bin/httpd: fatal: relocation error: file
> /usr/local/etc/httpd/libexec/libphp4.so: symbol gdImageCreateFromWBMPCtx:
> referenced symbol not found
> ./apachectl start: httpd could not be started

It seems your web server (PHP) couldn't find correct GD shared lib. 
Easiest way to compile with GD is link with static lib that you want.

My server (PHP4.0.6/Apache1.3.20/gd1.8.3(or2.0.0)) work fine with shared 
lib though. If you want to link with shared lib, look for the lib and 
make sure PHP loads lib you want.(edit /etc/ld.so.conf, run ldconfig, 
specify lib location when you configure php, etc)

My gd lib are located like this

/usr/lib/libgd.so:0000d500 T gdImageCreateFromWBMPCtx
/usr/lib/libgd.so.1:0000d500 T gdImageCreateFromWBMPCtx
/usr/lib/libgd.so.1.8:0000d500 T gdImageCreateFromWBMPCtx
/usr/lib/libgd.so.1.8.3:0000d500 T gdImageCreateFromWBMPCtx
/usr/lib/libgd.so.2:00011d38 T gdImageCreateFromWBMPCtx
/usr/lib/libgd.so.2.0.0:00011d38 T gdImageCreateFromWBMPCtx

--
Yasuo Ohgaki





T.J. Hoo wrote:

> Hi!
> 
> I'm looking for PHP 4.0.6 binaries for SunOS, HP-UX and etc.
> 
> I have downloaded PHP 4.0.6 source and I have the following error when 
> tried to compile the program:
> 
> 
> ~/php_4.0.6>>make
> Making all in Zend
> Making all in main
> ...
> ld: fatal: file stub.lo: unknown file type
> ld: fatal: File processing errors. No output written to .libs/libphp4.so
> *** Error code 1
> make: Fatal error: Command failed for target `libphp4.la'
> Current working directory /home/thoo/php_4.0.6
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> 
> Can you give some advise of what could be the problem? I'm compiling the 
> program in SunOS.


http://www.php.net/manual/en/install.solaris.php


= From Manual =

Solaris installs often lack C compilers and their related tools. The 
required software is as follows:
*SNIP*
= END =

So do you have all you need to compile PHP?

--
Yasuo Ohgaki





So can I tax your brain on how you installed from source?

I installed everything ok, I think, used the mod_perl to make apache and all
that, then during the PHP build, it cannot find apxs, even though I specify
/usr/local/apache/bin/apxs.

Any help greatly appreciated.

And might I say that you have an interesting surname.


Jan-Erik


Phil Latio wrote:

> I'm not a Linux Guru but have successfully installed PHP4 from source so
> it's compiled with MySQL. My webserver works fine and I am happy but I set
> myself the task of getting the same configuration through installing RPMs.
> Unfortunately, I have been unsuccessfull in trying to install PHP4 from RPMs
> on Redhat 7.1.  I am using the GnoRPM package and both MySQL and Apache
> installed reasonably smoothly but when it came to PHP4, I just kept finding
> I needed so many dependancies that it's become a joke.
>
> Everytime I download and installed one, it then asks for 2-4 more which in
> turn ask for 2-4 of the dependancy of the dependancy.
>
> I am not familiar with the command-line approach to installing RPMs which
> might be the way to go but if anyone out there has installed PHP4 using
> either method, I would love to know how they did it.
>
> Cheers
>
> Phil
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


Reply via email to