Article delegate-en/4530 of [1-5107] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:]  
Re: OpenBSD 4.5 Compilation Issue
Sat, 08 Aug 2009     Yutaka Sato

Hi,

In message  on 08/08/09(01:18:55)
you Gavin Norman wrote:
 |I'm receiving this issue when I attempt to compile delegate 9.9.4 on 
 |OpenBSD 4.5:
 |
 |./dg.exe:/usr/lib/libssl.so.14.0: undefined symbol 'X509_EXTENSION_free'
 |./dg.exe:/usr/lib/libssl.so.14.0: undefined symbol 'X509_free'
 |./dg.exe:/usr/lib/libssl.so.14.0: undefined symbol 'OCSP_RESPID_free'
 |./dg.exe:/usr/lib/libssl.so.14.0: undefined symbol 'i2d_DHparams'
 |./dg.exe:/usr/lib/libssl.so.14.0: undefined symbol 'd2i_DHparams'
 |./dg.exe:/usr/lib/libssl.so.14.0: undefined symbol 'X509_NAME_free'
 |-- ERROR: can't link the SSL/Crypto library.
 |
 |I have -lssl -lcrypto as the LDFLAGS.

Maybe you will be able to escape the problem by a workaround modifying
the definition at "filters/dl.c:36" as follows:

< #define RTLD_NOW 1
> #define RTLD_NOW 0x101

I'll try to fix it so that it will not affect the behavior on other
platforms in the next release.

Cheers,
Yutaka
--
  9 9   Yutaka Sato http://delegate.org/y.sato/
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller
  search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V