Image for Linux on Ubuntu cli server

User discussion and information resource forum for Image products.
Captain Dunsel
Posts: 7
Joined: Sat Dec 23, 2023 2:54 pm

Image for Linux on Ubuntu cli server

Post by Captain Dunsel »

I have done a couple of installs... all with errors.
My latest install was to /var/ifl folder.
Ran the ./setup script and got a couple of shared lib errors..
Installed the shared libraries.. https://www.terabyteunlimited.com/kb/kb ... /#ubuntu19
apt-get install lib32z1 libncursesw5:i386 libstdc++6:i386
After the setup script runs ..
When I try to run sudo /var/ifl/imagel
I get more shared library errors.. the latest is.
error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
Any advice on where to go from here ?
Last edited by Captain Dunsel on Sat Dec 23, 2023 6:16 pm, edited 1 time in total.
TeraByte Support
Posts: 3627
Joined: Thu May 05, 2011 10:37 pm

Re: Image for Linux on Ubuntu cli server

Post by TeraByte Support »

you need to install all the libraries listed in that article - you're using the GUI version so you also need those GUI libraries.
Captain Dunsel
Posts: 7
Joined: Sat Dec 23, 2023 2:54 pm

Re: Image for Linux on Ubuntu cli server

Post by Captain Dunsel »

?? Is there a cli version ..

I installed everything listed in the above links.... lib32z1 libncrusesw5:i386 libstdc++6:i386 ...
Did I miss something?
TeraByte Support
Posts: 3627
Joined: Thu May 05, 2011 10:37 pm

Re: Image for Linux on Ubuntu cli server

Post by TeraByte Support »

There is a CUI and GUI version of IFL. If you have the CUI version, you need the items listed on the CUI & GUI section, for the GUI you need both that section plus the one listed GUI. The fact that it wants libpng12 says you're using the GUI version.
Captain Dunsel
Posts: 7
Joined: Sat Dec 23, 2023 2:54 pm

Re: Image for Linux on Ubuntu cli server

Post by Captain Dunsel »

Thanks... let me take a look for that....
Captain Dunsel
Posts: 7
Joined: Sat Dec 23, 2023 2:54 pm

Re: Image for Linux on Ubuntu cli server

Post by Captain Dunsel »

Still getting error while loading shared libraries: libpng12.so.0

I have png16:i386 libs installed...
TeraByte Support
Posts: 3627
Joined: Thu May 05, 2011 10:37 pm

Re: Image for Linux on Ubuntu cli server

Post by TeraByte Support »

for the GUI you need the 12 version - that link has instructions on where to get it and how to install it (it's below the list). GUI#1, #2, #3 .. items..
Captain Dunsel
Posts: 7
Joined: Sat Dec 23, 2023 2:54 pm

Re: Image for Linux on Ubuntu cli server

Post by Captain Dunsel »

I don't see any 12 version listed here?
Except for the gui version...
I have deleted the gui version files from my /var/ifl folder and copied and ran setup for the CUI version..
Still getting the missing lib error....


https://www.terabyteunlimited.com/kb/kb ... ributions/
Ubuntu 19.04, 19.10, 20.04, 20.10, 22.04; Linux Mint 20.1*, 21

Additional packages required (GUI & CUI): lib32z1, libstdc++6:i386, libncursesw5:i386

GUI: libpng12-0:i386, libjpeg62:i386, libxext6:i386, libxft2:i386, libxinerama1:i386, libxcursor1:i386

Additional disk space used: Up to 50 MiB

*Linux Mint 20.1 Note: If 20.1 was an upgrade (not a clean install) and usrmerge was not run, use the Linux Mint 20.0 instructions.

Command lines:

dpkg --add-architecture i386

apt-get update

Command line GUI #1: apt-get install lib32z1 libjpeg62:i386 libxext6:i386 libxft2:i386 libxinerama1:i386 libstdc++6:i386 libncursesw5:i386 libxcursor1:i386

Command line GUI #2: wget http://mirrors.kernel.org/ubuntu/pool/m ... 1_i386.deb
(This command will download the libpng12 package and save it to the current folder.)

Command line GUI #3: dpkg -x libpng12-0_1.2.54-1ubuntu1_i386.deb libpng12
(This command will extract the package to the libpng12 folder. Must be run from the folder containing the package file.)

Command line GUI #4: cp -P libpng12/lib/i386-linux-gnu/* /usr/lib/i386-linux-gnu/
(This command will copy the files into the appropriate /usr/lib folder. Must be run from the folder containing the package file.)

Command line CUI: apt-get install lib32z1 libncursesw5:i386 libstdc++6:i386
TeraByte Support
Posts: 3627
Joined: Thu May 05, 2011 10:37 pm

Re: Image for Linux on Ubuntu cli server

Post by TeraByte Support »

If you're using the CUI do:

>apt-get install lib32z1 libncursesw5:i386 libstdc++6:i386

That is all you would need.

If it wants the libpng files and such it's the gui version, follow all of these steps:

>apt-get install lib32z1 libjpeg62:i386 libxext6:i386 libxft2:i386 libxinerama1:i386 libstdc++6:i386 libncursesw5:i386 libxcursor1:i386

> wget http://mirrors.kernel.org/ubuntu/pool/m ... 1_i386.deb

(note that sometimes https is now needed which may require --no-check-certificate - or you can just download the file yourself - it's just a command line way to download a file).

after you get the package you have to install it:
>dpkg -x libpng12-0_1.2.54-1ubuntu1_i386.deb libpng12

You'd run that from where you place the .deb file

Then copy it to its final location:

>cp -P libpng12/lib/i386-linux-gnu/* /usr/lib/i386-linux-gnu/
Captain Dunsel
Posts: 7
Joined: Sat Dec 23, 2023 2:54 pm

Re: Image for Linux on Ubuntu cli server

Post by Captain Dunsel »

Is deleting the ifl folder all I have to do to start over from scratch?

Where should I create the ifl folder ? /usr/local ?
Post Reply