Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: [PHP-INSTALL] Help compiling PHP 5.2.3 on OS X
Since it seems with your configure,

./configure --with-apxs2=/app/apache2/bin/apxs --without-pear --
with-config-file-path=/app/ini --with-mysql=/usr/local/mysql

that you're not building only for mysql extension and not for
PDO/mysql, you will see in your config.log,

dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
Referenced from: /Users/jpons/app/src/php-5.2.3/./conftest
Reason: image not found


Add before your configure step,

setenv LDFLAGS "-bind_at_load -L/usr/local/mysql/lib/mysql -lmysqlclient"
setenv CPPFLAGS "-I/usr/local/mysql/include/mysql"

And try it again.

Report this thread to moderator Post Follow-up to this message
Old Post
John N
08-25-07 12:03 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Installation archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:51 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.