libthread not found

2009-03-10 Thread m.borsatino
Good idea, thank you.
Everything is ok now.
Marco
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


libpthread not found

2009-03-01 Thread m.borsatino
amm ... when I change the 'candidate' something strange begins to happen: bash 
doesn't work anymore, saying that it does not find the library. this happens as 
soon as I do the change, showing what you've explained to me.

Marco

> thanks ... but ... how?
> now I don't get the first message; but the second tells me that a library
> is missing, but it is present. anyway I' prepared a very simple
> /etc/libmap.conf like this:
> 
> # /etc/libmap.conf
> #
> # candidate mapping
> #
> libc.so.6 /usr/compat/linux/lib/libc.so.6

Change to:

libc.so.6   libc.so.7
 
> but clearly this is not enough. should I restart the system or use a
> program to make the change accepted?
> 

No need, it is picked up the next time the libmap.conf file is parsed.

What is occurring is the java binary was built against libc.so.6, which is 
what you would find on a FreeBSD 6.x box. 

-Mike



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


libpthread not found

2009-03-01 Thread m.borsatino
thanks ... but ... how?
now I don't get the first message; but the second tells me that a library is 
missing, but it is present.
anyway I' prepared a very simple /etc/libmap.conf like this:

# /etc/libmap.conf
#
# candidate mapping
#
libc.so.6   /usr/compat/linux/lib/libc.so.6

but clearly this is not enough. should I restart the system or use a program to 
make the change accepted?

Marco

-Messaggio originale-
Da: Aryeh M. Friedman [mailto:aryeh.fried...@gmail.com]
Inviato: dom 01/03/2009 11.02
A: m.borsat...@alice.it
Cc: freebsd-questions@freebsd.org
Oggetto: Re: libpthread not found
 
m.borsat...@alice.it wrote:
> Hi.
> I've installed netbeans from ports without error messages. when I started the 
> program I got an error like this: "libpthread.so.2 needed by java not found". 
> I've verified that there is a libpthread.so.20 in /usr/local/lib/pth. I've 
> done a rough attempt making a soft link; after that I've restarted netbeans; 
> now the error message is: "/libexec/ld-elf.so.1: Shared object "libc.so.6" 
> not found, required by "java", also present but with version libc.so.7.
> the same think happen with netbeans 6.1 and with netbeans 6.4 either 
> installed from ports or packages and also using a binaries. 
> have I done a mistake? how can I fix it?
> thanks for any idea.
> Marco.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
>   
You may want to look at libmap.conf(5)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


libpthread not found

2009-03-01 Thread m.borsatino
Hi.
I've installed netbeans from ports without error messages. when I started the 
program I got an error like this: "libpthread.so.2 needed by java not found". 
I've verified that there is a libpthread.so.20 in /usr/local/lib/pth. I've done 
a rough attempt making a soft link; after that I've restarted netbeans; now the 
error message is: "/libexec/ld-elf.so.1: Shared object "libc.so.6" not found, 
required by "java", also present but with version libc.so.7.
the same think happen with netbeans 6.1 and with netbeans 6.4 either installed 
from ports or packages and also using a binaries. 
have I done a mistake? how can I fix it?
thanks for any idea.
Marco.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"