On Tue, 2023-02-14 at 23:22 +0100, Viktor Cada wrote: > I am new to Debian and when installing apache2 i got these error > codes: > > collect2: error: ld returned 1 exit status
I suppose when you say "installing" apache2 you really mean "building" apache2. This error means the link command that make invoked failed. But, the reason for the failure are messages that appear BEFORE this line, which you didn't include in your email. The errors you show us are just make telling you "the command you tried to run (in this case the link command) didn't work". If you want to know WHY the command didn't work, look at the messages before this and see what they say. Note that this list is for issues with make and makefiles: your issue is going to be some kind of error with how apache2 is linked. So you should ask about this on the apache2 mailing lists, or else on Debian mailing lists. Good luck!