make a new libdl.so.2 for cgoban2 ?

2005-09-21 Thread Jean-Jacques Dhenin
Thanks again for your time and your help. 

I moved /usr/local/lib/libdl.so to /usr/local/lib/libdl.so.old
because /usr/local/lib/libdl.so is a symbolic link to /usr/local/lib/libdl.so.2
and then, cgoban2 get /usr/libexec/ld-elf.so.1: /usr/local/lib/libdl.so.2: 
Undefined symbol _libc_intl_domainname. 

Now, I move /usr/local/lib/libdl.so.2 to /usr/local/lib/libdl.so.2.old
and then cgoban2 get 
/usr/libexec/ld-elf.so.1: Shared object libdl.so.2 not found, \
 required by Kaffe
Well. $ pkg_info | grep -i Kaffe
  kaffe-1.1.5 

I am not able to do portupgrade -f kaffe because it stop on error : 
Error: no-switchcheck is not a recognized flag for controlling pedantic 
warnings.
Error: no-shadow is not a recognized flag for controlling pedantic warnings.
use: jikes [options] [EMAIL PROTECTED] file.java...

Also I try pkg_add -r kaffe, but no libdl.so are put in /usr/local/lib/

Any other idea ? 

Bien cordialement. 

According to Kris Kennaway:
   pkg_which /usr/local/lib/libdl.so.2 say ? 
 That means it's not claimed by any port, and you can try just removing
 it (or safer: put it somewhere where rtld won't look for it) and
 rebuild.
 
 Perhaps you compiled something by hand that installed the libdl -
 that's a standard library on other platforms (e.g. solaris, I think),
 and so many configure scripts will look for it and assume it should be
 linked if found.  This is wrong on FreeBSD.
 
 Kris
 
  According to Kris Kennaway:
When I try cgoban2 on FreeBSD ... 4.11-STABLE, I get 

/usr/libexec/ld-elf.so.1: /usr/local/lib/libdl.so.2: Undefined symbol 
_libc_intl_domainname

I have not found anything about the origine of libdl.so.2. 

New kernel, new buildworld, portupdate -Rrf cgoban2 and portmanager, 
without succes.

-- 
(°   Dhénin Jean-Jacques
/ )   [EMAIL PROTECTED]
^^
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make a new libdl.so.2 for cgoban2 ?

2005-09-21 Thread Kris Kennaway
On Wed, Sep 21, 2005 at 08:31:14PM +0200, Jean-Jacques Dhenin wrote:
 Thanks again for your time and your help. 
 
 I moved /usr/local/lib/libdl.so to /usr/local/lib/libdl.so.old
 because /usr/local/lib/libdl.so is a symbolic link to 
 /usr/local/lib/libdl.so.2
 and then, cgoban2 get /usr/libexec/ld-elf.so.1: /usr/local/lib/libdl.so.2: 
 Undefined symbol _libc_intl_domainname. 
 
 Now, I move /usr/local/lib/libdl.so.2 to /usr/local/lib/libdl.so.2.old
 and then cgoban2 get 
 /usr/libexec/ld-elf.so.1: Shared object libdl.so.2 not found, \
  required by Kaffe
 Well. $ pkg_info | grep -i Kaffe
   kaffe-1.1.5 
 
 I am not able to do portupgrade -f kaffe because it stop on error : 
 Error: no-switchcheck is not a recognized flag for controlling pedantic 
 warnings.
 Error: no-shadow is not a recognized flag for controlling pedantic warnings.
 use: jikes [options] [EMAIL PROTECTED] file.java...

Talk to the maintainer.

 Also I try pkg_add -r kaffe, but no libdl.so are put in /usr/local/lib/

As I said, libdl is not used on FreeBSD.  Stop expecting it to exist.

Does kaffe not work when you install the package?  If so, you probably
need to first upgrade something else.  Try using portupgrade with the
-PP switches (see the manpage).

Kris



pgpZSeq8qkeH4.pgp
Description: PGP signature