[MacPorts] #18448: pcre: can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libncurses.5.dylib
MacPorts
noreply at macports.org
Tue Feb 10 17:26:52 PST 2009
#18448: pcre: can't open dynamic library:
/Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libncurses.5.dylib
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: nox@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: pcre
-------------------------------------+--------------------------------------
pcre @7.8_1 has a little problem building universal (on 10.4 Intel,
anyway):
{{{
$ sudo port install pcre +universal
---> Fetching pcre
---> Verifying checksum(s) for pcre
---> Extracting pcre
---> Configuring pcre
---> Building pcre
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_pcre/work/pcre-7.8"
&& nice -n 10 make -j3 all " returned error 2
Command output: /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning
multiple definitions of symbol _regexec
./.libs/libpcreposix.dylib(single
_tgetent
_tgetflag
_tgetnum
_tgetstrmodule) definition of _regexec
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/
../../../libSystem.dylib(regexec.So) definition of _regexec
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning multiple definitions
of symbol _regfree
./.libs/libpcreposix.dylib(single module) definition of _regfree
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-
darwin8/4.0.1_tputs/
../../../libSystem.dylib(regfree.So) definition of _regfree
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_tgetent referenced from libreadline expected to be _tgotodefined in
/opt/local/lib/libncurses.5.dylib
_tgetflag referenced from libreadline expected to be defined in /opt
/local/lib/libncurses.5.dylib
_tgetnum referenced from libreadline expected to be defined in
/opt/local/lib/libncurses.5.dylib
_tgetstr referenced from libreadline expected collect2: ld returned 1 exit
statusto be defined in /opt/local/lib/libncurses.5.dylib
_tputs referenced from libreadline expected to be defined in /opt/local
/lib/libncurses.5.dylib
_tgoto referenced from libreadline expected to be defined in
/opt/local/lib/libncurses.5.dylib
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cceCcTpj.out (No such file or
directory)
make[1]: *** [pcretest] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/bin/gcc-4.0 -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386
-arch ppc -arch x86_64 -arch ppc64 -arch i386 -arch ppc -arch x86_64 -arch
ppc64 -o .libs/pcregrep pcregrep.o -L/opt/local/lib
./.libs/libpcreposix.dylib
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_pcre/work/pcre-7.8/.libs/libpcre.dylib
-lreadline
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: for architecture i386
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning can't open dynamic
library: /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libncurses.5.dylib
referenced from: /opt/local/lib/libreadline.dylib (checking for undefined
symbols may be affected) (No such file or directory, errno = 2)
creating pcregrep
make: *** [all] Error 2
Error: Status 1 encountered during processing.
$
}}}
I've seen this "can't open dynamic library:
/Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib" business before and it
probably just needs "-lncurses" added to the LDFLAGS somewhere.
--
Ticket URL: <http://trac.macports.org/ticket/18448>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list