[Slackbuilds-users] question about libjvm.so symlinks
Sebastien BALLET
slacker6896 at gmail.com
Sun Jun 4 16:03:46 UTC 2017
Hello,
I know why this symlink is in place. However, there's no documentation
which
specifies this symlink is a *requirement*. There's no serious softwares
which requires
it, and there's no other linux distribution which has a jdk with that
symlink.
Therefore, there's no reason to have this symlink installed by default. It
would be better
and cleaner to add a note about the possible need for this link, or, to add
the line below
in openjdk.sh / jdk.sh (and to update openjdk.csh / jdk.csh the same way) :
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$JAVA_HOME/jre/lib/$LIB_
ARCH/server/libjvm.so"
--
SeB
2017-06-04 8:16 GMT+02:00 Harald Achitz <harald.achitz at gmail.com>:
> for that other programs can find libjvm.so in the library search path
> ./$PRGNAM/jre/lib/${LIB_ARCH}/server/
> is just some path only the program self knows
>
> $PKG/usr/lib${LIBDIRSUFFIX}
> is a path all other programs also know
>
> /Harald
>
>
>
>
> 2017-06-02 18:41 GMT+02:00 Sebastien BALLET <slacker6896 at gmail.com>:
>
>> Hello,
>>
>> I would like to know if there is any (documented) reasons why the
>> slackbuilds for (open)jdk create the symlinks below.
>>
>> jdk.SlackBuild:
>> cd $PKG/usr/lib${LIBDIRSUFFIX}
>> ln -sf ./java/jre/lib/${LIB_ARCH}/server/libjvm.so .
>>
>> openjdk.SlackBuild:
>> cd $PKG/usr/lib${LIBDIRSUFFIX}
>> ln -sf ./$PRGNAM/jre/lib/${LIB_ARCH}/server/libjvm.so .
>>
>> I've search the web and didn't find anything conclusive about that. In
>> fact, it seems that symlink is not needed and is more a hack used to fix
>> some specific issues.
>>
>>
>> Thanks.
>>
>> --
>> SeB
>>
>> _______________________________________________
>> SlackBuilds-users mailing list
>> SlackBuilds-users at slackbuilds.org
>> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>> FAQ - https://slackbuilds.org/faq/
>>
>>
>>
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170604/71f3490d/attachment.html>
More information about the SlackBuilds-users
mailing list