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
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of MkFakeLib!