[MacPorts] #31524: openldap: Undefined symbols for architecture x86_64: _ldif_back_initialize _monitor_back_initialize _hdb_back_initialize _relay_back_initialize (was: Failed to install openldap.)
MacPorts
noreply at macports.org
Fri Oct 7 01:19:09 PDT 2011
#31524: openldap: Undefined symbols for architecture x86_64: _ldif_back_initialize
_monitor_back_initialize _hdb_back_initialize _relay_back_initialize
--------------------------------+-------------------------------------------
Reporter: wolfoppa@… | Owner: landonf@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: openldap
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => landonf@…
* cc: ryandesign@… (added)
* port: => openldap
Old description:
> When I make the develop environment to build Android source tree, I ran
> the below command.
> [I installed MacPort 2.0.3]
> $POSIXLY_CORRECT=1 sudo port install gmake libsdl git-core gnup
>
> After that I got the below thing on my terminal.
> $ POSIXLY_CORRECT=1 sudo port install gmake libsdl git-core gnupg
> Password:
> ---> Computing dependencies for gmake
> ---> Cleaning gmake
> ---> Computing dependencies for libsdl
> ---> Cleaning libsdl
> ---> Computing dependencies for git-core
> ---> Cleaning git-core
> ---> Computing dependencies for gnupg
> ---> Dependencies to be installed: openldap
> ---> Building openldap
> Error: Target org.macports.build returned: shell command failed (see log
> for details)
> Error: Failed to install openldap
> Log for openldap is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_openldap/openldap/main.log
> Error: The following dependencies were not installed: openldap
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>
New description:
When I make the develop environment to build Android source tree, I ran
the below command.
[I installed MacPort 2.0.3]
{{{
$POSIXLY_CORRECT=1 sudo port install gmake libsdl git-core gnup
}}}
After that I got the below thing on my terminal.
{{{
$ POSIXLY_CORRECT=1 sudo port install gmake libsdl git-core gnupg
Password:
---> Computing dependencies for gmake
---> Cleaning gmake
---> Computing dependencies for libsdl
---> Cleaning libsdl
---> Computing dependencies for git-core
---> Cleaning git-core
---> Computing dependencies for gnupg
---> Dependencies to be installed: openldap
---> Building openldap
Error: Target org.macports.build returned: shell command failed (see log
for details)
Error: Failed to install openldap
Log for openldap is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_openldap/openldap/main.log
Error: The following dependencies were not installed: openldap
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
}}}
--
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.
--
Ticket URL: <https://trac.macports.org/ticket/31524#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list