Jump to content

Gamemaster

Member
  • Posts

    1
  • Joined

  • Last visited

  • Feedback

    0%

About Gamemaster

Informations

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Gamemaster's Achievements

Newbie

Newbie (1/16)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

1

Reputation

  1. Greetings Hereby im sharing with you a script that i've made today for exporting all of the needed dependencies of a binary. This is useful so you don't need to copy line by line each lib file. Please ensure that you change the binary's path. In this case 'db/db_r' and 'game/game_r' # Destination path: /tmp/server_lib32 rm -rf /tmp/server_lib32 mkdir -p /tmp/server_lib32 ldd db/db_r | tail -n+2 | awk '{sub(/.*=> /, ""); print}' | sed 's/([^)]*)//g' | sed -e 's/^[ \t]*//' | xargs -I {} cp {} /tmp/server_lib32/. ldd game/game_r | tail -n+2 | awk '{sub(/.*=> /, ""); print}' | sed 's/([^)]*)//g' | sed -e 's/^[ \t]*//' | xargs -I {} cp {} /tmp/server_lib32/. Best regards, Gamemaster
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.