Skip to contentSkip to conversation

PHP installation

DISCUSSION Ted Yu 3 participants 3 messages Oct 19, 2004 – Oct 20, 2004

lore
Share & tools
lore

Ted Yu

author
#0 lore raw

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

#1 lore raw
Quoted 11 lines · 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 ?

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

#2 lore raw

rpm cannot find librpm.so

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