ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  PHP 4.3 and Mac OS X
Subject:   CURL version stops installl
Date:   2003-01-24 14:45:49
From:   trachtenberga
Response to: CURL version stops installl

Yes. First, the decision to use --with-curl=/sw is the correct one. Since fink doesn't delete files, the (old) Apple installed curl in /usr/bin still lives on your machine and the PHP configuration program is picking it up instead of the (new) fink version. (The configuration process and $PATH are independent of each other.)


So, you need to manually add the /sw directory to point PHP and cURL 7.10. Once I did that, I got an error that essentially boiled down to "can't locate file for: -ldl" I did some poking around and the short answer is: I didn't have a necessary library installed.


Using fink to install "dlcompat-dev" fixed the problem. (I already had dlcompat and dlcompat-shlibs installed.) Once I did that, PHP compiled with cURL just fine. (Well, it did give a warning about /lib not being found, but that's harmless.)


Let me know if this fixes your problem or if you're still stuck.


1 to 1 of 1
  1. CURL version stops installl
    2003-01-31 07:48:29  mcollins@kuwago.com [View]

    • CURL version stops install
      2003-02-28 19:29:40  tychay [View]

1 to 1 of 1