Return-Path: william@bourbon.usc.edu Delivery-Date: Sun Aug 31 18:47:45 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id m811ljUT029329 for ; Sun, 31 Aug 2008 18:47:45 -0700 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id m811tHjc003964 for ; Sun, 31 Aug 2008 18:55:17 -0700 Message-Id: <200809010155.m811tHjc003964@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: Minor warmup project #1 spec change... Date: Sun, 31 Aug 2008 18:55:17 -0700 From: Bill Cheng Someone wrote: > Do we need to add the sockets library to our LD_LIBRARY_PATH > environment variable? Not LD_LIBRARY_PATH. > All the socket functions are being seen by > the compiler as unresolved symbols > > What is the path if needed? I ported the files over from cygwin > where things build just fine. For warmup #1, you need to link to the OpenSSL library. On the OpenSSL page: http://merlot.usc.edu/cs551-f08/projects/openssl.html It says that you need to add the following commandline option during linking: -L/home/scf-22/csci551b/openssl/lib -lcrypto -lsocket Please read the *whole* OpenSSL page mentioned above carefully! -- Bill Cheng // bill.cheng@usc.edu