MacPorts 1.4 rc2

Paul Guyot pguyot at kallisys.net
Thu Mar 15 03:03:37 PDT 2007


> prunille:~> 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
> /usr/lib/libreadline.dylib
>
> But only /opt/local/lib/libreadline.dylib and /usr/lib/ 
> libreadline.dylib
> should be available.

configure (normally?) doesn't look into /opt/local.
And the linker didn't use /opt/local/lib, to quote your log excerpt:
> 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

What does "locate readline.h" print out?

Paul



More information about the macports-dev mailing list