printreptopdf command line tool on Linux
printreptopdf (and repwebexe) run on any x86_64 distribution from Red Hat Enterprise Linux 8
(Rocky, Alma, Oracle Linux 8), Ubuntu 20.04 and Debian 10 onwards: they are linked against
glibc 2.28 and only ask the system for libc, libm, libz and
libgcc_s. Tested on Rocky Linux 8 and Ubuntu 26.04.
The report engine loads these libraries at run time, a server without a desktop may lack them: FreeType, HarfBuzz, fontconfig, some fonts and an ICU library between versions 60 and 90.
# Red Hat 8 / 9, Rocky, Alma sudo dnf install freetype harfbuzz fontconfig dejavu-sans-fonts libicu # Ubuntu / Debian (the ICU package name carries its version: libicu70, libicu74...) sudo apt install libfreetype6 libharfbuzz0b libfontconfig1 fonts-dejavu-core libicu74
Without them printreptopdf stops with a message such as
Error opening:libfreetype.so.6 or No harfbuzz library found.
- Install the libraries listed above. With HarfBuzz and ICU Report Manager handles complex shaping fonts (set bidi property in text elements to enable shaping)
- Setup the client library Install the libraries sudo apt-get install libmysqlclient21 Do a symbolic link allow the driver find the library sudo ln -s /usr/lib/x86_64-linux-gnu/libmysqlclient.so.21 /usr/lib/x86_64-linux-gnu/libmysqlclient.so
- Setup a .dbxconnections file at the HOME directory. [TEST] DriverName=FireDac DriverId=MYSQL Database=test User_name=root Password=xxx DataSource= CharacterSet= Port=3306 Protocol= SqlDialect=3 RoleName= Server=192.168.1.XX IBAdvanced= DatabaseFile= OSAuthent=
- Execute the command: ./printreptopdf yourreport.rep -pdf yourdestination.pdf