Prince XML
Product  Download  Purchase  Samples  Documentation  Forum  Company
It is currently Sat Jul 31, 2010 7:30 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: PHP MacOSX Mamp
PostPosted: Sat Nov 17, 2007 10:56 am 
Offline

Joined: Thu Nov 15, 2007 9:42 pm
Posts: 27
Just began trying out Prince and am testing it on my MacOSX system with MAMP installed for PHP. Running from command line works perfect but my end solution would be php which I am trying to get to work. Get the following error from my php page.


Code:
Failure
array(4) {
  [0]=>
  array(1) {
    [0]=>
    string(47) ": Symbol not found: __cg_jpeg_resync_to_restart"
  }
  [1]=>
  array(1) {
    [0]=>
    string(130) "ferenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO"
  }
  [2]=>
  array(1) {
    [0]=>
    string(55) "pected in: /Applications/MAMP/Library/lib/libJPEG.dylib"
  }
  [3]=>
  array(1) {
    [0]=>
    string(0) ""
  }
}


Don't know enough to interpret this. Anyone know?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 17, 2007 11:21 pm 
Offline

Joined: Tue Jun 07, 2005 11:03 pm
Posts: 2582
Location: Melbourne
Looks like a dynamic linking issue, as MAMP seems to be bringing in its own version of libjpeg. I'm not sure what is the best fix for it. Perhaps changing the configuration of MAMP, or environment variables such as LD_LIBRARY_PATH. Alternatively, we could release a statically linked Prince binary for MacOS X instead.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 17, 2008 2:23 pm 
Offline

Joined: Thu Apr 17, 2008 2:19 pm
Posts: 5
mikeday wrote:
Alternatively, we could release a statically linked Prince binary for MacOS X instead.


This would be ideal as I am running into the same problem.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 17, 2008 4:54 pm 
Offline

Joined: Thu Apr 17, 2008 4:51 pm
Posts: 4
I use MAMP too, and would like to start using prince with it. Is there anything in the works for this?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 22, 2008 3:34 am 
Offline

Joined: Tue Jun 07, 2005 11:03 pm
Posts: 2582
Location: Melbourne
I have raised this issue on the MAMP forum.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 01, 2008 12:35 am 
Offline

Joined: Tue Jun 07, 2005 11:03 pm
Posts: 2582
Location: Melbourne
A response from the MAMP developers:
Quote:
yes, MAMP changes the environment variable $DYLD_LIBRARY_PATH. Check the file:

/Applications/MAMP/Library/bin/envvars

and try out if commenting out the two uncommented lines will work for you.


Top
 Profile  
 
 Post subject: Thanks
PostPosted: Fri May 02, 2008 4:00 am 
Offline

Joined: Thu Apr 17, 2008 4:51 pm
Posts: 4
I will try it and see if that works...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: MSN [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group