From owner-freebsd-java Thu Feb 6 4:28:11 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 1FE0F37B425 for ; Thu, 6 Feb 2003 04:28:06 -0800 (PST) Received: from mail-relay.edison.ro (62.231.66.133 [62.231.66.133]) by mx1.FreeBSD.org (Postfix) with SMTP id 5A4B843FAF for ; Thu, 6 Feb 2003 04:28:04 -0800 (PST) (envelope-from gicabulica@edison.ro) Received: (qmail 14536 invoked from network); 6 Feb 2003 12:33:27 -0000 Received: from unknown (HELO hardy) (192.168.2.159) by 192.168.4.228 with SMTP; 6 Feb 2003 12:33:27 -0000 Date: Thu, 6 Feb 2003 14:26:59 +0200 From: costin X-Mailer: The Bat! (v1.61) Reply-To: costin X-Priority: 3 (Normal) Message-ID: <77258701523.20030206142659@edison.ro> To: freebsd-java@freebsd.org Subject: somehow off topic: resin compile 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 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