Changes between Initial Version and Version 1 of Ticket #31524


Ignore:
Timestamp:
Oct 7, 2011, 8:19:09 AM (13 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Please remember to use WikiFormatting, to fill in the Port field, and to Cc the maintainer of that port.

In the log I see:

Undefined symbols for architecture x86_64:
  "_ldif_back_initialize", referenced from:
      _slap_binfo in backends.o
  "_monitor_back_initialize", referenced from:
      _slap_binfo in backends.o
  "_hdb_back_initialize", referenced from:
      _slap_binfo in backends.o
  "_relay_back_initialize", referenced from:
      _slap_binfo in backends.o
ld: symbol(s) not found for architecture x86_64

I also see you're building with clang, which presumably means you have a pre-release of Xcode 4.2. Try building with llvm-gcc-4.2 instead:

sudo port clean openldap
sudo port install openldap configure.compiler=llvm-gcc-4.2

If that works we can fix the port to always do that.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31524

    • Property Owner changed from macports-tickets@… to landonf@…
    • Property Cc ryandesign@… added
    • Property Summary changed from Failed to install openldap. to openldap: Undefined symbols for architecture x86_64: _ldif_back_initialize _monitor_back_initialize _hdb_back_initialize _relay_back_initialize
    • Property Port openldap added
  • Ticket #31524 – Description

    initial v1  
    11When I make the develop environment to build Android source tree, I ran the below command.
    22[I installed MacPort 2.0.3]
     3{{{
    34$POSIXLY_CORRECT=1 sudo port install gmake libsdl git-core gnup
     5}}}
    46
    57After that I got the below thing on my terminal.
     8{{{
    69$ POSIXLY_CORRECT=1 sudo port install gmake libsdl git-core gnupg
    710Password:
     
    2124Error: Status 1 encountered during processing.
    2225To report a bug, see <http://guide.macports.org/#project.tickets>
    23 
     26}}}