Hi, I just installed Macport and when I tried to use it I got the error: jing-tangs-computer:/developer/cairo-1.4.10 Jing$ sudo port install cairo Library not loaded: /usr/lib/libcurl.4.dylib Referenced from: /opt/local/share/macports/Tcl/pextlib1.0/ Pextlib.dylib Reason: image not found while executing "load /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib" ("package ifneeded" script) invoked from within "package_native require Pextlib 1.0" ("eval" body line 1) invoked from within "eval package_native $args" (procedure "package" line 14) invoked from within "package require Pextlib 1.0" (procedure "mportinit" line 365) invoked from within "mportinit ui_options global_options global_variations" Error: /opt/local/bin/port: Failed to initialize ports system, Library not loaded: /usr/lib/libcurl.4.dylib Referenced from: /opt/local/share/macports/Tcl/pextlib1.0/ Pextlib.dylib Reason: image not found Could anyone please give me some idea what's going wrong here? Thanks very much in advance!!! Jing Jing Tang School of Computer Science University of Birmingham Mobile: 07872645655 E-mail: jing.t86@gmail.com
On Nov 4, 2007, at 11:40, Jing Tang wrote:
I just installed Macport and when I tried to use it I got the error:
jing-tangs-computer:/developer/cairo-1.4.10 Jing$ sudo port install cairo Library not loaded: /usr/lib/libcurl.4.dylib Referenced from: /opt/local/share/macports/Tcl/pextlib1.0/ Pextlib.dylib Reason: image not found while executing "load /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib" ("package ifneeded" script) invoked from within "package_native require Pextlib 1.0" ("eval" body line 1) invoked from within "eval package_native $args" (procedure "package" line 14) invoked from within "package require Pextlib 1.0" (procedure "mportinit" line 365) invoked from within "mportinit ui_options global_options global_variations" Error: /opt/local/bin/port: Failed to initialize ports system, Library not loaded: /usr/lib/libcurl.4.dylib Referenced from: /opt/local/share/macports/Tcl/pextlib1.0/ Pextlib.dylib Reason: image not found
Could anyone please give me some idea what's going wrong here? Thanks very much in advance!!!
That's exactly what I get, if I install MacPorts 1.5.0 from the disk image designed for Mac OS X 10.5, but I in fact have Mac OS X 10.4. So, you should download the MacPorts 1.5.0 disk image designed for your OS. If you have Mac OS X 10.4, use this: http://svn.macosforge.org/repository/macports/downloads/ MacPorts-1.5.0/MacPorts-1.5.0-10.4.dmg If you have Mac OS X 10.3, use this: http://svn.macosforge.org/repository/macports/downloads/ MacPorts-1.5.0/MacPorts-1.5.0-10.3.dmg We should fix our installer to only allow installation if the OS version matches the version for which the disk image is intended. I have filed the following ticket for this: http://trac.macports.org/projects/macports/ticket/13141
participants (2)
-
Jing Tang
-
Ryan Schmidt