Opened 11 years ago
Closed 11 years ago
#39407 closed defect (invalid)
virtualbox not building: libcrypto not found
Reported by: | mail@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ||
Port: | virtualbox |
Description
Hi everyone,
virtualbox refuses to build due to a missing libcrypto on my mountain lion machines:
:info:configure Checking for libIDL: found version 0.8.14, OK. :info:configure Checking for ssl: :info:configure libcrypto not found at -I/opt/local/include /opt/local/lib/libcrypto.dylib /opt/local/lib/libssl.dylib or openssl headers not found
All dependencies mentioned in 'port info virtualbox' are installed.
I also tried installing without the variants (+vnc, +vde2) but I get the same error. I also installed libcryptopp, but still the same error.
I opened a new port, as #35808 is about an older version of virtualbox.
Thanks in advance, Johannes
Attachments (1)
Change History (6)
comment:1 Changed 11 years ago by mail@…
Cc: | mail@… added |
---|
Changed 11 years ago by mail@…
Attachment: | MACPORTS_VIRTUALBOX_main.log added |
---|
comment:2 follow-up: 3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
The log confirms you are using OS X 10.8 Mountain Lion, but then it says that you're compiling using "Mac OS X gcc 4.2". The compiler you should be getting is "MacPorts Apple GCC 4.2". No version of Xcode for Mountain Lion includes any version of gcc, so there must be something wrong with your Xcode install. Please uninstall Xcode, including running the Xcode uninstall script per the Xcode readme PDF, and manually deleting anything that might remain in/Developer. Then reinstall the latest Xcode from the Mac App Store or Apple Developer Connection. Then clean virtualbox and try again.
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign@…:
Then reinstall the latest Xcode from the Mac App Store or Apple Developer Connection.
...remembering after doing so to install the command line tools by opening Xcode.app and going to the Preferences window's Downloads section.
comment:4 Changed 11 years ago by mail@…
I could solve the issue by deleting the directory /Developer, which seems to be left over from an older installation of Xcode. The new one, installed via Mac App Store, resides in /Applications/Xcode.app.
After deleting the directory I could install virtualbox without any errors. Strange.
Thanks a lot for your help, I would never have guessed that could be the problem.
comment:5 Changed 11 years ago by mf2k (Frank Schima)
Cc: | mail@… removed |
---|---|
Keywords: | virtualbox libcrypto removed |
Resolution: | → invalid |
Status: | new → closed |
Cc Me!