#51746: libedit @3.1: Undefined symbols _libedit_getline -------------------------+------------------------ Reporter: liuhj.86@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: leopard Port: libedit | -------------------------+------------------------ Comment (by kenneth.f.cunningham@…): Getline appears to be unavailable until 10.7 or later. I ran into a similar error with a different port using PPC on MacOSX 10.4 and fixed it successfully using the information here: <http://forums.macrumors.com/threads/unable-to-compile-c-program-with- getline-using-gcc.1308709/>, which sends you ultimately here < http://opensource.apple.com//source/cvs/cvs-42/cvs/lib/> for the missing functions. There are two files, getline.c and getdelim.c, and their headers in that directory, that provide the missing functions. You could try to modify history.c, historyn.c, and probably el.c to add in those functions, and see where that takes you. Good luck! -- Ticket URL: <https://trac.macports.org/ticket/51746#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X