On Thu, Feb 20, 2003 at 12:00:44PM +0900, Tony Lee wrote:

> I just changed my php version from 4.1.2 to 4.21. For which there are no 
> rpms for my platform (RH7.3).
> 
> After the update I'm having trouble getting midgard working again. I'm 
> stuck without a php-devel rpm and I know it's prerequisite for midgard. 
> So I'm thinking this could be the problem. If not I'm sure it will be later.
> 
> So my question is: What exactly does php-devel do? Something I can 
> adjust when compiling PHP?

Php-devel just has the header files necesary to build new php modules
with. Since you wouldn't need those on a production machine, they're
typically not included in the base package, but split off to a '-dev'
(development) co-package. If you compile PHP from source, you get
everything. There's no separate -dev target.

> The error message I get when performing configtest from apache is:
> PHP Warning: Unable to load dynamic library '/usr/lib/php4/midgard.so' - 
> /usr/lib/php4/midgard.so: cannot open shared pbject file: No such file 
> or directory in Unknown on line 0

If you've managed to recompile Midgard on this same machine, it isn't
anything from -dev you're missing. I don't know what causes the above --
my nearest guess would be that this module comes from another machine
and is missing some shared libs it depends on. Run ldd on
/usr/lib/php4/midgard.so and see if it turns up anything missing.

Emile

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to