Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#40961 closed defect (duplicate)

ncurses: Undefined symbols ___sincos_stret

Reported by: fabiocap93@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc:
Port: ncurses

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When trying sudo port install ncurses it gets stuck here:

--->  Configuring ncurses
--->  Building ncurses
Error: org.macports.build for port ncurses returned: command execution failed
Please see the log file for port ncurses for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port ncurses failed

Log file attached

Attachments (1)

main.log (300.4 KB) - added by fabiocap93@… 11 years ago.
Log file

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by fabiocap93@…

Attachment: main.log added

Log file

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: mavericks added
Owner: changed from macports-tickets@… to jmr@…
Port: ncurses added
Summary: Can't install ncurses on OS X Mavericksncurses: Undefined symbols ___sincos_stret

The log says:

:info:build Undefined symbols for architecture x86_64:
:info:build   "___sincos_stret", referenced from:
:info:build       _main in tclock.o
:info:build ld: symbol(s) not found for architecture x86_64

This is new to me. It builds fine for me on Mavericks.

Is it possible you have an old version of Xcode or its command line tools? A developer preview perhaps? Googling this error led me to this stack overflow post which says uninstalling and reinstalling Xcode and the command line tools fixes this problem.

comment:2 Changed 11 years ago by fabiocap93@…

I have Xcode 5 and the latest command line tools...

 xcodebuild -version
Xcode 5.0
Build version 5A1413
$ clang --version
Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 11 years ago by fabiocap93@…

Ok, problem solved. IT was what you said: command line tools can no longer be updated via xcode, in Xcode 5.0. So you have to do it manually: downloading this https://developer.apple.com/downloads/index.action or via the apple software centre using xcode-select --install.
Thank you for the help.

Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 11 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

#40843

(Also note that you need Xcode 5.0.1 on Mavericks.)

comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #41006.

Note: See TracTickets for help on using tickets.