problem building openjdk on macos 10.5.5
Kelly O'Hair
Kelly.Ohair at Sun.COM
Wed Dec 10 17:26:03 PST 2008
Does
/Users/stephen/dev/java/src/soylatte/control/build/bsd-amd64/jre/lib/i386/server
contain a libjvm.so?
-kto
Stephen Bannasch wrote:
> I'm getting this error:
>
> ld: library not found for -ljvm
> collect2: ld returned 1 exit status
>
> This is on MacOS X 10.5.5, (core 2 duo) using soylatte to build.
>
> Here's a bunch more detail including the build output echoed to the shell:
>
> http://pastie.org/336305
>
> Here's just the end of the build output where the error occurs.
>
> Rebuilding
> /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/corba/lib/i386/libioser12.so
> because of
> /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/corba/tmp/sun/com.sun.corba.se.internal.io/ioser12/obj/.files_compiled
> mapfile-vers
> /usr/bin/gcc -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused
> -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN
> -mstackrealign -Di586 -DARCH='"i586"' -D_ALLBSD_SOURCE
> -DRELEASE='"1.7.0-internal"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE
> -D_REENTRANT -I.
> -I/Users/stephen/dev/java/src/bsd-port/build/bsd-i586/corba/tmp/sun/com.sun.corba.se.internal.io/ioser12/CClassHeaders
> -I../../../../src/solaris/javavm/export
> -I../../../../src/share/javavm/export
> -I../../../../src/share/javavm/include
> -I../../../../src/solaris/javavm/include -ICClassHeaders
> -I/Users/stephen/dev/java/src/soylatte/control/build/bsd-amd64/include
> -I/Users/stephen/dev/java/src/soylatte/control/build/bsd-amd64/include/darwin
> -I../../../../src/share/native/common
> -I../../../../src/solaris/native/common
> -I../../../../src/share/native/com/sun/corba/se/internal/io
> -I../../../../src/solaris/native/com/sun/corba/se/internal/io
> -L/Users/stephen/dev/java/src/bsd-port/build/bsd-i586/corba/lib/i386
> -dynamiclib -o
> /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/corba/lib/i386/libioser12.so
> /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/corba/tmp/sun/com.sun.corba.se.internal.io/ioser12/obj/ioser.o
> -L/Users/stephen/dev/java/src/soylatte/control/build/bsd-amd64/jre/lib/i386/server
> -ljvm
> -L/Users/stephen/dev/java/src/soylatte/control/build/bsd-amd64/jre/lib/i386
> -ljava
> -L/Users/stephen/dev/java/src/soylatte/control/build/bsd-amd64/jre/lib/i386/server
> -ljvm
> ld: library not found for -ljvm
> collect2: ld returned 1 exit status
>
More information about the bsd-port-dev
mailing list