Opened 9 years ago

Closed 9 years ago

#33177 closed defect (invalid)

openssl: error: ‘Dl_info’ undeclared (first use in this function)

Reported by: rios.andy@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign (Ryan Schmidt)
Port: openssl

Description

Saw another bug for OpenSSL compile, but I was just trying to do port install openssl because I know it was a depend and it had failed before, and I am getting a failure on a different stage of the compile with the DSO directory, and the specific file being dso_dlfcn.c and the error relating to line 446 on that file. I tried looking into that file to see what the issue was and it seems that the code above that is not executed on MAC because it is wrapped in an *sgi* tag is needed for this file to compile clean.

Attachments (1)

main.3.log (97.6 KB) - added by rios.andy@… 9 years ago.
Open SSL fail compile with error on dso/dso_dlfcn.c

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by rios.andy@…

Attachment: main.3.log added

Open SSL fail compile with error on dso/dso_dlfcn.c

comment:1 Changed 9 years ago by rios.andy@…

I was using a clean compile of the 2.0.99 build future build of MacPorts.

comment:2 Changed 9 years ago by ryandesign (Ryan Schmidt)

Milestone: MacPorts Future
Owner: changed from macports-tickets@… to mww@…
Port: openssl added
Summary: Crypto DSO failing to compile on OpenSSL 1.0.0gopenssl: error: ‘Dl_info’ undeclared (first use in this function)

comment:3 Changed 9 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Resolution: invalid
Status: newclosed

This error means you have the file /usr/local/include/dlfcn.h on your system. Remove it; it is ancient and incompatible with your operating system. See this explanation from the Fink project.

Note: See TracTickets for help on using tickets.