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
Follow MkFakeLib
Other Useful Business Software
$300 Free Credits to Build on Google Cloud
Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of MkFakeLib!