Re: Help: symlink problems building openjdk-6
On 2012-08-03 14:36, Thorsten Glaser wrote:
> Hi,
>
> after doko recommended it to me *way* back then, but only now I’ve
> got all of its Build-Depends installable, I’m currently trying to
> build src:openjdk-6 (with all references to gcj-4.7 changed back
> to gcj-4.6, and, for consistency, the same with gcc/g++ – but this
> doesn’t affect the problem) on m68k. Can anyone please help?
>
> I’m running into this issue some hours into the process:
>
> Linking vm...
> /usr/bin/ld: cannot open output file libjvm.so: Too many levels of symbolic links
>
> Fuller log attached (debian/rules build-arch 2>&1 | tee ../bld.log).
>
> Thanks in advance,
> //mirabilos
I am not how or why, but I think your issue is:
[ -f libjvm.so ] || { ln -s libjvm.so libjvm.so;
^^^^^^^^^^^^^^^^^^^
ln -s libjvm.so.1 libjvm.so.1; }; \
^^^^^^^^^^^^^^^^^^^^^^^
(Spacing slightly modified). Those two ln -s lines make self-recursive
unresolvable symlinks.
~Niels
Reply to: