Problems installing JDK1.6 on FreeBSD 7.0R

Philip Plant freebsd-ports at greenfinch.com
Sat May 17 10:51:32 UTC 2008


Hi guys,

Thank you for your help with this.

On Sat, May 17, 2008 at 03:00:21AM +0530, Ashish Shukla wrote:
> >>>>> Philip Plant writes:
> 
>     Philip> /libexec/ld-elf.so.1: /usr/local/lib/compat/libpthread.so.2: Undefined 
>     Philip> symbol "__malloc_lock"
> 
> Can you paste the output 'ldd /usr/local/lib/compat/libpthread.so.2' ?
> And see what shared object it is missing.

I just get:

# ldd /usr/local/lib/compat/libpthread.so.2
/usr/local/lib/compat/libpthread.so.2:

As you can see, I'm using the compat6x package so I can run Java on 
7.0R, and I believe that's what causes the previous output while 
installing the JDK:

# java
/libexec/ld-elf.so.1: /usr/local/lib/compat/libpthread.so.2: Undefined 
symbol "__malloc_lock"

# pkg_info | grep compat6
compat6x-i386-6.3.602114.200711 A convenience package to install the 
compat6x libraries

I'm wondering if there's a problem with the compat6 libraries, what do 
you think?

Many thanks,

Philip.


More information about the freebsd-ports mailing list