New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

LIBXML2 - multiple versions on my Mac


Post Reply New Thread Subscribe

 
Thread Tools
barryj

 
Member Since: Oct 22, 2011
Posts: 1
barryj is on a distinguished road

barryj is offline
Hi

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
libxml
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

Barry J
QUOTE Thanks

Post Reply New Thread Subscribe


« bookmmark transfer | Can't pair Bluettoth Keyboard or Trackpad with Snow Leopard »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Running Windows on Mac rickmahmoud Running Windows (or anything else) on your Mac 7 02-16-2008 11:31 PM
Disillusioned Mac desigener switches to Windows mogwai Schweb's Lounge 21 05-11-2006 02:05 PM
Mac Users Get More ISP Choices schweb Apple Rumors and Reports 1 03-06-2003 10:57 AM

All times are GMT -4. The time now is 07:00 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?