problem getting started on linux
Posted: Mon Jul 19, 2021 3:49 pm
I am using LinuxMint V.20.2 This is the latest stable version available.
I installed the purebasic folder in my home folder as recommended. I set up the HOME environment and PATH as suggested. I clicked on purebasic in the compiler folder. The ide appeared as expected. I compiled my program and keep getting the following error:
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
GCC and G++ are properly installed. The ld and lz commands are in the /usr/bin/ folder.
When I execute the following sudo command per the INSTALL file I get the following errors:
sudo apt-get install gcc g++ libc6-dev libsdl1.2-dev libgtk-3-dev unixodbc-dev libgnome2-dev libxine2-dev libwebkitgtk-3.0-dev libxxf86vm-dev libwebkitgtk-dev libwebkitgtk-3.0-dev
[sudo] password for xxxx:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgnome2-dev
E: Unable to locate package libwebkitgtk-3.0-dev
E: Couldn't find any package by glob 'libwebkitgtk-3.0-dev'
E: Couldn't find any package by regex 'libwebkitgtk-3.0-dev'
E: Unable to locate package libwebkitgtk-dev
E: Unable to locate package libwebkitgtk-3.0-dev
E: Couldn't find any package by glob 'libwebkitgtk-3.0-dev'
E: Couldn't find any package by regex 'libwebkitgtk-3.0-dev'
I installed the purebasic folder in my home folder as recommended. I set up the HOME environment and PATH as suggested. I clicked on purebasic in the compiler folder. The ide appeared as expected. I compiled my program and keep getting the following error:
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
GCC and G++ are properly installed. The ld and lz commands are in the /usr/bin/ folder.
When I execute the following sudo command per the INSTALL file I get the following errors:
sudo apt-get install gcc g++ libc6-dev libsdl1.2-dev libgtk-3-dev unixodbc-dev libgnome2-dev libxine2-dev libwebkitgtk-3.0-dev libxxf86vm-dev libwebkitgtk-dev libwebkitgtk-3.0-dev
[sudo] password for xxxx:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgnome2-dev
E: Unable to locate package libwebkitgtk-3.0-dev
E: Couldn't find any package by glob 'libwebkitgtk-3.0-dev'
E: Couldn't find any package by regex 'libwebkitgtk-3.0-dev'
E: Unable to locate package libwebkitgtk-dev
E: Unable to locate package libwebkitgtk-3.0-dev
E: Couldn't find any package by glob 'libwebkitgtk-3.0-dev'
E: Couldn't find any package by regex 'libwebkitgtk-3.0-dev'