PHP installation

PHP installation

am 20.10.2004 00:58:59 von Ted Yu

Hi,
I installed libxml2-2.6.14-1.i386.rpm.
When I run ./configure under php-5.0.2, I get:

Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
configure: error: libxml2 version 2.5.10 or greater
required.

How do I get over it ?



_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: PHP installation

am 20.10.2004 16:11:24 von Scott Taylor

Ted Yu said:
> Hi,
> I installed libxml2-2.6.14-1.i386.rpm.
> When I run ./configure under php-5.0.2, I get:
>
> Configuring extensions
> checking whether to enable LIBXML support... yes
> checking libxml2 install dir... no
> configure: error: libxml2 version 2.5.10 or greater
> required.
>
> How do I get over it ?

You didn't leave a lot to go on here. If you are using RPMs then you
should probably disclose the secret distribution.

Anyway, if you are going to compile PHP then you should compile everything
that goes with it, as RPMs don't always install where you expect them.
Otherwise, use RPMs for everything and install them all together. I like
to put all the RPMs, I'm going to use, into one directory and "rpm -ivh
*". That way everything gets melted together just like RPMs. Kinda sick
but...

Mixing RPM and manual compiles is do-able, but always messy and not always
giving the best results, because it's messy. Then again, so is my desk...

--
Scott
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

rpm cannot find librpm.so

am 20.10.2004 21:38:47 von Mike Tran

Hi all,

I am trying to do an upgrade on my rpm packagage from version 4.2.2-0.14
to rpm-4.2.3-10. It complainded that it couldn't find librpm-4.2.so, but
when i did a locate, librpm is in /usr/lib/ (see below). I don't know
where the installed rpm is looking for librpm. How do i tell rpm to look
for librpm.so in /usr/lib/ ?

Thanks you in advance for any suggestions.

Mike

root@myhost:{181} rpm -q rpm
rpm: error while loading shared libraries: librpm-4.2.so: cannot open
shared object file: No such file or directory

root@myhost:rpm {182} locate librpm-4.2.so
/usr/lib/librpm-4.2.so




-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html