https://pgmodeler.io/support/installation says:
Resolving dependencies
After successfully compile the source code and install the binaries we need to copy some dependencies into the pgModeler's installation folder as well run some commands in order to make the binaries locate them properly.
GNU/Linux
1: cd $QT_ROOT/lib 2: cp libQt5DBus.so.5 libQt5PrintSupport.so.5 libQt5Widgets.so.5 libQt5Network.so.5 libQt5Gui.so.5 libQt5Core.so.5 libQt5XcbQpa.so.5 libQt5Svg.so.5 libicui18n.so.5* libicuuc.so.5* libicudata.so.5* $PGMODELER_ROOT/lib 3: cd $QT_ROOT/plugins 4: mkdir $PGMODELER_ROOT/lib/qtplugins 5: mkdir $PGMODELER_ROOT/lib/qtplugins/imageformats 6: mkdir $PGMODELER_ROOT/lib/qtplugins/printsupport 6: mkdir $PGMODELER_ROOT/lib/qtplugins/platforms 7: cp -r imageformats/libqgif.so imageformats/libqico.so imageformats/libqjpeg.so imageformats/libqsvg.so imageformats/libqtga.so imageformats/libqtiff.so imageformats/libqwbmp.so $PGMODELER_ROOT/lib/qtplugins/imageformats 8: cp -r printsupport/libcupsprintersupport.so $PGMODELER_ROOT/lib/qtplugins/printsupport 9: cp -r platforms/libqxcb.so $PGMODELER_ROOT/lib/qtplugins/platforms 10: echo -e "[Paths]\nPrefix=.\nPlugins=lib/qtplugins\nLibraries=lib" > $PGMODELER_ROOT/qt.conf 11: cp $PGMODELER_SOURCE/start-pgmodeler.sh $PGMODELER_SOURCE/pgmodeler.vars $PGMODELER_ROOT 12: chmod +x $PGMODELER_ROOT/start-pgmodeler.sh
After make
and make install
, can the dependencies be resolved dynamically (dynamic linking) when the program runs? What is the purpose of doing the above?
If I run sudo checkinstall
instead to create a deb file, do I still need to resolve dependencies like above?
Thanks!