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
Full-stack observability with actually useful AI | Grafana Cloud
Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of MkFakeLib!