These Perl scripts can help you create a generic Linux application that works in any build environment without recompiling.
This create fake library without version info from real library.

Usage example:

mkdir /usr/local/fakelibs
./mkfakelib.pl /usr/lib/i386-linux-gnu/libc.so /usr/local/fakelibs/
./mkfakelib.pl /usr/lib/i386-linux-gnu/libpthread.so /usr/local/fakelibs/

mkdir /usr/local/fakelibs64
./mkfakelib64.pl /lib/x86_64-linux-gnu/libc.so.6 /usr/local/fakelibs64/ -c

gcc -m32 app.o -o app -dynamic-linker -L/usr/local/fakelibs/ -lpthread -L/usr/local/fakelibs -lc -lc_nonshared
gcc -m64 app64.o -o app64 -dynamic-linker -L/usr/local/fakelibs64 -lc -lc_nonshared

Features

  • Create fake library without version info from real library

Project Activity

See All Activity >

Follow MkFakeLib

MkFakeLib Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MkFakeLib!

Additional Project Details

Registered

2020-09-02