Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2003 14:26:59 +0200
From:      costin <gicabulica@edison.ro>
To:        freebsd-java@freebsd.org
Subject:   somehow off topic: resin compile
Message-ID:  <77258701523.20030206142659@edison.ro>

next in thread | raw e-mail | index | archive | help
  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77258701523.20030206142659>