From owner-freebsd-java Thu Feb 6 5:28:30 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD50337B401 for ; Thu, 6 Feb 2003 05:28:28 -0800 (PST) Received: from mail-relay.edison.ro (62.231.66.133 [62.231.66.133]) by mx1.FreeBSD.org (Postfix) with SMTP id 55EEA43FAF for ; Thu, 6 Feb 2003 05:28:21 -0800 (PST) (envelope-from gicabulica@edison.ro) Received: (qmail 18819 invoked from network); 6 Feb 2003 13:33:44 -0000 Received: from unknown (HELO hardy) (192.168.2.159) by 192.168.4.228 with SMTP; 6 Feb 2003 13:33:44 -0000 Date: Thu, 6 Feb 2003 15:27:14 +0200 From: costin X-Mailer: The Bat! (v1.61) Reply-To: costin X-Priority: 3 (Normal) Message-ID: <1262316100.20030206152714@edison.ro> To: freebsd-java@freebsd.org Subject: Re[2]: somehow off topic: resin compile In-Reply-To: <20030206152556.A97412@phantom.cris.net> References: <77258701523.20030206142659@edison.ro> <20030206152556.A97412@phantom.cris.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks. It did work this way. And a hint for those out there trying to install resin, make a sym-link to /usr/local/jdk1.3.1/jre/lib/i386/classic to /usr/local/jdk1.3.1/jre/lib/i386/server in order to make resin run okay. AZ> Just remove '-ldl' libraries list. AZ> Linux's libdl contains dl* family functions stubs (like dlopen, dladdr, AZ> dlsym). In FreeBSD they are reside in libc. AZ> On Thu, Feb 06, 2003 at 02:26:59PM +0200, costin wrote: >> hello! >> >> This is somehow offtopic but I can get Resin to compile on my >> FreeBSD-Java box. >> I`ve downloaded the last resin server (both standalone and ee) and >> after the compile when I do make I get the following error: >> >> ############## >> >> gcc -o resin resin.o ../common/common.o std.o memory.o ssl.o -lc_r /usr/lib/libssl.a /usr/lib/libcrypto.a -ldl >> /usr/libexec/elf/ld: cannot find -ldl >> *** Error code 1 >> >> Stop in /usr/local/resin/src/c/plugin/resin. >> *** Error code 1 >> >> Stop in /usr/local/resin/src/c/plugin. >> *** Error code 1 >> >> Stop in /usr/local/resin. >> >> ############## >> >> >> It seems that the linker is looking for some kind of archive dl, here >> is a snip from ld manual: >> >> -larchive >> --library=archive >> Add archive file archive to the list of files to link. >> This option may be used any number of times. ld will >> search its path-list for occurrences of "libarchive.a" >> for every archive specified. >> >> so ld is looking for a dl.a library which I can`t find. What exactly >> do I need for it to work? >> >> -- >> >> Thanks, >> costin >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-java" in the body of the message -- costin mailto:gicabulica@edison.ro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message