Error: dyld: Library not loaded: postgresql-8.2.3

General discussion for the Zend Server CE

Error: dyld: Library not loaded: postgresql-8.2.3

Postby laran on Thu Mar 26, 2009 5:01 pm

I'm on OSX 10.5. I just installed Zend Server CE and restarted my machine. Below is what I get when I try to execute php from the command line. Can anyone help me work through this please? Thanks.

lc278:~ laran$ which php
/Applications/ZendServer/bin/php
lc278:~ laran$ echo "<?php phpinfo(); ?>" | php > phpinfo.txt
dyld: Library not loaded: /usr/local/postgresql-8.2.3/lib/libpq.5.dylib
Referenced from: /Applications/ZendServer/bin/php
Reason: image not found
Trace/BPT trap
lc278:~ laran$ php -V
dyld: Library not loaded: /usr/local/postgresql-8.2.3/lib/libpq.5.dylib
Referenced from: /Applications/ZendServer/bin/php
Reason: image not found
Trace/BPT trap
lc278:~ laran$
laran
 
Posts: 4
Joined: Thu Mar 26, 2009 4:58 pm

Re: Error: dyld: Library not loaded: postgresql-8.2.3

Postby laran on Thu Mar 26, 2009 5:13 pm

Just found another post that resolves this. I have to use php-cli instead. Easy enough! Would have been nice to have that mentioned in the installation instructions though.
laran
 
Posts: 4
Joined: Thu Mar 26, 2009 4:58 pm

Re: Error: dyld: Library not loaded: postgresql-8.2.3

Postby jess04 on Thu Mar 26, 2009 6:08 pm

Hello,

Please see: viewtopic.php?f=44&t=191

Enjoy ZendServer :)
May the source be with you,

Jess Portnoy
jess04
 
Posts: 628
Joined: Thu Jan 15, 2009 3:37 pm


Return to Zend Server Community Edition

Who is online

Users browsing this forum: No registered users and 1 guest