Article delegate-en/1550 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A1546@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Help compile sslway errors on SuSE 7.3
11 Mar 2002 17:48:25 GMT feedback@delegate.org (Yutaka Sato)


On 03/09/02(12:19) you Rich Deeming <pbidabdyi-aipdtqykabfr.ml@ml.delegate.org> wrote
in <_A1546@delegate-en.ML_>
 |I get the following errors when compiling sslway. Any ideas what the problem 
 |is with SuSE? It compiles just ine on RH 7.1.
...
 |dmz:~/delegate7.9.1/filters # make -f Makefile.go sslway
 |cc -O   -c sslway.c
 |## SSLEAY=/usr/lib   ---- the directory of SSLeay
 |## LIBSSL=/usr/lib/libssl.a /usr/lib/libcrypto.a   ---- the SSLeay library
 |## specify proper SSLEAY and/or LIBSSL if the following failed.
 |cc -O  -L../lib -o sslway sslway.o /usr/lib/libssl.a /usr/lib/libcrypto.a 
 |-lnsl  ../lib/library.a ../lib/libsubst.a \
 |        /usr/lib/libssl.a /usr/lib/libcrypto.a -lnsl
 |/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
 |dso_dlfcn.o(.text+0xa2): undefined reference to `dlopen'

Sorry but I can't test what is wrong because I don't have SuSE but
I suppose adding "-ldl" to libraries to be referred may solve it:

  % make -f Makefile.go sslway CFLAGS=-ldl

Cheers,
Yutaka
--
  @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
 ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V