Date: Thu, 6 Feb 2003 15:27:14 +0200 From: costin <gicabulica@edison.ro> To: freebsd-java@freebsd.org Subject: Re[2]: somehow off topic: resin compile Message-ID: <1262316100.20030206152714@edison.ro> In-Reply-To: <20030206152556.A97412@phantom.cris.net> References: <77258701523.20030206142659@edison.ro> <20030206152556.A97412@phantom.cris.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1262316100.20030206152714>
