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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

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.
Create free account
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