Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

2.10 compile error on OS X 10.8.2

24 views
Skip to first unread message

mark.se...@gmail.com

unread,
Feb 27, 2013, 2:50:59 AM2/27/13
to
(Sort of) first-time (Al)pine user here. (I tried to use Alpine when I was younger but never used it after.) I seem to be having some trouble with compiling 2.10 under OS X 10.8.2:

Undefined symbols for architecture x86_64:
"_sk_OPENSSL_STRING_num", referenced from:
_get_x509_subject_email in libpith.a(smkeys.o)
"_sk_OPENSSL_STRING_value", referenced from:
_get_x509_subject_email in libpith.a(smkeys.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[4]: *** [alpine] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

From what I gather, it's a problem that is related with openSSL. When I use the `file` command on the openssl binary, it says that it has both i386 (x86) and x86_64 architectures. Do I need to install a newer version of openSSL? I use Homebrew.

Thanks.

--
Mark Seymour

Lucas Levrel

unread,
Feb 27, 2013, 5:07:12 AM2/27/13
to
Le 26 fᅵvrier 2013, mark.se...@gmail.com a ᅵcrit :

> Undefined symbols for architecture x86_64:
> "_sk_OPENSSL_STRING_num", referenced from:
> _get_x509_subject_email in libpith.a(smkeys.o)
> "_sk_OPENSSL_STRING_value", referenced from:
> _get_x509_subject_email in libpith.a(smkeys.o)
> ld: symbol(s) not found for architecture x86_64
> collect2: ld returned 1 exit status
> make[4]: *** [alpine] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

:-D Look at the thread I started a few days ago: exactly the same errors.

> From what I gather, it's a problem that is related with openSSL. When I
> use the `file` command on the openssl binary, it says that it has both
> i386 (x86) and x86_64 architectures. Do I need to install a newer
> version of openSSL? I use Homebrew.

I think you need a newer version of *development files* (ssl.h in
particular). Update the relevant package to v1.0.0 . That's what solved
the problem in my case.


--
LL
0 new messages