On Sun, Jan 07, 2001 at 07:14:33PM -0800, George Walsh wrote:
> Because SCO has not bothered to include /dev/random or /dev/urandom
> functionality in their o/s, I have to port prngd for use in a build of apache
> with openssl and mod_ssl and as suggested in the mod_ssl FAQ.
>
> Problem? I can configure the system and compile prngd okay, but I have a
> problem with finding the required cc options for dynamic linking.
>
> The Solaris solution, -Wall, is not recognized. The error message with just a
> simple -O option reads:
>
> dynamic linker: /usr/local/sbin/prngd: binder error: symbol not found:
> socket;
> referenced from: /usr/local/sbin/prngd
> Killed
>
> This is way beyond my area of expertise. Has anyone been down this path before
> me who might be willing to help out?
As Parad Warudka already pointed out, you are missing a library, probably
-lsocket.
I have just checked out OpenSSH, for several SCO versions the linker line
looks like this:
LIBS="$LIBS -lgen -lsocket -lprot -lx"
so -lsocket is a quite good guess :-)
I only have HP-UX and Linux available, so I cannot test this myself.
Actually, I am working on an "autoconf" based configuration for PRNGD,
but it may take some more days before I can release it and it will probably
also take some tests on platforms I don't have before it will become
mature :-)
BTW -Wall is the GNU-C option for "Warnings: all", it would not help at all.
Best regards,
Lutz
PS. If you finally succeed, please send me your configuration for inclusion
into future versions.
--
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]