problem getting started on linux

Linux specific forum
gedumer
User
User
Posts: 48
Joined: Wed Jun 03, 2009 9:04 pm

problem getting started on linux

Post by gedumer »

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'
AZJIO
Addict
Addict
Posts: 1312
Joined: Sun May 14, 2017 1:48 am

Re: problem getting started on linux

Post by AZJIO »

link1 - here it is stated for what purpose each library.
link2
gedumer
User
User
Posts: 48
Joined: Wed Jun 03, 2009 9:04 pm

Re: problem getting started on linux

Post by gedumer »

I installed the purebasic apps and a few others and it solved the ld and lz errors. It still can't find the libwebkit stuff. Maybe the names have changed slightly. At any rate, sudo didn't succeed for those libs. Thanks for the other stuff... it got me over the hump. It would be great if an install package could be created for the major linux distros... like .deb for debian, ubuntu, linuxmint and the other derivatives of debian.
User avatar
useful
Enthusiast
Enthusiast
Posts: 367
Joined: Fri Jul 19, 2013 7:36 am

Re: problem getting started on linux

Post by useful »

As long as it is not done what was discussed in the topic ( viewtopic.php?p=561952#p561952 ) new topics with questions will appear endlessly
Dawn will come inevitably.
Post Reply