MacPorts v1.4.0 release announcement

Daniel J. Luke dluke at geeklair.net
Thu Apr 5 13:49:38 PDT 2007


On Apr 5, 2007, at 4:46 PM, Vincent Lefevre wrote:
> There's still a bug when I try to build it:
>
> cc -dynamiclib -L/usr/local/lib  -L/usr/lib -lcurl -lssl -lcrypto - 
> lz Pextlib.o strsed.o fgetln.o md5cmd.o setmode.o xinstall.o find.o  
> strcasecmp.o vercomp.o filemap.o sha1cmd.o compat.o curl.o  
> rmd160cmd.o readline.o uid.o -o Pextlib.dylib -L/System/Library/ 
> Frameworks/Tcl.framework/Versions/8.4 -ltclstub8.4 -L/usr/local/ 
> lib  -L/usr/lib -lcurl -lssl -lcrypto -lz -lreadline  -lcrypto
> ld: warning -L: directory name (/usr/local/lib) does not exist
> ld: warning -L: directory name (/usr/local/lib) does not exist
> ld: Undefined symbols:
> _rl_completion_matches
> _rl_filename_completion_function
> _rl_username_completion_function
> /usr/bin/libtool: internal link edit command failed
>
> $ locate libreadline.dylib
> /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libreadline.dylib
> /opt/local/lib/libreadline.dylib
> /opt/local/var/db/dports/build/ 
> _Users_vinc17_software_darwinports_dports_devel_readline/work/ 
> destroot/opt/local/lib/libreadline.dylib
> /opt/local/var/db/dports/software/readline/5.1.004_0/opt/local/lib/ 
> libreadline.dylib
> /opt/local/var/db/dports/software/readline/5.2.001_0/opt/local/lib/ 
> libreadline.dylib
> /usr/lib/libreadline.dylib

The problem IIRC has to do with mismatched headers and library.

So you'll want to do

locate readline.h

and see if there's a stray one (in /usr/local/include, probably)  
that's causing the build to choke.
--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20070405/40957a14/PGP.bin


More information about the macports-users mailing list