Opened 14 years ago

Closed 14 years ago

#28871 closed defect (duplicate)

openssl @1.0.0d build failure - "'Dl_info' undeclared"

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

Description

I am trying to install Ruby via macports on Mac OSX 10.4.11 with Xcode 2.5 All goes well until it needs to build openssl.

This is what the terminal says:

LaptopJFTBC:~ joost$ sudo port install ruby
--->  Computing dependencies for ruby
--->  Dependencies to be installed: openssl readline
--->  Building openssl
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install openssl
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: The following dependencies were not installed: openssl readline
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Please forgive any ignorance on my side, due to being a noob at this...

Attachments (1)

main.log (5.0 KB) - added by jf@… 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by jf@…

Attachment: main.log added

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to mww@…
Port: openssl added
Summary: installing ruby fails on building opensslopenssl @1.0.0d build failure - "'Dl_info' undeclared"

Please remember to fill in the Port field and cc the maintainer.

comment:2 Changed 14 years ago by rios.andy@…

Here is my main.log:

version:1
:msg:main --->  Computing dependencies for openssl:info:main .:debug:main Searching for dependency: zlib
:debug:main Found Dependency: receipt exists for zlib
:msg:main 
:debug:main Executing org.macports.main (openssl)
:debug:main Skipping completed org.macports.fetch (openssl)
:debug:main Skipping completed org.macports.checksum (openssl)
:debug:main Skipping completed org.macports.extract (openssl)
:debug:main Skipping completed org.macports.patch (openssl)
:debug:main Skipping completed org.macports.configure (openssl)
:msg:main --->  Building openssl
:debug:build build phase started at Wed Mar 30 19:30:18 EDT 2011
:debug:build Executing org.macports.build (openssl)
:info:build --->  Building openssl for architecture x86_64
:debug:build port disallows a parallel build
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/work/openssl-1.0.0d-x86_64" && /usr/bin/make all'
:info:build making all in crypto...
:info:build making all in crypto/objects...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/md4...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/md5...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/sha...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/mdc2...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/hmac...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/ripemd...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/whrlpool...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/des...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/aes...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/rc2...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/rc4...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/idea...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/bf...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/cast...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/camellia...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/seed...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/modes...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/bn...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/ec...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/rsa...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/dsa...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/ecdsa...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/dh...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/ecdh...
:info:build make[2]: Nothing to be done for `all'.
:info:build making all in crypto/dso...
:info:build /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
:info:build dso_dlfcn.c: In function 'dlfcn_pathbyaddr':
:info:build dso_dlfcn.c:445: error: 'Dl_info' undeclared (first use in this function)
:info:build dso_dlfcn.c:445: error: (Each undeclared identifier is reported only once
:info:build dso_dlfcn.c:445: error: for each function it appears in.)
:info:build dso_dlfcn.c:445: error: expected ';' before 'dli'
:info:build dso_dlfcn.c:455: warning: implicit declaration of function 'dladdr'
:info:build dso_dlfcn.c:455: error: 'dli' undeclared (first use in this function)
:info:build make[2]: *** [dso_dlfcn.o] Error 1
:info:build make[1]: *** [subdirs] Error 1
:info:build make: *** [build_crypto] Error 1
:info:build 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-x86_64" && /usr/bin/make all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:build Warning: the following items did not execute (for openssl): org.macports.destroot org.macports.build
:notice:build Log for openssl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/main.log

comment:3 Changed 14 years ago by jmroot (Joshua Root)

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