Subject: Re: Compiling openssl-0.9.6e failed on pmax
To: Anton J. Gamel <gamel@anna.anatomie.uni-freiburg.de>
From: Uwe Lienig <Uwe.Lienig@fif.mw.htw-dresden.de>
List: port-pmax
Date: 08/08/2002 11:51:28
Anton,

thank you for your answer. But I can not figure out which compiler options are
to be set to make the linker happy. I read the man page to dl* funcs. The man
page says, that refs to these funcs are automagically added when a dynamic
object is to be produced. This is what the man page says

--------------------
DLFCN(3)                  NetBSD Programmer's Manual                  DLFCN(3)

NAME
     dlopen, dlclose, dlsym, dlctl, dlerror - dynamic link interface

LIBRARY
     (These functions are not in a library.  They are _included_ in every dynam-
     ically linked program _automatically_.)
--------------------

So I do think this should not be necessary to set any other options. Even the
compile line says

+ gcc _-shared_ -o libcrypto.so.300.0 -Wl,-soname=libcrypto.so.300

So, what I'm missing here.

> 
> Re Uwe,
> 
> On Thu, 8 Aug 2002, Uwe Lienig wrote:
> 
> > ... 5000/133 with NetBSD-1.5.2. ...
> > ... install cyrus-imapd. ...
> > ... This is the error I get. I suspect libcrypto.so.300.0 is not complete.
> hm ...
> > ... dlopen (and the others) may be undefined! So,
> > what should I do to get rid of this problem.
> The problem is cyrus NEEEEEDS to have shared libraries!
> (Since cyrus is used for heavy loades servers usually)
> So you have to define and set shared lib optios everywhere.
> All the functios below define opening and closing shared libs!
> This is the point where you start from. cyrus also released
> a separate cyrus-sasl crypto library. AFAIK you need this
> sasl lib to compile cyrus-imapd.
> 
> Good luck
> Yours sincerely
> 
> Anton Gamel
> 
> --
> +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= .". +
> :        Anton J. Gamel         : <gamel@anna.anatomie.uni-freiburg.de>  V  :
> :  an Apollo & a VAX for a Vet  : <gamel@ruf.uni-freiburg.de>          (,,) :
> +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=---""--+

Thanks again.

-- 
Uwe Lienig  | fon: (+49 351) 462 2780 | mailto:uwe.lienig@fif.mw.htw-dresden.de
            | fax: (+49 351) 462 3476 | http://www.fif.mw.htw-dresden.de
HTW Dresden | parcels: Gutzkowstr. 22 | letters: PF 12 07 01       
   -FiF-    |          01069 Dresden  |          01008 Dresden