10-22-2011, 09:38 AM #1
LIBXML2 - multiple versions on my Mac
- Member Since
- Oct 22, 2011
I have been using Macports to keep all my software up-to-date, but have recently had a problem where the version of libxml2 has apparently updated, but is actually showing two different versions on my Mac
I have started using a PHP framework call Symfony, which so far seems excellent, but there are certain things that require the version of libxml2 to be 2.6.21 or above.
I have tried several times through Macports to upgrade libxml2, but it tells me that the most recent version is installed.
I get the following when I check the version through Macports:
imac:~ barry$ port search libxml
libxml @1.8.17 (textproc)
XML parsing library
libxml2 @2.7.8 (textproc)
gnome xml library
However, when I use grep I get the following:
imac:/Users barry$ php -i | grep libxml
libxml Version => 2.6.16
libxml2 Version => 2.6.16
So there are obviously 2 versions of libxml2 sitting on my Mac, and the wrong one is being used. I have searched around forums, and think that the answer may lie in a Symlink, but I do not know what I am doing with this. (I need this spelling out hin simple instructions. lol)
I am using Mac OS 10.4.11 (which means I cannot install Howebrew, hence using Macports as the other alernative). I cannot upgrade my OS as my old IMac will not allow it, and I cannot afford a new one at this moment in time.
Can anybody help me so that I can get my Symfony2 project on the road?
Many thanks in advance
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Mark F in forum OS X - Operating SystemReplies: 13Last Post: 01-10-2015, 11:02 PM
By waikikiii in forum OS X - Operating SystemReplies: 1Last Post: 12-01-2011, 09:59 AM
By hockdub in forum OS X - Operating SystemReplies: 6Last Post: 02-12-2011, 01:24 PM
By SixString in forum OS X - Operating SystemReplies: 1Last Post: 01-23-2011, 07:04 AM
By HellGyro in forum OS X - Operating SystemReplies: 1Last Post: 02-21-2006, 12:22 PM