Results 1 to 2 of 2

Thread: prelink for minecraft ?

  1. #1
    Join Date
    Jun 2008
    Location
    Rural Australia
    Posts
    289

    Default prelink for minecraft ?

    Not recall seeing in 12.3, when installing minecraft into 13.1 for one of my users noticed this message.

    Code:
    asdf
    OpenJDK 64-Bit Server VM warning: You have loaded library /home/paulrjtp/.minecraft/bin/natives/liblwjgl.so which might have disabled stack guard. The VM will try to fix the stack guard now.
    It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.

    Tried this

    Code:
    paulrjtp@linux-30s5:~> execstack -c  /home/paulrjtp/.minecraft/bin/natives/liblwjgl.so
    was advised to install prelink [ path: /usr/bin/execstack, repository: zypp (download.opensuse.org-oss) ]




    Code:
    linux-wt4x:~ # zypper info prelink
    Loading repository data...
    Reading installed packages...
    
    
    Information for package prelink:
    --------------------------------
    Repository: openSUSE 13.1-1.10
    Name: prelink
    Version: 20130503-1.2
    Arch: x86_64
    Vendor: openSUSE
    Installed: No
    Status: not installed
    Installed Size: 1.4 MiB
    Summary: An ELF Prelinking Utility
    Description: 
    The prelink program is a utility that modifies shared libraries and
    executables in the ELF format so that far less relocations need to be
    resolved at run time.  This decreases program start-up time.
    Be aware that prelink can modify all libraries and executables on your
    system. Applications which monitor changes in files or RPM itself
    will no longer work.
    linux-wt4x:~ #

    Is prelink really needed, and does it work constantly ?

    How serious are the indicated issues arising from modification of libraries and executables, and concerns applications monitoring changes in files or RPM will no longer work, how detect what not working ?

  2. #2
    Join Date
    Jun 2008
    Location
    Rural Australia
    Posts
    289

    Default Re: prelink for minecraft ?

    Installed prelink then ran dry-run verbose to see what happens:

    Code:
    linux-wt4x:~ # prelink --all -nv
    prelink: /usr/lib64/samba/libinterfaces.so: Could not find one of the dependencies
    prelink: /usr/lib64/firefox/plugin-container: Could not find one of the dependencies
    Laying out 746 libraries in virtual address space 0000003000000000-0000004000000000
    Assigned virtual address space slots for 64-bit x86-64 ELF libraries:
    left out the long list of addresses...

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •