Opened 13 years ago

Closed 13 years ago

#29600 closed defect (duplicate)

openssl openssl-1.0.0d compile fails on undeclared identifier

Reported by: jason@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: openssl

Description (last modified by mf2k (Frank Schima))

OS X 10.6.7 xcode 4.0.1

New version of MacPorts installed from MacPorts-1.9.2.pkg installer.

I invoked port install mysql5-server, which tries to install the openssl dependency, which fails. Invoking port -d install openssl gives the following:

...
/usr/bin/gcc-4.2 -I.. -I../.. -I../asn1 -I../evp -I../../include  -fPIC -fno-common -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch x86_64 -O3 -DL_ENDIAN -DMD32_REG_T=int -Wall   -c -o dso_dlfcn.o dso_dlfcn.c
dso_dlfcn.c: In function 'dlfcn_pathbyaddr':
dso_dlfcn.c:445: error: 'Dl_info' undeclared (first use in this function)
dso_dlfcn.c:445: error: (Each undeclared identifier is reported only once
dso_dlfcn.c:445: error: for each function it appears in.)
dso_dlfcn.c:445: error: expected ';' before 'dli'
dso_dlfcn.c:455: warning: implicit declaration of function 'dladdr'
dso_dlfcn.c:455: error: 'dli' undeclared (first use in this function)
make[2]: *** [dso_dlfcn.o] Error 1
make[1]: *** [subdirs] Error 1
make: *** [build_crypto] Error 1
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/work/openssl-1.0.0d" && /usr/bin/make all " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
DEBUG: Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for openssl): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for openssl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (2)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: compile fail openssl removed
Owner: changed from macports-tickets@… to mww@…

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.