Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Compiling QuickBMS on Ubuntu 14.04

Featured Replies

  • Author
  • Localization

Savage, posted Sun Mar 19, 2017 1:40 am (21615)


Created new version of the script, now builds two binaries, the normal and the quickbms_4gb_files, and of course i already compiled and uploaded, the files are 32bits and tested under fresh Linux Mint 32 bits and 64 bits too

2,23 Mb's
https://mega.nz/#!K8QkjZ6Y!7iCs--S0EomM ... 6AeKrTP_58

The new script

Code:
#!/bin/bash
#
# Quickbms auto compiler from scrath for Linux Mint 18.1 32 bits (v1.0.3)
#
# This version compiles the LZO libray into the main binary,
# no external libray lizblzo.so.2 is required to run, the binary compiled
# works with the 64 bits OS too
#
# Created by SAVAGE (March 18 2017)
#
# Added the parameter -DQUICKBMS64 in the CFLASH for the Makefile, thanks ALUIGI for the tip
#
# You can reachme at ZENHAX FORUM www.zenhax.com
#
# How to:
# sudo chmod x quickbms32bitscompiler.sh && ./quickbms32bitscompiler.sh
#

#Download & Compiling LZO
wget http://www.oberhumer.com/opensource/lzo/download/lzo-2.09.tar.gz
tar xvfa lzo-2.09.tar.gz && cd lzo-2.09
./configure --disable-shared --enable-static && make && cd ..

#Download quickbms and dependences
mkdir quickbmsrc && cd quickbmsrc && wget http://aluigi.altervista.org/papers/quickbms_src.zip && unzip quickbms_src.zip && cd src
sudo apt-get install -y zlib1g-dev libbz2-dev liblzo2-dev libssl-dev g

#Patching the Makefile and copying the LZO dependences already compiled into the source of quickbms
sed -i 's/-w/-w -L.\/liblzo2/g' Makefile
sed -i 's/-llzo2/liblzo2.a/g' Makefile
cp ../../lzo-2.09/src/*.o .
cp ../../lzo-2.09/src/.libs/liblzo2.a .

#Compiling the file quickbms.bin
make

#Rename the filename
mv quickbms quickbms.bin


#Compiling the file quickbms_4gb_files.bin and patching the MakeFile
sed -i 's/-m32/-m32 -DQUICKBMS64/g' Makefile
make

#Rename the filename
mv quickbms quickbms_4gb_files.bin

clear
echo
echo The compiled versions are at quickbmsrc/src
echo
echo The filenames are: quickbms.bin and quickbms_4gb_files.bin
  • Author
  • Localization

zoonix, posted Fri Sep 22, 2017 1:03 pm (26719)


Savage wrote:
Created new version of the script, now builds two binaries, the normal and the quickbms_4gb_files, and of course i already compiled and uploaded, the files are 32bits and tested under fresh Linux Mint 32 bits and 64 bits too

2,23 Mb's
https://mega.nz/#!K8QkjZ6Y!7iCs--S0EomM ... 6AeKrTP_58

The new script

Code:
#!/bin/bash
#
# Quickbms auto compiler from scrath for Linux Mint 18.1 32 bits (v1.0.3)
#
# This version compiles the LZO libray into the main binary,
# no external libray lizblzo.so.2 is required to run, the binary compiled
# works with the 64 bits OS too
#
# Created by SAVAGE (March 18 2017)
#
# Added the parameter -DQUICKBMS64 in the CFLASH for the Makefile, thanks ALUIGI for the tip
#
# You can reachme at ZENHAX FORUM www.zenhax.com
#
# How to:
# sudo chmod x quickbms32bitscompiler.sh && ./quickbms32bitscompiler.sh
#

#Download & Compiling LZO
wget http://www.oberhumer.com/opensource/lzo/download/lzo-2.09.tar.gz
tar xvfa lzo-2.09.tar.gz && cd lzo-2.09
./configure --disable-shared --enable-static && make && cd ..

#Download quickbms and dependences
mkdir quickbmsrc && cd quickbmsrc && wget http://aluigi.altervista.org/papers/quickbms_src.zip && unzip quickbms_src.zip && cd src
sudo apt-get install -y zlib1g-dev libbz2-dev liblzo2-dev libssl-dev g

#Patching the Makefile and copying the LZO dependences already compiled into the source of quickbms
sed -i 's/-w/-w -L.\/liblzo2/g' Makefile
sed -i 's/-llzo2/liblzo2.a/g' Makefile
cp ../../lzo-2.09/src/*.o .
cp ../../lzo-2.09/src/.libs/liblzo2.a .

#Compiling the file quickbms.bin
make

#Rename the filename
mv quickbms quickbms.bin


#Compiling the file quickbms_4gb_files.bin and patching the MakeFile
sed -i 's/-m32/-m32 -DQUICKBMS64/g' Makefile
make

#Rename the filename
mv quickbms quickbms_4gb_files.bin

clear
echo
echo The compiled versions are at quickbmsrc/src
echo
echo The filenames are: quickbms.bin and quickbms_4gb_files.bin



############################
Hi,
I have followed the script and error appears in the end.

Code:
...
-static-libgcc -static-libstdc -lstdc -ldl -lz -lbz2 -lm -lpthread liblzo2.a -lssl -lcrypto -DDISABLE_UCL -DDISABLE_MCRYPT -DDISABLE_TOMCRYPT
/usr/bin/ld: cannot find -lz
/usr/bin/ld: cannot find -lbz2
collect2: error: ld returned 1 exit status
Makefile:38: recipe for target 'all' failed
make: *** [all] Error 1

uname -a
Linux xxxxx 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2 deb9u5 (2017-09-19) x86_64 GNU/Linux
---
I've tried to download the what you compiled but link is dead.
Can you make upload again?

Thank you
  • Author
  • Localization

aluigi, posted Fri Sep 22, 2017 1:52 pm (26722)


Try installing the missing 32bit zlib and bzip2 library with your package manager using: zlib1g-dev lib32z1-dev and libbz2-dev

P.S.: in case of problems there are the 0.8.1 executables available on http://aluigi.org/papers/quickbms_linux.zip
  • Author
  • Localization

zoonix, posted Sat Sep 23, 2017 8:32 am (26737)


Thank you answering.
I will try both for my satisfaction :)
In case of compile error I post again.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.