...

Guides for PDF library

How to use Flyingbee PDF Conversion SDK.


Want to Try?

Try Flyingbee PDF Converter Online for Free, play with PDF to MS Office (.docx, .xlsx, .pptx) conversion on Web.

Launch Web Demo

Powered by Flyingbee PDF Conversion SDK

1.1 Prerequisites for Linux


james wei 2024-09-29 15:22:44


Here's a detailed step-by-step guide for deploying and running the Flyingbee PDF Converter SDK/FPPDFConverter.out on a Linux system, the SDK supports CPU architectures such as AMD64 (x86_64) and ARM64(aarch64) for laptops and server devices:

1. Check System Requirements

First, ensure that your Linux system meets the following basic requirements(For example, the minimum Ubuntu 22.04, CentOS 6.8 and Debian-12.6.0 are supported):

  • glibc version: FPPDFConverter.out requires ensuring that the GNU C Library (glibc) kernel version on the system is at least GLIBC-2.12, GLIBCXX_3.4.15, CXXABI_1.3.5。 You can check the glibc version by running the following command:

    $ getconf GNU_LIBC_VERSION
    glibc 2.12

    If the version is lower than GLIBC-2.12, you need to upgrade the versions of GNU Standard C Library (libc), Standard C++Library (libstdc++), and C++ABI Library (libcxxabi) by upgrading gcc.

  • Memory: Ensure that the system has at least 1GB of memory. You can check the memory size by running the following command:

    $ free -m
                 total       used       free     shared    buffers     cached
    Mem:          1989        599       1390          3         29        214
    -/+ buffers/cache:        355       1634
    Swap:         1983          0       1983

    This will display the memory usage in MB.

  • gcc Version (Optional): The Flyingbee PDF Converter SDK is compiled with GCC 4.8.2 or higher. Therefore, you need to ensure that the GCC version on your system is at least 4.8.2. You can check the GCC version by running the following command:

    $ gcc --version
    gcc (GCC) 4.8.2
    Copyright (C) 2013 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    If the version is lower than 4.8.2, you need to upgrade GCC.

    Knowledge 1: The Flyingbee PDF Converter SDK library/FPDFConverter.out file is compiled under the GCC 4.8.2 compiler (requires C++11); So the highest required kernel version is GLIBC-2.12; GLIBCXX_3.4.15; CXXABI_1.3.5; On May 3, 2010, GLIBC 2.12 was released.

    Knowledge 2: The competitor Solid PDF Document is compiled under the GCC 4.8.3 compiler; So the highest required kernel version is GLIBC-2.17; GLIBCXX_3.4.19; CXXABI_1.3.5; On December 25, 2012, GLIBC 2.17 was released.

2. Check Library Dependencies (Optional)

To ensure that the program can run properly, you need to check whether all the library files it depends on are installed correctly. You can use the ldd command to check library dependencies(CentOS):

$ ldd FPPDFConverter.out

This will output information similar to the following (example):

  linux-vdso.so.1 =>  (0x00007fff6dbbf000)
  libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003e5e000000)
  libm.so.6 => /lib64/libm.so.6 (0x0000003e5ec00000)
  libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003e69400000)
  libc.so.6 => /lib64/libc.so.6 (0x0000003e5dc00000)
  /lib64/ld-linux-x86-64.so.2 (0x00007f953ef48000)

This will list all the library files that the program depends on. If a library file is missing, you need to install it.

3. Check GLIBC and GLIBCXX Versions (Optional)

Since the Flyingbee PDF Converter SDK is compiled with specific versions of GLIBC and GLIBCXX, you need to ensure that your system has the correct versions of these libraries installed. You can check the versions using the following commands(CentOS):

$ ldd --version
ldd (GNU libc) 2.12
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

$ strings /lib64/libc.so.6 | grep GLIBC
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_PRIVATE

$ strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH

$ strings /usr/lib64/libstdc++.so.6 | grep CXXABI
CXXABI_1.3
CXXABI_1.3.1
CXXABI_1.3.2
CXXABI_1.3.3
CXXABI_1.3.4
CXXABI_1.3.5
CXXABI_1.3.6
CXXABI_1.3.7
CXXABI_TM_1

This will display the versions of GLIBC and GLIBCXX installed on your system. If the versions are not compatible, you may need to upgrade your libraries or recompile the SDK.

4. Update the System (Optional)

If your system version is low and does not support the library versions required by the Flyingbee PDF Converter SDK, you may need to update your system. For CentOS systems, you can use the following command to update the system:

$ sudo yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Update Process
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
base                                                     | 3.7 kB     00:00     
extras                                                   | 3.4 kB     00:00     
updates                                                  | 3.4 kB     00:00     
No Packages marked for Update

This will update your system and all installed packages.

By following these steps, you should be able to successfully deploy and run the Flyingbee PDF Converter SDK. If you encounter any issues, carefully check the error messages and make adjustments or install missing dependencies as needed.

We sincerely thank you for choosing Flyingbee PDF Converter! We hope our product brings convenience to your work and studies.



No More...
1.2 check-version.sh

Apple, the Apple logos, MacBook, iPad, iPhone, Apple Watch, and Apple Vision Pro are trademarks of Apple Inc., registered in the U.S. and other countries. App Store and Mac App Store is a service mark of Apple Inc., registered in the U.S. and other countries.
© 2014 - 2025 Flyingbee Software, All Right Reserved.
United StatesUnited States

We uses cookies to give you the best experience, analyze traffic, and personalize content. By continuing using our Site, you agree to our use of cookies. The information collected might relate to you, your preferences, or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Read our Privacy Policy or manage your cookie preferences. If you would like to submit an opt-out request with respect to your non-cookie personal information (e.g., your email address), find our support email address to opt-out of sale/sharing/targeting with respect to non-cookie personal information.